• 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.

    Mike

    http://wordpress.org/plugins/testimonial-rotator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rubbermike

    (@rubbermike)

    Ill rewrite your custom post type 🙁

    Plugin Author Hal Gatewood

    (@halgatewood)

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

    testimonial_rotator_testimonial_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' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘'Testimonials' – post_type / page name / slug name’ is closed to new replies.