• Resolved dirkpb

    (@dirkpb)


    I just recently got my blog going,it is hosted.I tried to edit my blog template.Its a three column blog.In the left side sidebar I have the code for goggle ads,amazon.
    I had my blog designed and built by someone I hired.
    Anyway I tried to change the goggle ad banner using the copy and paste code provided by goggle ad.
    After deleting the goggle ad ,I then pasted the new google code to that section,and then hit the update template button.
    I then went to “view your site”,but all I see is the top section of my blog,where the title is.The rest of the blog is empty.
    Any ideas….

    https://www.gimpchronicles.com/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Nicki Faulk

    (@nitallica)

    It looks to me like sections of your code may be missing. Did you make a backup of the template files before you started editing? It’s possible that an extra div or a closing tag was accidentally removed.

    If you have a backup of the original, you may need to put that back in place and take out small portions bit by bit until you get it looking the way you want.

    moshu

    (@moshu)

    1. I always said the online template editor should be banned, so anybody wanting to have their own website should learn how to be a “webmaster” = editing files offline and uploading them via FTP.
    2. Since nobody knows what you did… there are no ideas.
    3. Hopefully you have a backup copy of your original file from your designer, so just upload the original version and don’t touch the files until you learn what you are doing.

    Nicki Faulk

    (@nitallica)

    I’m ashamed to admit that I use the online template editor … but it’s usually ONLY for emergency edits while I’m at work or otherwise away from my home computer. (it adds extras spaces to my template files when I do this, so it’s yet another incentive for me NOT to muck around online! LOL)

    Perhaps it could be modified to where the option is disabled by default and would have to be turned on in a well-hidden option?

    Thread Starter dirkpb

    (@dirkpb)

    So does this mean the rest of my blog is gone.All I deleted was the Google ad in the left sidebar.When I click on edit template I still see the rest of the code etc,including the new code I copied and pasted that makes up the rest of the blog.
    I had a blogger blog once and template changes were very simple,find area one wants to paste code,hit upload and its done.Whats different about WordPress
    Would the host provider have something to do with this,maybe I have to update at the login site to my account set up by the host provider.
    changes made to the template at the WordPress site ,do they show up on ones blog automatically,or does one need to change something over at my host account.

    Thread Starter dirkpb

    (@dirkpb)

    One other thing If I only messed with the goggle ad code,in the left side bar why does this effect everything else.Would not only the Google ad not show or be affected

    https://www.gimpchronicles.com/

    vkaryl

    (@vkaryl)

    Well, your content’s still in the database. You just need to upload the original theme files again.

    Thread Starter dirkpb

    (@dirkpb)

    Where do I upload theme from my host account or from Word press dashboard
    Below is all the code in my left sidebar,the google code I pasted is shown also:

    <div id="leftside">

    <h2>support this site when you shop</h2>
    <a href="https://www.nosweatapparel.com/miva/merchant.mvc?Screen=SFNT&Store_Code=N&Affiliate=dirk"><IMG SRC="https://nosweatapparel.com/miva/graphics/00000001/artstrike/rosie_k120x240.gif" ALT="No Sweat Apparel.com" BORDER="0"></A>
    <iframe src="https://rcm-ca.amazon.ca/e/cm?t=aclassact02-20&o=15&p=20&l=qs1&f=ifr"

    width="120" height="90" frameborder="0" scrolling="no"></iframe>
    <script type="text/javascript"><!--
    google_ad_client = "pub-4903459732390178";
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = "120x600_as";
    google_ad_type = "text_image";
    google_ad_channel = "";
    //--></script>
    <script type="text/javascript"

    src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

    <!-- <h2>Links</h2> -->
    <?php get_links_list('id'); ?>

    <h2>tech stuff</h2>
    <!-- Site Meter -->
    <script type="text/javascript" src="https://s28.sitemeter.com/js/counter.js?site=s28gimps">
    </script>
    <noscript>
    </a><a href="https://s28.sitemeter.com/stats.asp?site=s28gimps">
    <img src="https://s28.sitemeter.com/meter.asp?site=s28gimps" alt="Site Meter" border="0"/></a>
    </noscript>
    <!-- Copyright (c)2006 Site Meter -->
    </div>

    <?php endif; ?>

    </div>

    moshu

    (@moshu)

    1. Nobody can read it here. Paste your WHOLE sidebar code to https://wordpress.pastebin.ca and post back the URI.
    2. If you have and “end if” – there should be a “start” for that if, too…

    Thread Starter dirkpb

    (@dirkpb)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘template edit problems’ is closed to new replies.