Header – Add shortcode - by Elimy - on WordPress WooCommerce support

This topic has 10 replies, 3 voices, and was last updated 8 years, 10 months ago ago by Eva Kemp

  • Avatar: Elimy
    Elimy
    Participant
    June 7, 2015 at 15:16

    New question …

    We would like to add a button (we have a shortcode for MailChimp) in the fixed header. On the right.

    We don’t wanna make mistake so many thanks for your help !!

    Eli

    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    June 8, 2015 at 11:24

    Hello,

    You need edit the file header.php in wp-content/themes/woopress.
    We recommend to make changes in a child theme not to lose modifications after theme update.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Elimy
    Elimy
    Participant
    June 8, 2015 at 12:38

    Thank you.

    I have the shortcode for MailChimp but what’s the part of the code to put the button on the right ?

    Cna you help us ?

    THKS A LOT !
    Eli

    Avatar: stan
    Stan Russell
    Participant
    June 8, 2015 at 14:53

    Hello,

    please provide us with link to your site and show on screenshot where do you want to have this button placed.

    Regards,
    Stan Russell.

    Avatar: Elimy
    Elimy
    Participant
    June 8, 2015 at 15:05

    Hi!

    The website is not active. Do you need the code ?

    I prepare a screenshot.

    Tks.
    Eli

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 8, 2015 at 15:52

    Hello,

    Please provide us with FTP and wp-admin panel credentials.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Elimy
    Elimy
    Participant
    June 8, 2015 at 15:55

    Here is the screenshot and the access.
    Thank you.

    Eli

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 8, 2015 at 16:34

    Hello,

    I’ve added this code in header.php file:
    <div class="newsletter-form"><?php echo do_shortcode( '[mc4wp_form]' ); ?></div>
    Please check fixed header now.

    Regards,
    Eva Kemp.

    Avatar: Elimy
    Elimy
    Participant
    June 8, 2015 at 16:41

    So cool !

    We just need to change MailChimp settings to make it appear better but this is what we wanted 🙂

    Thank you for this !

    Avatar: Eva
    Eva Kemp
    Support staff
    June 8, 2015 at 16:56

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.