Shortcode plugin function not work in (home page) slider caption
-
Hi,
In my theme default is used a slider with caption (html) function.
In the slider caption try to use the shortcode from the 3rth party plugin:
Taxonomy Chain Menu.
Plugin website:
https://pluginus.net/shop/wordpress-plugins/taxonomy-chain-menu/
The shortcode I use accordingly this plugin is:
[pn_chain_menu post_slug=’product’ taxonomy=’product_cat’ watch_view=’terms’ show_count=1 button_title=’Watch It’ target=’_self’]
See screenshot:
Unfortunately the shortcode is not working in the slider template of my theme.
So in the slider template php file I added:
<?php echo do_shortcode("[shortcode]"); ?>
Accordingly this article:
https://css-tricks.com/snippets/wordpress/shortcode-in-a-template/
See screenshot:
Only this not showing the shortcode function in my home page slider but the actually shortcode instead.
See screenshot:
What i did wrong and how to solve this so the shortcode is working/showing the function in the slider caption from my theme?
Best regards,
Joris
De pagina waar ik hulp bij nodig heb: [log in om de link te zien]
- Het onderwerp ‘Shortcode plugin function not work in (home page) slider caption’ is gesloten voor nieuwe reacties.