Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1121984
    ahurlburt53
    Participant

    I am adding this short code to the top bar section. However the shortcode does not work. any suggestions

    <p style=”text-align: center;”>[x_button shape=”square” size=”regular” float=”none” href=”#” info=”none” info_place=”top” info_trigger=”hover”]Free SEO Audit[/x_button]</p>

    VSF Marketing Tampa Bay, Florida Digital Marketing Agency

    #1122086
    Paul R
    Moderator

    Hi,

    Thanks for writing in!

    Shortcode is not actiated by default in the topbar.

    To allow shortcode in topbar, you can add this in your child theme’s functions.php file

    
    add_filter('x_option_x_topbar_content', 'do_shortcode');
    

    Hope that helps.

    #1125400
    ahurlburt53
    Participant

    TY will this code work for the footer section?

    #1125605
    Lely
    Moderator

    Hi There,

    You’re welcome!
    By default, Footer Content supports shortcode.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1121984 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>