WordPress.org

Ready to get started?Download WordPress

Forums

FAQ Manager
[resolved] Shortcode in theme (2 posts)

  1. julieconnect
    Member
    Posted 1 year ago #

    Hello,
    Thank you for this pluggin.
    I would like to use the shortcode [faq faq_topic = "cart"] a theme directly.
    Could you help me to make it work?
    I tried:
    <php echo do_shortcode ([faq faq_topic = "cart"] ');>
    But I think I should also state in the function.php file of the theme. If yes is not talented I do not know transcribe ...
    Thank you for your help

    http://wordpress.org/extend/plugins/wordpress-faq-manager/

  2. Andrew Norcross
    Member
    Plugin Author

    Posted 1 year ago #

    the do_shortcode function has to be fired within a WP_Query loop. It won't work (that one or any other) outside of that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.