<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Mail Chimp Subsriber Popup Code to X &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/feed/</link>
		<description></description>
		<lastBuildDate>Tue, 14 Oct 2025 19:57:32 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-205345</guid>
					<title><![CDATA[Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-205345</link>
					<pubDate>Thu, 12 Feb 2015 22:12:50 +0000</pubDate>
					<dc:creator>awecesar</dc:creator>

					<description>
						<![CDATA[
						<p>Hey,<br />
my page is <a href="http://fourtylove.com" rel="nofollow">http://fourtylove.com</a><br />
I added the code from: <a href="http://prntscr.com/64d2oc" rel="nofollow">http://prntscr.com/64d2oc</a><br />
to my wordpress site but nothing shows up.<br />
I added it as plain html and javascript but nothing worked? 🙁<br />
Any idea? Thanks a lot!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-206030</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-206030</link>
					<pubDate>Fri, 13 Feb 2015 19:20:12 +0000</pubDate>
					<dc:creator>Nabeel A</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thanks for writing in! Please remove the <code>&lt;script&gt;&lt;/script&gt;</code> tags from the code and add it via <strong>Appearance &gt; Customize &gt; Custom &gt; Javascript</strong>.</p>
<p>Let us know how this goes!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-206151</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-206151</link>
					<pubDate>Fri, 13 Feb 2015 21:59:26 +0000</pubDate>
					<dc:creator>awecesar</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks but,<br />
could you paste me the code without the &lt;script&gt;? If I remove the there is nothing left or do I get it wrong? 😀<br />
<code>&lt;script type=&quot;text/javascript&quot; src=&quot;//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js&quot; data-dojo-config=&quot;usePlainJson: true, isDebug: false&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;require([&quot;mojo/signup-forms/Loader&quot;], function(L) { L.start({&quot;baseUrl&quot;:&quot;mc.us9.list-manage.com&quot;,&quot;uuid&quot;:&quot;e0b4c3e5a44263a65130b4d1f&quot;,&quot;lid&quot;:&quot;fcedb42cf4&quot;}) })&lt;/script&gt;</code></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-206733</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-206733</link>
					<pubDate>Sat, 14 Feb 2015 22:02:42 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>It&#8217;s looks like it&#8217;s required due to config. How about just adding it like this? Add this code at your child theme&#8217;s functions.php</p>
<pre><code>add_action(&#039;wp_footer&#039;, &#039;my_custom_script&#039;, 20 );

function my_custom_script () { ?&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js&quot; data-dojo-config=&quot;usePlainJson: true, isDebug: false&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;require([&quot;mojo/signup-forms/Loader&quot;], function(L) { L.start({&quot;baseUrl&quot;:&quot;mc.us9.list-manage.com&quot;,&quot;uuid&quot;:&quot;e0b4c3e5a44263a65130b4d1f&quot;,&quot;lid&quot;:&quot;fcedb42cf4&quot;}) })&lt;/script&gt;
&lt;?php }</code></pre>
<p>Cheers!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-206961</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-206961</link>
					<pubDate>Sun, 15 Feb 2015 13:02:11 +0000</pubDate>
					<dc:creator>awecesar</dc:creator>

					<description>
						<![CDATA[
						<p>I tried it and it worked BUT the close button is not working &#8211; you are stuck to the pop up forever 🙁</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-207409</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-207409</link>
					<pubDate>Mon, 16 Feb 2015 08:57:42 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Can you provide us with exact URL of page having mailchimp? I can&#8217;t find it.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-207724</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-207724</link>
					<pubDate>Mon, 16 Feb 2015 16:13:59 +0000</pubDate>
					<dc:creator>awecesar</dc:creator>

					<description>
						<![CDATA[
						<p>hey,<br />
you can&#8217;t click on anything else if the popup appears so I can&#8217;t leave it on the page.<br />
Any suggestion how I can implement the popover only on one particular site? (I will just make a private test site and post it here then)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-207911</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-207911</link>
					<pubDate>Mon, 16 Feb 2015 19:53:31 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Awecesar,</p>
<p>Thanks for writing in!</p>
<p>Regretfully, we cannot suggest anything while seeing the issue first hand. Would you mind activating the popover in your website so that we can take a closer look and provide you with a tailored response?</p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-208577</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-208577</link>
					<pubDate>Tue, 17 Feb 2015 15:57:28 +0000</pubDate>
					<dc:creator>awecesar</dc:creator>

					<description>
						<![CDATA[
						<p>Hey, I found the problem &#8211; I already had some code in my functions.php that I got from another X-developer. I implemented it wrong.<br />
Could you fuse these 2 codes to one?</p>
<pre><code>&lt;?php

// Featured Image

// =============================================================================

//

// Output featured image in an &lt;a&gt; tag on index pages and a &lt;div&gt; for single

// posts and pages.

//

if ( ! function_exists( &#039;x_featured_image&#039; ) ) :

  function x_featured_image( $cropped = &#039;&#039; ) {

    $stack     = x_get_stack();

    $fullwidth = ( in_array( &#039;x-full-width-active&#039;, get_body_class() ) ) ? true : false;

    if ( has_post_thumbnail() ) {

      if ( $cropped == &#039;cropped&#039; ) {

        if ( $fullwidth ) {

          $thumb = get_the_post_thumbnail( NULL, &#039;entry-&#039; . $stack . &#039;-cropped-fullwidth&#039;, NULL );

        } else {

          $thumb = get_the_post_thumbnail( NULL, &#039;entry-&#039; . $stack . &#039;-cropped&#039;, NULL );

        }

      } else {

        if ( $fullwidth ) {

          $thumb = get_the_post_thumbnail( NULL, &#039;entry-&#039; . $stack . &#039;-fullwidth&#039;, NULL );

        } else {

          $thumb = get_the_post_thumbnail( NULL, &#039;entry-&#039; . $stack, NULL );

        }

      }

      

	switch ( is_singular() ) {

        case true:

          printf( &#039;&lt;div class=&quot;entry-thumb&quot;&gt;%s&lt;/div&gt;&#039;, $thumb );

          break;

        case false:

          if ( is_page_template( &#039;template-layout-portfolio.php&#039; ) ) echo &#039;&lt;!--is_portfolio--&gt;&#039;;

          printf( &#039;&lt;a href=&quot;%1$s&quot; class=&quot;entry-thumb&quot; title=&quot;%2$s&quot;&gt;%3$s&lt;/a&gt;&#039;,

            esc_url( get_permalink() ),

            esc_attr( sprintf( __( &#039;Permalink to: &quot;%s&quot;&#039;, &#039;__x__&#039; ), the_title_attribute( &#039;echo=0&#039; ) ) ),

            get_the_post_thumbnail( NULL, &#039;portfolio-thumb&#039;, NULL )

          );

          break;

      }

    }

  }

endif;

add_image_size( &#039;portfolio-thumb&#039;, 380, 222, true );

add_action(&#039;wp_footer&#039;, &#039;cache_test&#039;, 9999 );

function cache_test () {

echo &#039;&lt;!--NO-CACHE--&gt;&#039;;

}</code></pre>
<pre><code>add_action(&#039;wp_footer&#039;, &#039;my_custom_script&#039;, 20 );

function my_custom_script () { ?&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js&quot; data-dojo-config=&quot;usePlainJson: true, isDebug: false&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;require([&quot;mojo/signup-forms/Loader&quot;], function(L) { L.start({&quot;baseUrl&quot;:&quot;mc.us9.list-manage.com&quot;,&quot;uuid&quot;:&quot;e0b4c3e5a44263a65130b4d1f&quot;,&quot;lid&quot;:&quot;fcedb42cf4&quot;}) })&lt;/script&gt;
&lt;?php }</code></pre>
<p>Thanks a lot!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-208972</guid>
					<title><![CDATA[Reply To: Mail Chimp Subsriber Popup Code to X]]></title>
					<link>https://theme.co/archive/forums/topic/mail-chimp-subsriber-popup-code-to-x/#post-208972</link>
					<pubDate>Wed, 18 Feb 2015 05:38:48 +0000</pubDate>
					<dc:creator>Rue Nel</dc:creator>

					<description>
						<![CDATA[
						<p>Hey There,</p>
<p>Just added the my_custom_script function at the bottom of the functions.php file</p>
<pre><code>
&lt;?php

// Featured Image

// =============================================================================

//

// Output featured image in an &lt;a&gt; tag on index pages and a &lt;div&gt; for single

// posts and pages.

//

if ( ! function_exists( &#039;x_featured_image&#039; ) ) :

  function x_featured_image( $cropped = &#039;&#039; ) {

    $stack     = x_get_stack();

    $fullwidth = ( in_array( &#039;x-full-width-active&#039;, get_body_class() ) ) ? true : false;

    if ( has_post_thumbnail() ) {

      if ( $cropped == &#039;cropped&#039; ) {

        if ( $fullwidth ) {

          $thumb = get_the_post_thumbnail( NULL, &#039;entry-&#039; . $stack . &#039;-cropped-fullwidth&#039;, NULL );

        } else {

          $thumb = get_the_post_thumbnail( NULL, &#039;entry-&#039; . $stack . &#039;-cropped&#039;, NULL );

        }

      } else {

        if ( $fullwidth ) {

          $thumb = get_the_post_thumbnail( NULL, &#039;entry-&#039; . $stack . &#039;-fullwidth&#039;, NULL );

        } else {

          $thumb = get_the_post_thumbnail( NULL, &#039;entry-&#039; . $stack, NULL );

        }

      }

      

	switch ( is_singular() ) {

        case true:

          printf( &#039;&lt;div class=&quot;entry-thumb&quot;&gt;%s&lt;/div&gt;&#039;, $thumb );

          break;

        case false:

          if ( is_page_template( &#039;template-layout-portfolio.php&#039; ) ) echo &#039;&lt;!--is_portfolio--&gt;&#039;;

          printf( &#039;&lt;a href=&quot;%1$s&quot; class=&quot;entry-thumb&quot; title=&quot;%2$s&quot;&gt;%3$s&lt;/a&gt;&#039;,

            esc_url( get_permalink() ),

            esc_attr( sprintf( __( &#039;Permalink to: &quot;%s&quot;&#039;, &#039;__x__&#039; ), the_title_attribute( &#039;echo=0&#039; ) ) ),

            get_the_post_thumbnail( NULL, &#039;portfolio-thumb&#039;, NULL )

          );

          break;

      }

    }

  }

endif;

add_image_size( &#039;portfolio-thumb&#039;, 380, 222, true );

add_action(&#039;wp_footer&#039;, &#039;cache_test&#039;, 9999 );

function cache_test () {

echo &#039;&lt;!--NO-CACHE--&gt;&#039;;

}

add_action(&#039;wp_footer&#039;, &#039;my_custom_script&#039;, 20 );
function my_custom_script () { ?&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js&quot; data-dojo-config=&quot;usePlainJson: true, isDebug: false&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;require([&quot;mojo/signup-forms/Loader&quot;], function(L) { L.start({&quot;baseUrl&quot;:&quot;mc.us9.list-manage.com&quot;,&quot;uuid&quot;:&quot;e0b4c3e5a44263a65130b4d1f&quot;,&quot;lid&quot;:&quot;fcedb42cf4&quot;}) })&lt;/script&gt;
&lt;?php }

</code></pre>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

