• Resolved outsyderadventures

    (@outsyderadventures)


    Hi there,

    I was recently having problems making an image, a featured image on my pages.
    For some reason, I googled the problem and what I seemed to find was instructions about coding.

    So I followed some instructions and saved the change.

    “You just need a small bit of code to put in your theme’s functions file which is located here: wp-content/themes/your-theme/functions.php – you can edit it by going to Appearance > Editor on the left-hand side of the WordPress back-end and then by clicking “functions.php” on the right-hand side in your theme’s template files.

    <?php
    add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size( 150, 150, true );
    ?>

    The first line enables the use of Featured Images on your site. The second line determines their size (in this case 150 pixels square).”

    I then panicked, as it all seemed a bit too advanced for me, changing code and all that, so I decided to undo the change i’d made. SO I deleted the code I had just added and saved again. Now, I think that I left the last bit ?> as I remember seeing this on its own after I had pressed save

    So i’ve made a complete balls of things and I feel sick as i’ve spent ages updating my site over the last few days, in prep for my new business. Now, nothing is displaying at all. The screen is blank on my Dashboard. I can’t go into any page on my dashboard as they’re all blank. When I look at the URL / address line at the top of my page, the icon in front of my website address is missing. Where the http//; bit is, that is also not there.

    Can anyone help?

    Thanks in advance,
    katie
    p.s. i’m just going to bed, so if I don’t reply immediately, please don’t take this as I’m not around, I will be hoping its all been a bad dream and when I awake and realise it isn’t, i’ll be straight on here to see if I have any replies.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Don’t worry, you haven’t lost your site, you just edit your function.php file back to how it was with the ‘?>’ on the end, because you can’t get into your dashboard you will need to edit the file directly.

    To do this you will need to find out from you hosting company what your FTP details are, that is your Host URL or IP, Username and Password.

    Once you have these details, open up ‘Documents’ on your computer, click the path bar at the top where it says ‘Libraries\Documents’ and replace it with your hosting url/ip and press enter.

    A pop up should now appear asking for your username and password, once this has been entered click through the folders to your function file, something like – web/content/wp-content/themes/your-theme/functions.php

    Thread Starter outsyderadventures

    (@outsyderadventures)

    Hello Seanjacob,
    Thanks very much for taking the time to reply, your first line about not worrying as the site isn’t lost, is very reassuring.
    So when you say Host, do you mean Bluehost as opposed to WordPress? I have tried having a look through the WordPress area but nothing is obvious about how I get these details.
    I am using a Mac, I went to Finder and looked at the Documents folder to familiarise myself with it in anticipation of being able to get the FTP details, but I couldn’t see the Libraries\Documents bit you refer to.
    This is what happens when an amateur starts messing with stuff they don’t understand. I feel pretty stupid but also gutted.
    Any further assistance would be gratefully received.
    Cheers, katie

    Yes Bluehost would be your hosting provider.

    They have a video tutorial on how to setup/get your FTP details –
    https://my.bluehost.com/cgi/help/ftpaccounts

    Since you are using a Mac you will need a FTP client, Bluehost and I recommend Filezilla (free download), Bluehost also provides a tutorial –
    https://my.bluehost.com/cgi/help/264

    Good luck, let me know if you get stuck,
    Sean.

    Thread Starter outsyderadventures

    (@outsyderadventures)

    Hi again,
    Thanks so much for your input, it really has been very much appreciated!
    I have contacted Bluehost who restored my site from their last back up. Surprisingly, everything was there!
    I will take your advice about Filezilla too.
    Cheers & have a good one!
    katie

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘lost my website, oh heck what have I done?!!’ is closed to new replies.