Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #991358
    liam_1
    Participant

    Hi,

    I added code for social sharing from AddThis (recommended by UberFlip) and just lost my website… Nothing appears when I type in my URL and I can’t even log into WordPress. I was using the X theme. This is my website: http://www.welddigital.ca

    PLEASE, could someone help. I don’t know what yo do.

    This is the code I added:
    <!– Go to http://www.addthis.com/dashboard to customize your tools –>
    <script type=”text/javascript” src=”//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-573745d4d3480aaa”></script>

    Thank you,
    Liam

    #991413
    Thai
    Moderator

    Hi There,

    Sorry to hear your website’s having the issue.

    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 login to your site
    – WordPress Admin username / Password
    – FTP Account

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

    Thanks.

    #991443
    liam_1
    Participant
    This reply has been marked as private.
    #991444
    liam_1
    Participant
    This reply has been marked as private.
    #991451
    Thai
    Moderator

    Hi Liam,

    Could you please double check on your FTP account, there are no files when I logged in?

    http://i.imgur.com/QlDaBZE.png

    Thank you.

    #991476
    liam_1
    Participant
    This reply has been marked as private.
    #991808
    Rue Nel
    Moderator

    Hello There,

    The ftp is still empty. No folders can be found.
    Would you mind providing your Bluehost cpanel access instead?

    #991862
    liam_1
    Participant
    This reply has been marked as private.
    #991978
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the login credentials. I found the issue. You are not supposed to rename the x folder. If you want to modify or add something, I would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Once you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.

    // Add AddThis functions
    // =============================================================================
    function add_addthis_function(){ ?>
      
      <!-- Go to www.addthis.com/dashboard to customize your tools -->
      <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-573745d4d3480aaa"></script>
    
    <?php }
    add_action('wp_head', 'add_addthis_function');
    // =============================================================================

    Please let us know how it goes.

    #992217
    liam_1
    Participant

    I did successfully install the child theme, but it is saying it is “incomplete.” It says this: The following themes are installed but incomplete. Description: The parent theme is missing. Please install the “x” parent theme.”

    I of course have X theme downloaded, so I’m not sure what the problem is.

    Thank you so much for getting back my website!

    -Liam

    #992274
    Thai
    Moderator

    Hi Liam,

    I’ve just fixed that issue on your child theme.

    Please go to this page: http://www.welddigital.ca/wp-admin/themes.php then activate your child theme.

    Regards!

    #992340
    liam_1
    Participant
    This reply has been marked as private.
    #992402
    Thai
    Moderator

    Hi Liam,

    Everything should be working fine now 🙂

    The AddThis code has been added to your website.

    Regards!

    #992419
    liam_1
    Participant

    Thanks again!

    There’s just one problem, the AddThis code’s social icons are all over my website, not just on my blog posts where I’d like them to be. Are you able to change this? Sorry, I just don’t want to touch the code again since I crashed the site twice in the last day lol 🙂

    -Liam

    #992460
    Thai
    Moderator

    Hi Liam,

    I’ve just updated the code.

    Regards!

  • <script> jQuery(function($){ $("#no-reply-991358 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>