Tagged: x
-
AuthorPosts
-
September 13, 2016 at 8:52 am #1173052
Pink ZParticipantI followed the instructions here and pasted the Adwords remarketing code in my child’s theme functions.php file: https://community.theme.co/forums/topic/adwords-remarketing-tag/
My functions.php file now looks like this:
<?php // ============================================================================= // FUNCTIONS.PHP // ----------------------------------------------------------------------------- // Overwrite or add your own custom functions to X in this file. // ============================================================================= // ============================================================================= // TABLE OF CONTENTS // ----------------------------------------------------------------------------- // 01. Enqueue Parent Stylesheet // 02. Additional Functions // ============================================================================= // Enqueue Parent Stylesheet // ============================================================================= add_filter( 'x_enqueue_parent_stylesheet', '__return_true' ); // Additional Functions // ============================================================================= /* Fix "Missing Author" and "Missing Updated" issue - START */ add_filter( 'the_content', 'custom_author_code'); function custom_author_code($content) { if (is_singular() || is_single()) { return $content . '<div class="hatom-extra"><span class="title">'. get_the_title() .'</span> was last modified: <span class="updated"> '. get_the_modified_time('F jS, Y') .'</span> by <span class="author vcard"><span class="fn">'. get_the_author() .'</span></span></div>' ; } else { return $content; } } /* Fix "Missing Author" and "Missing Updated" issue - END */ function my_googleremark_footer_output() { ?> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 987366084; var google_custom_params = window.google_tag_params; var google_remarketing_only = true; /* ]]> */ </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> </div> </noscript> <?php } add_action( 'wp_footer', 'my_googleremark_footer_output', 99 );I’m getting this error message from my Chrome browser Google Tag Assistant plugin: “Missing <noscript> tag.”
Any suggestions? Thanks!
September 13, 2016 at 9:48 am #1173131
Pink ZParticipantProblem solved.
September 13, 2016 at 9:55 am #1173147
ChristianModeratorGlad it’s sorted out. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1173052 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
