Newsletter - by Jens - on WordPress WooCommerce support

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

  • Avatar: jbrogaard
    Jens
    Participant
    August 29, 2015 at 23:05

    Hi, how do I put the top bar newsletter/promo popup either

    1) just as an envelope icon in a widget or
    2) in a text area like here: https://www.8theme.com/demo/classico/variant1/left-sidebar/

    Any shortcodes or what have I missed since I’ve searching everywhere?
    Thanks.
    Jens

    11 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 31, 2015 at 08:44

    Hello,

    1. As I see you’ve already had “Newsletter” link in top bar.

    2. To have newsletter in Text area you need use this plugin https://wordpress.org/plugins/mailchimp-for-wp/ and add its shortcode [mc4wp_form] to the Text editor.

    Regards,
    Eva Kemp.

    Avatar: jbrogaard
    Jens
    Participant
    August 31, 2015 at 09:29

    Hi, thx for answer no. 2 but I think I wasn’t specific enough for no. 1.
    The newsletter envelope icon with its pop-up in the top I’d like to put another place, either in a sidebar widget or in the page content. How do I manually do that since the existent top icon is put there by the theme?

    Avatar: Eva
    Eva Kemp
    Support staff
    August 31, 2015 at 12:44

    Hello,

    1. Sorry for misunderstanding.
    You need add this code in Text widget and add it to any sidebar area you need:
    <div class="popup_link <?php if(!etheme_get_option('promo_link')): ?>hidden<?php endif; ?>"><a class="etheme-popup <?php echo (etheme_get_option('promo_auto_open')) ? 'open-click': '' ; ?>" href="#etheme-popup"><?php _e(etheme_get_option('promo-link-text'), ET_DOMAIN) ?></a></div>

    Regards,
    Eva Kemp.

    Avatar: jbrogaard
    Jens
    Participant
    August 31, 2015 at 13:43

    No problem. I’ve tried to put the code into several containers (both text and visual).

    Widget
    http://screencast.com/t/koY7WndBLxVd
    VC:
    http://screencast.com/t/8TbszLp6m3V
    Result
    http://screencast.com/t/bIjskMzcnz

    but the envelope icon can’t be seen?

    Avatar: Eva
    Eva Kemp
    Support staff
    August 31, 2015 at 14:28

    Hello,

    As this is php code and Text widget allows only html code to be entered, you can try this solution:
    http://www.wpstuffs.com/how-to-execute-php-code-in-text-widget-without-using-plugin/

    Regards,
    Eva Kemp.

    Avatar: jbrogaard
    Jens
    Participant
    August 31, 2015 at 15:19

    Hi Eva, I used a plugin since I don’t like to leave code in the source 😉
    Thanks for your time. Great timely help 🙂
    Regards Jens

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 31, 2015 at 15:38

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

    Avatar: jbrogaard
    Jens
    Participant
    September 1, 2015 at 08:13

    Just info for other users. When using this plugin: https://wordpress.org/plugins/php-code-for-posts/
    for that php-task I get this error:
    https://www.8theme.com/topic/warning-getimagesize-2/

    I’ll just try to find another.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 1, 2015 at 08:21

    Hello @jbrogaard,

    Thank you for your help to another’s customers.
    We appreciate very much.

    Regards,
    Robert Hall.

    Avatar: jbrogaard
    Jens
    Participant
    September 13, 2015 at 23:44

    After testing several plugins… the ‘PHP everywhere’ does the job.

    Avatar: Eva
    Eva Kemp
    Support staff
    September 14, 2015 at 08:45

    Hello @Jens,

    Glad to hear it.

    If there are any questions let us know.

    Regards,
    Eva Kemp.

  • Viewing 12 results - 1 through 12 (of 12 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.