Tagged: x
-
AuthorPosts
-
December 20, 2016 at 9:36 am #1299443
http://www.abbeyleroy.com
WP Version: 4.7
X – Child Theme
Cornerstone Version: 1.3.3I wanted to update the copyright date in my site footer. I used Customizer to make the change, the preview looked great, I clicked “Save and Publish”, but the change doesn’t take effect when I close the Customizer. Any advice on how to resolve the issue?
December 20, 2016 at 9:44 am #1299447Hi there,
Thanks for writing in! Please try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Let us know how this goes!
December 20, 2016 at 1:52 pm #1299694I tried this, but unfortunately it did not resolve the issue.
December 20, 2016 at 2:44 pm #1299752Hi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks
Joao
December 20, 2016 at 3:45 pm #1299792This reply has been marked as private.December 21, 2016 at 12:11 am #1300164Hello There,
Thank you for the credentials.
I tried to update to see the error. It’s this:
The XSS Auditor refused to execute a script in 'https://abbeyleroy.com/?customize_changeset_uuid=0305b382-c1c7-4291-bde2-a408db82dee1&customize_theme=x-child&customize_messenger_channel=preview-2' because its source code was found within the request. The auditor was enabled as the server sent neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header.
It is because of the following code:
<span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=yG2NDxUcfTqwjq5bApTUZRj7r4M5buV2Uyv1OABUgi65USa79bbxwJpjckNM"></script></span>
That part is intended for HTML only.
To add that code on the footer, please copy wp-footer.php file from wp-content\themes\x\framework\views\renew to your child theme folder here wp-content\themes\x-child\framework\views\renew. Open the copied file and add the code after this line:
<?php echo do_shortcode( x_get_option( 'x_footer_content' ) ); ?>
Your final code should be something like this:<?php // ============================================================================= // VIEWS/RENEW/WP-FOOTER.PHP // ----------------------------------------------------------------------------- // Footer output for Renew. // ============================================================================= ?> <?php x_get_view( 'global', '_header', 'widget-areas' ); ?> <?php x_get_view( 'global', '_footer', 'scroll-top' ); ?> <?php x_get_view( 'global', '_footer', 'widget-areas' ); ?> <?php if ( x_get_option( 'x_footer_bottom_display' ) == '1' ) : ?> <footer class="x-colophon bottom" role="contentinfo"> <div class="x-container max width"> <?php if ( x_get_option( 'x_footer_social_display' ) == '1' ) : ?> <?php x_social_global(); ?> <?php endif; ?> <?php if ( x_get_option( 'x_footer_menu_display' ) == '1' ) : ?> <?php x_get_view( 'global', '_nav', 'footer' ); ?> <?php endif; ?> <?php if ( x_get_option( 'x_footer_content_display' ) == '1' ) : ?> <div class="x-colophon-content"> <?php echo do_shortcode( x_get_option( 'x_footer_content' ) ); ?> <span id="siteseal"><script type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=yG2NDxUcfTqwjq5bApTUZRj7r4M5buV2Uyv1OABUgi65USa79bbxwJpjckNM"></script></span> </div> <?php endif; ?> </div> </footer> <?php endif; ?> <?php x_get_view( 'global', '_footer' ); ?>
Remove that part of the code from your customizer footer after. Then try to update the copyright text again.
Hope this helps.
January 2, 2017 at 11:31 am #1312936I tried this, but now the GoDaddy seal appears twice and I still can’t edit the date. The seal goes away when I remove the code from the customizer footer, but when I exit the customizer, my changes are reversed – the two seals are still there and the date hasn’t updated.
January 2, 2017 at 1:07 pm #1313055Hi there,
Would you mind providing your FTP details as well so we can check this further?
Thank you.
January 2, 2017 at 1:48 pm #1313121This reply has been marked as private.January 2, 2017 at 5:55 pm #1313379Hi There,
Thank you for the credentials, we know that the seal script is preventing the customizer from saving. I did go ahead and move that script on the child theme’s wp-footer.php file. You can now edit and save your customizer settings (topbar content.)
Hope it helps, Chers!
January 3, 2017 at 8:15 am #1314114Thank you!
January 3, 2017 at 8:48 am #1314135You are welcome!
January 3, 2017 at 8:51 am #1314138You’re most welcome!
Feel free to ask us again.
-
AuthorPosts