Testimonial Rotator
'Testimonials' - post_type / page name / slug name (3 posts)

  1. rubbermike
    Posted 2 years ago #

    Hi - would be appreciative of your input.

    If I do the following..

    1. Set up some testimonials

    2. Put all the above testimonials in the same rotator.

    3. The shortcode for this rotator is hard-coded into a WP page template file:
    <?php echo do_shortcode('[testimonial_rotator id=180 format=list]'); ?>

    4. A page titled 'Testimonials' (also with the slug 'testimonials') is set up in WP, using the above WP page template.

    5. I click the ' Testimonials ' WP page link - created on the front end.

    At this point my post archive appears listing the testimonials, not utilising the page template as required.

    I've not looked at this in depth, but appears to be a conflict with the slug/custom post type both being 'testimonials' and/or the 'testimonials' rewrite that occurs on the plugin.

    If I change the slug name on the 'Testimonials' WP page, it works as I want, but I really would like to keep the slug the same as the page title.

    Any quick ideas or input would be appreciated.

    Many thanks for an otherwise great plugin.



  2. rubbermike
    Posted 2 years ago #

    Ill rewrite your custom post type :(

  3. Hal Gatewood
    Plugin Author

    Posted 2 years ago #

    If you're familiar with filters, I have a filter setup for the testimonial rotator slug:


    If you wanted to update it you could add this to your functions.php in your theme folder and then go into Settings -> Permalinks and resave them.

    function testimonial_rotator_new_slug( ) {
        return 'praise';
    add_filter( 'testimonial_rotator_testimonial_slug', 'testimonial_rotator_new_slug' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonial Rotator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.