Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1299443

    abbeyleroy
    Participant

    http://www.abbeyleroy.com
    WP Version: 4.7
    X – Child Theme
    Cornerstone Version: 1.3.3

    I 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?

    #1299447

    Nabeel A
    Moderator

    Hi 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!

    #1299694

    abbeyleroy
    Participant

    I tried this, but unfortunately it did not resolve the issue.

    #1299752

    Joao
    Moderator

    Hi 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 / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks

    Joao

    #1299792

    abbeyleroy
    Participant
    This reply has been marked as private.
    #1300164

    Lely
    Moderator

    Hello 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.

    #1312936

    abbeyleroy
    Participant

    I 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.

    #1313055

    Jade
    Moderator

    Hi there,

    Would you mind providing your FTP details as well so we can check this further?

    Thank you.

    #1313121

    abbeyleroy
    Participant
    This reply has been marked as private.
    #1313379

    Friech
    Moderator

    Hi 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!

    #1314114

    abbeyleroy
    Participant

    Thank you!

    #1314135

    Joao
    Moderator

    You are welcome!

    #1314138

    Rahul
    Moderator

    You’re most welcome!

    Feel free to ask us again.