Plugin Directory

Changeset 648036


Ignore:
Timestamp:
01/04/2013 10:03:57 PM (13 years ago)
Author:
ansimation
Message:

Added filter for shortcode incase of conflicts.

Location:
tb-testimonials/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tb-testimonials/trunk/inc/tpl/documentation.php

    r568734 r648036  
    135135                    <dt>tbt_template_functions</dt>
    136136                    <dd><strong>Hook</strong> for adding new tags. See Examples Tab for an example.</dd>
     137
     138                    <dt>tbtestimonials_shortcode</dt>
     139                    <dd>Filter for changing the shortcode.</dd>
    137140                </dl>
    138141            </div>
  • tb-testimonials/trunk/readme.txt

    r647501 r648036  
    4343
    4444== Changelog ==
     45
     46= 1.6.4 =
     47* Added filter to change the shortcode in the event of a conflict.
    4548
    4649= 1.6.3 =
  • tb-testimonials/trunk/tb-testimonials.php

    r647501 r648036  
    44*   Plugin URI: http://travisballard.com/wordpress/tb-testimonials/
    55*   Description: Testimonials managed by Custom Post Types. Supports a testimonial.php template file for single testimonial pages. Testimonial Shortcode to insert testimonials in any post. Scrolling Sidebar Widget
    6 *   Version: 1.6.3
     6*   Version: 1.6.4
    77*   Author: Travis Ballard
    88*   Author URI: http://www.travisballard.com
     
    9393        # shortcodes
    9494        add_action('wp_ajax_tbtestimonials-shortcode', array( &$this, 'shortcode_window' ) );
    95         add_shortcode( 'testimonial', array( &$this, 'shortcode' ) );
    96         add_shortcode( 'testimonial_form', array( &$this, 'testimonial_form' ) );
     95        add_shortcode( add_filter( 'tbtestimonials_shortcode', 'testimonial' ), array( &$this, 'shortcode' ) );
    9796
    9897        # image sizes
Note: See TracChangeset for help on using the changeset viewer.