Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1221249
    hyperdrive_boom
    Participant

    Good evening,

    I have set up a mailchimp account and added the X theme mailchimp plugin to the site.

    Just adding the shortcode to the page via cornerstone seems to work completely fine… However I want my sign up field to be in the Header. When I add the shortcode to this the field does not appear. Just shows the shortcode i.e.:

    [x_subscribe form=”184″]

    What do I need to do to enable this to work?

    I have the latest wordpresss, X theme and cornerstone/mailchimp plugin

    Kind Regards,
    Jason

    #1221450
    Jade
    Moderator

    Hi Jason,

    Are you trying to add the shortcode in the topbar?

    If so, please add this code in the child theme’s functions.php:

    add_filter('x_option_x_topbar_content', 'top_bar_content_shortcode');
    
    function top_bar_content_shortcode ( $content ) {
        return do_shortcode ( $content );
    }

    Hope this helps.

    #1228418
    hyperdrive_boom
    Participant

    Perfect thank you!

    #1228500
    Rahul
    Moderator

    Glad to hear it!

    Let us know if we can help with anything else.

    Thank you!

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