Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #225796

    I know of a site that uses Enfold and has a stock quote in the header (non-fixed header with social icons and additional navigation), and they’re doing so via a WP plug-in. I desire to do virtually the same thing, and I’ve installed an appropriate plug-in that gives me the shortcode to use. However, my insertion of the shortcode in the “Phone Number or small info text” field was met with no success. How can I accomplish this?

    (The site referenced that has the content already is

    • This topic was modified 2 years, 11 months ago by  njsanders1.

    Hey Nick!

    They have added in that div container to the header.php file and then probably used do_shortcode or added in the php call from the plugin/raw code.

    Best regards,


    So, for a non-programming-guy like me (hence my decision to use WordPress), what’s the easiest way to recreate that outcome? What code would I need to put in the header.php file?

    I’m assuming the syntax to use do_shortcode is”
    echo do_shortcode('[whatever_my_shortcode_is]');

    But how do I put a div in the header?



    You can edit header.php, find this code on line 92:

    <div id='header_meta' class='container_wrap container_wrap_meta'>
                      <div class='container'>

    Create a new div below then use the do_shortcode function. Referring to the site, maybe you add something like this:

    <div class="stockQuote">
               <?php echo do_shortcode('[whatever_my_shortcode_is]');  ?>                       


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.