-
Hello,
I have a testimonial i’m using in a testimonial slideshow. i would like to hide this testimonial from the testimonial page. is this possible?
thank you
Hello triumph169,
there is no such function in the theme. By the way, you could create different categories for testimonials and add to the menu only one of these.When you add a testimonial slideshow, you can filter for category and this should work for you.
Keep me posted on this.
Andrealet me ask this another way. is it possible to only show specific categories or categories by default on the testimonial page.
Hello,
currently you can’t achieve it what you said, you can only link to a single category page.Have a good day!
AndreaJust go in Appearance -> Menus, then click on the top right corner on “Screen Options” and enable “Testimonial Category”.
Now you can choose from the left sidebar the preferred testimonial category.
Have a nice day,
Andrea- This reply was modified 6 years, 2 months ago by themes2go.
thank you!
a couple questions about the testimonial category page generated:
1. its only showing 10 testimonials – where the normal page shows 12. there’s only 1 on the last row that looks strange
2. is it possible to change the header featured image on a testimonial category page?
Thanks.
We will update this in the next theme update.
If you are in rush you can add this in the functions.php after line 568:|| $query->is_tax('testimonial-category') || $query->is_post_type_archive('testimonial')
After doing this, after line 596, add:
if ( $query->is_post_type_archive( 'testimonial' ) || $query->is_tax('testimonial-category')){ $query->set( 'orderby', array ('menu_order' => 'ASC', 'date' => 'DESC')); $query->set( 'posts_per_page','12' ); $query->set( 'order','DESC' );
Please see the example:
VERY VERY IMPORTANT: REPLACE THE ‘ OF THE COPY AND PASTE WITH THE SYMBOL FROM THE KEYBOARD. ALSO, BACKUP YOUR FUNCTIONS.PHP BEFORE EDITING AS IF YOU DO MISTAKES IT CAN LOCK YOU OUT OF YOUR SITE. EDIT AND REPLACE THE FILE VIA FTP AND NOT VIA ANY WORDPRESS EDITOR OR PLUGIN.
The topic ‘hide testimonial on testimonial page’ is closed to new replies.