Hi Patator,
Can you please confirm your theme do not have any inbuilt Testimonials feature?
Thanks
Hello again
thanks for having fixed my issue with the other question !!
I’m using a Betheme theme (translator theme).
When you asked the question, I have checked that there is a “post type” disabling option where “testimonials is shown :
I have ticked the option and I now have only 1 testimonial category showing in the menu
Nevertheless, when I add the [testimonial] shortcode, it still retrieves the built-in Betheme testimonial and not yours…
how can I do ?
Hi Patator100,
Can you please try this shortcode instead ? [testimonialswidget_list]
It seems that the theme you are using has already the same shortcode [testimonials] and is creating conflict. If the above shortcode i.e. [testimonialswidget_list] doesn’t work for you, you may have to remove or override the shortcode provided by theme. To do so please read https://nodedesk.zendesk.com/hc/en-us/articles/202380861-My-theme-already-has-a-testimonials-shortcode-
Please let me know if I can be of any further assistance.
Hello Subharanjan
Thanks for your help. The first solution work, great.
But I would like to use other shortcodes proposed by the widget. Thus, I have tried the second solution you’ve offered.
I found the following code in /www/wp-content/themes/betheme/betheme/function.php :
require_once( LIBS_DIR .'/theme-shortcodes.php' );
In //www/wp-content/themes/betheme/betheme/functions/theme-shortcodes.php, I found :
add_shortcode( ‘testimonials’, ‘sc_testimonials’ );
add_shortcode( ‘testimonials_list’, ‘sc_testimonials_list’ );
THEN
I have tried to remove both lines (//), no change.
I have added the remove_shortcode to the same file : /www/wp-content/themes/betheme/betheme/function.php
remove_shortcode( 'testimonials', 'sc_testimonials' );
remove_shortcode( 'testimonials_list', 'sc_testimonials_list' );
remove_shortcode( 'testimonials');
remove_shortcode( 'testimonials_list');
Any clue what I could do ?
Thanks
Hi Patarator100,
Simply commenting out these two lines should work. Did you clear your testimonials/website cache?
add_shortcode( 'testimonials', 'sc_testimonials' );
add_shortcode( 'testimonials_list', 'sc_testimonials_list' );
Note: You may lose your changes when the theme gets upgraded if you have directly edited theme files. Please check if you can take help of child theme.
If the above not working, you can still use [testimonialswidget_list] and other shortcodes provided by Testimonials Widget without issues.
Thanks !!
it worked !!!
Great !!!
The list is correctly showing with just [testimonials].
I will now look at your shorcodes in details as I would like to have more space in between each testimonial listed
thanks for your help
patrice