Can't make shortcode work
-
I can’t seem to make the shortcode work in my header.php file:
<?php echo do_shortcode( ‘[responsive-menu]’ ); ?>I need the menu button to appear next to my Search box so, I have the shortcode inside a div container that holds my nav div and my search div.
With the Use Shortcode checkbox checked, and the above code in my header.php file, the shortcode displays as text and the button still appears as with your default plugin behavior.
Also, is there a way to have the plugin not display any button at all. I thought this was the purpose of the Click Trigger field but that doesn’t seem to do anything. How can I display my own button without entering an image file in the plugin’s Click Button Settings?
Thanks!
Jeff
- The topic ‘Can't make shortcode work’ is closed to new replies.