This topic has 12 replies, 3 voices, and was last updated 9 years, 3 months ago ago by Eva Kemp
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
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.
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?
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.
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?
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.
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
Hello,
You’re welcome!
Regards,
Robert Hall.
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.
Hello @jbrogaard,
Thank you for your help to another’s customers.
We appreciate very much.
Regards,
Robert Hall.
After testing several plugins… the ‘PHP everywhere’ does the job.
Hello @Jens,
Glad to hear it.
If there are any questions let us know.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up