Forums

[resolved] template edit problems (10 posts)

  1. dirkpb
    Member
    Posted 5 years ago #

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

    http://www.gimpchronicles.com/

  2. Nicki Faulk
    Member
    Posted 5 years ago #

    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.

  3. moshu
    Member
    Posted 5 years ago #

    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.

  4. Nicki Faulk
    Member
    Posted 5 years ago #

    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?

  5. dirkpb
    Member
    Posted 5 years ago #

    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.

  6. dirkpb
    Member
    Posted 5 years ago #

    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

    http://www.gimpchronicles.com/

  7. vkaryl
    Member
    Posted 5 years ago #

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

  8. dirkpb
    Member
    Posted 5 years ago #

    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="http://www.nosweatapparel.com/miva/merchant.mvc?Screen=SFNT&Store_Code=N&Affiliate=dirk"><IMG SRC="http://nosweatapparel.com/miva/graphics/00000001/artstrike/rosie_k120x240.gif" ALT="No Sweat Apparel.com" BORDER="0"></A>
    <iframe src="http://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="http://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="http://s28.sitemeter.com/js/counter.js?site=s28gimps">
    </script>
    <noscript>
    </a><a href="http://s28.sitemeter.com/stats.asp?site=s28gimps">
    <img src="http://s28.sitemeter.com/meter.asp?site=s28gimps" alt="Site Meter" border="0"/></a>
    </noscript>
    <!-- Copyright (c)2006 Site Meter -->
    </div>

    <?php endif; ?>

    </div>

  9. moshu
    Member
    Posted 5 years ago #

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

  10. dirkpb
    Member
    Posted 5 years ago #

    left side bar code for blog:http://www.gimpchronicles.com/

    http://wordpress.pastebin.ca/246440

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags