Plugin Directory

Changeset 770836


Ignore:
Timestamp:
09/12/2013 08:54:39 AM (12 years ago)
Author:
Mike_Cowobo
Message:

Updating version 0.5.5

Location:
wp-tiles
Files:
1 added
6 edited
17 copied

Legend:

Unmodified
Added
Removed
  • wp-tiles/tags/0.5.5/readme.txt

    r750702 r770836  
    66Requires at least: 3.4.2
    77Tested up to: 3.5.2
    8 Stable tag: 0.5.4
     8Stable tag: 0.5.5
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    178178}`
    179179
     180= How can I use custom taxonomy queries in the shortcode? =
     181
     182Custom tax queries are supported in the shortcode (but they aren't pretty) using curly braces to create arrays. Use it like this:
     183
     184`
     185[wp-tiles posts_query="tax_query{0}{taxonomy}=my_custom_tax&tax_query{0}{field}=slug&tax_query{0}{terms}=taxonomy-cat-1"]
     186`
     187
    180188== Screenshots ==
    181189
     
    188196
    189197== Changelog ==
     198
     199= 0.5.5 =
     200
     201* Fix warning static declaration of WP_Tiles_Settings_Config::dropdowns. (Thanks @chrishas35)
     202* Allow for more complicated queries in the shortcode, using curly braces for arrays.
    190203
    191204= 0.5.4 =
  • wp-tiles/tags/0.5.5/roadmap.txt

    r745740 r770836  
    77* Custom content on the tiles
    88* Hide current post in tiles using shortcode
     9
     10* Better filters on byline
     11* Better support for custom post type taxonomies
  • wp-tiles/tags/0.5.5/wp-tiles-admin.php

    r750702 r770836  
    4141    }
    4242
    43     protected function dropdowns() {
     43    protected static function dropdowns() {
    4444        $cats = get_categories();
    4545        $cats_a = array( "" => "All");
  • wp-tiles/tags/0.5.5/wp-tiles-defaults.php

    r730881 r770836  
    2525                                    'posts_per_page'
    2626                                                    => -1,
    27                                     'page'          => 1
     27                                    'page'          => 1,
     28                                    'tax_query'     => array()
    2829                ),
    2930                'colors'        => array (
  • wp-tiles/tags/0.5.5/wp-tiles.class.php

    r745740 r770836  
    9797                    } elseif ( ! is_array( $att ) && strpos( $att, '=' ) ) {
    9898                        $atts_parsed = array( );
    99                         $att = str_replace( '{}', '[]', $att );
    100                         wp_parse_str( html_entity_decode( $att ), $atts_parsed );
     99                        $att = str_replace( array( '{', '}' ), array( '[', ']' ), html_entity_decode( $att ) );
     100                        wp_parse_str( $att, $atts_parsed );
    101101                        if ( !empty( $atts_parsed ) )
    102102                            $att         = $atts_parsed;
     
    298298
    299299                $color  = $colors[array_rand( $colors )];
     300                /**
     301                 * Byline opacity only when using random colors
     302                 */
    300303                $data[] = array(
    301304                    "id"          => $post->ID,
     
    326329
    327330        private function HexToRGB( $hex ) {
    328             $hex   = ereg_replace( "#", "", $hex );
     331            $hex   = str_replace( "#", "", $hex );
    329332            $color = array( );
    330333
  • wp-tiles/tags/0.5.5/wp-tiles.php

    r750702 r770836  
    1818 * @since 0.1
    1919 */
    20 define( 'WPTILES_VERSION', '0.5.4' );
     20define( 'WPTILES_VERSION', '0.5.5' );
    2121
    2222/**
  • wp-tiles/trunk/readme.txt

    r750702 r770836  
    66Requires at least: 3.4.2
    77Tested up to: 3.5.2
    8 Stable tag: 0.5.4
     8Stable tag: 0.5.5
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    178178}`
    179179
     180= How can I use custom taxonomy queries in the shortcode? =
     181
     182Custom tax queries are supported in the shortcode (but they aren't pretty) using curly braces to create arrays. Use it like this:
     183
     184`
     185[wp-tiles posts_query="tax_query{0}{taxonomy}=my_custom_tax&tax_query{0}{field}=slug&tax_query{0}{terms}=taxonomy-cat-1"]
     186`
     187
    180188== Screenshots ==
    181189
     
    188196
    189197== Changelog ==
     198
     199= 0.5.5 =
     200
     201* Fix warning static declaration of WP_Tiles_Settings_Config::dropdowns. (Thanks @chrishas35)
     202* Allow for more complicated queries in the shortcode, using curly braces for arrays.
    190203
    191204= 0.5.4 =
  • wp-tiles/trunk/roadmap.txt

    r745740 r770836  
    77* Custom content on the tiles
    88* Hide current post in tiles using shortcode
     9
     10* Better filters on byline
     11* Better support for custom post type taxonomies
  • wp-tiles/trunk/wp-tiles-admin.php

    r750702 r770836  
    4141    }
    4242
    43     protected function dropdowns() {
     43    protected static function dropdowns() {
    4444        $cats = get_categories();
    4545        $cats_a = array( "" => "All");
  • wp-tiles/trunk/wp-tiles-defaults.php

    r730881 r770836  
    2525                                    'posts_per_page'
    2626                                                    => -1,
    27                                     'page'          => 1
     27                                    'page'          => 1,
     28                                    'tax_query'     => array()
    2829                ),
    2930                'colors'        => array (
  • wp-tiles/trunk/wp-tiles.class.php

    r745740 r770836  
    9797                    } elseif ( ! is_array( $att ) && strpos( $att, '=' ) ) {
    9898                        $atts_parsed = array( );
    99                         $att = str_replace( '{}', '[]', $att );
    100                         wp_parse_str( html_entity_decode( $att ), $atts_parsed );
     99                        $att = str_replace( array( '{', '}' ), array( '[', ']' ), html_entity_decode( $att ) );
     100                        wp_parse_str( $att, $atts_parsed );
    101101                        if ( !empty( $atts_parsed ) )
    102102                            $att         = $atts_parsed;
     
    298298
    299299                $color  = $colors[array_rand( $colors )];
     300                /**
     301                 * Byline opacity only when using random colors
     302                 */
    300303                $data[] = array(
    301304                    "id"          => $post->ID,
     
    326329
    327330        private function HexToRGB( $hex ) {
    328             $hex   = ereg_replace( "#", "", $hex );
     331            $hex   = str_replace( "#", "", $hex );
    329332            $color = array( );
    330333
  • wp-tiles/trunk/wp-tiles.php

    r750702 r770836  
    1818 * @since 0.1
    1919 */
    20 define( 'WPTILES_VERSION', '0.5.4' );
     20define( 'WPTILES_VERSION', '0.5.5' );
    2121
    2222/**
Note: See TracChangeset for help on using the changeset viewer.