Need Help with Sidebar.php Please!

29 replies
  • WEB DESIGN
  • |
I'm creating a new wp site and the sidebar 2 is messed up

Can someone take a look? I can pm the code that is presently in there and maybe someone might know what I should change?

Thanks

Here is the site:

LapTop Computer

Its messed up under the search box (its quite obvious) lol
#sidebarphp
  • Profile picture of the author sean3838
    Hey, what are you trying to do with it? Did you just want it moved down? I don't really see the problem.
    {{ DiscussionBoard.errors[5526771].message }}
  • Profile picture of the author joyfulwraps
    ok...I'm in Appearances>Editor>Sidebar is there a head section?
    {{ DiscussionBoard.errors[5527514].message }}
  • {{ DiscussionBoard.errors[5527529].message }}
    • Profile picture of the author sean3838
      Originally Posted by joyfulwraps View Post

      I put it before the closing code and it didn't change anything
      I'm not that familiar with wordpress but I'm sure there is a menu to edit your html. Find that and within the <head></head> section paste that code.
      {{ DiscussionBoard.errors[5527549].message }}
      • Profile picture of the author sean3838
        Ok nvm I see it is in ur head section. I'll look deeper into this bare with me.
        {{ DiscussionBoard.errors[5527556].message }}
  • Profile picture of the author joyfulwraps
    OK...found the header under Editor and put it before the closing header tags and nothing changed. Now what?
    {{ DiscussionBoard.errors[5527542].message }}
  • Profile picture of the author joyfulwraps
    I will. I'm not experienced with php code to fix this. It is weird though that this is showing up in IE but not in Firefox.
    {{ DiscussionBoard.errors[5527571].message }}
    • Profile picture of the author sean3838
      In the mean time try putting it right after your head section before everything else. Not at the very bottom.
      {{ DiscussionBoard.errors[5527596].message }}
  • Profile picture of the author joyfulwraps
    Still no change after putting it in the top of the header section.
    {{ DiscussionBoard.errors[5527625].message }}
    • Profile picture of the author sean3838
      Might be this:
      Code:
      <IFRAME id=google_ads_frame1 height=600 marginHeight=0 
      src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-&amp;output=html&amp;h=600&amp;slotname=1136815707&amp;w=160&amp;lmt=1328046948&amp;ea=0&amp;flash=11.0.1.152&amp;url=http%3A%2F%2Flaptop-money.com%2F&amp;dt=1328046948495&amp;shv=r20120125&amp;jsv=r20110914&amp;saldr=1&amp;correlator=1328046948602&amp;frm=20&amp;adk=3826616375&amp;ga_vid=2142678978.1328046949&amp;ga_sid=1328046949&amp;ga_hid=982484931&amp;ga_fc=0&amp;u_tz=-300&amp;u_his=0&amp;u_java=1&amp;u_h=800&amp;u_w=1280&amp;u_ah=770&amp;u_aw=1280&amp;u_cd=32&amp;u_nplug=0&amp;u_nmime=0&amp;dff=trebuchet%20ms&amp;dfs=13&amp;adx=825&amp;ady=220&amp;biw=1259&amp;bih=639&amp;oid=3&amp;fu=0&amp;ifi=1&amp;dtd=232" 
      frameBorder=0 width=160 allowTransparency name=google_ads_frame1 marginWidth=0 
      scrolling=no></IFRAME>
      It's an ad frame for google I don't see the point in it being there. Try just deleting that code in your html. Make sure you copy it somewhere just in case you need to put it back in there.

      You might see it as this:

      Code:
      <script type="text/javascript"><!-- google_ad_client = "pub-"; google_ad_slot = "1136815707"; google_ad_width = 160; google_ad_height = 600; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
      {{ DiscussionBoard.errors[5527663].message }}
      • Profile picture of the author joyfulwraps
        I don't see anything like either one of those pieces of code.

        Originally Posted by sean3838 View Post

        Might be this:
        Code:
        <IFRAME id=google_ads_frame1 height=600 marginHeight=0 
        src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-&amp;output=html&amp;h=600&amp;slotname=1136815707&amp;w=160&amp;lmt=1328046948&amp;ea=0&amp;flash=11.0.1.152&amp;url=http%3A%2F%2Flaptop-money.com%2F&amp;dt=1328046948495&amp;shv=r20120125&amp;jsv=r20110914&amp;saldr=1&amp;correlator=1328046948602&amp;frm=20&amp;adk=3826616375&amp;ga_vid=2142678978.1328046949&amp;ga_sid=1328046949&amp;ga_hid=982484931&amp;ga_fc=0&amp;u_tz=-300&amp;u_his=0&amp;u_java=1&amp;u_h=800&amp;u_w=1280&amp;u_ah=770&amp;u_aw=1280&amp;u_cd=32&amp;u_nplug=0&amp;u_nmime=0&amp;dff=trebuchet%20ms&amp;dfs=13&amp;adx=825&amp;ady=220&amp;biw=1259&amp;bih=639&amp;oid=3&amp;fu=0&amp;ifi=1&amp;dtd=232" 
        frameBorder=0 width=160 allowTransparency name=google_ads_frame1 marginWidth=0 
        scrolling=no></IFRAME>
        It's an ad frame for google I don't see the point in it being there. Try just deleting that code in your html. Make sure you copy it somewhere just in case you need to put it back in there.

        You might see it as this:

        Code:
        <script type="text/javascript"><!-- google_ad_client = "pub-"; google_ad_slot = "1136815707"; google_ad_width = 160; google_ad_height = 600; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
        {{ DiscussionBoard.errors[5527717].message }}
        • Profile picture of the author sean3838
          It's in your body section.

          Code:
          <SCRIPT type=text/javascript><!--
          google_ad_client = "pub-";
          google_ad_slot = "1136815707";
          google_ad_width = 160;
          google_ad_height = 600;
          //-->
          </SCRIPT>
          
          <SCRIPT type=text/javascript 
          src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
          </SCRIPT>
          
          <SCRIPT 
          src="http://pagead2.googlesyndication.com/pagead/js/r20120125/r20110914/show_ads_impl.js"></SCRIPT>
          
          <SCRIPT 
          src="http://pagead2.googlesyndication.com/pagead/render_ads.js"></SCRIPT>
          
          <SCRIPT>google_protectAndRun("render_ads.js::google_render_ad", google_handleError, google_render_ad);</SCRIPT>
          <IFRAME id=google_ads_frame1 height=600 marginHeight=0 
          src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-&amp;output=html&amp;h=600&amp;slotname=1136815707&amp;w=160&amp;lmt=1328046948&amp;ea=0&amp;flash=11.0.1.152&amp;url=http%3A%2F%2Flaptop-money.com%2F&amp;dt=1328046948495&amp;shv=r20120125&amp;jsv=r20110914&amp;saldr=1&amp;correlator=1328046948602&amp;frm=20&amp;adk=3826616375&amp;ga_vid=2142678978.1328046949&amp;ga_sid=1328046949&amp;ga_hid=982484931&amp;ga_fc=0&amp;u_tz=-300&amp;u_his=0&amp;u_java=1&amp;u_h=800&amp;u_w=1280&amp;u_ah=770&amp;u_aw=1280&amp;u_cd=32&amp;u_nplug=0&amp;u_nmime=0&amp;dff=trebuchet%20ms&amp;dfs=13&amp;adx=825&amp;ady=220&amp;biw=1259&amp;bih=639&amp;oid=3&amp;fu=0&amp;ifi=1&amp;dtd=232" 
          frameBorder=0 width=160 allowTransparency name=google_ads_frame1 marginWidth=0 
          scrolling=no></IFRAME>
          {{ DiscussionBoard.errors[5527746].message }}
          • Profile picture of the author sean3838
            If you can't find it just copy your source code here I'll find it for you. It might look different because you are using a different browser. Or older version of IE.
            {{ DiscussionBoard.errors[5527781].message }}
  • Profile picture of the author joyfulwraps
    yeah...I already saved the original code.

    I will give it a try.
    {{ DiscussionBoard.errors[5527697].message }}
  • Profile picture of the author webpeon
    its most likely a problem with adsense, seen it before... most times caused by mismatched start end tags, or commented out code. the reason you are only seeing it in IE is because alot of browsers will auto correct alot of errors for you and it seems in tis case IE is not which at a quick glance it could be this commented out area...

    <!--
    google_ad_client = "pub-";
    google_ad_slot = "1136815707";
    google_ad_width = 160;
    google_ad_height = 600;
    //-->

    try removing the comment brackets, (<!-- //-->) so it looks like this

    google_ad_client = "pub-";
    google_ad_slot = "1136815707";
    google_ad_width = 160;
    google_ad_height = 600;
    Signature
    Web 2 Mobile
    The Future of The Web
    {{ DiscussionBoard.errors[5527798].message }}
    • Profile picture of the author joyfulwraps
      I removed the comment brackets and it is still there.

      Originally Posted by webpeon View Post

      its most likely a problem with adsense, seen it before... most times caused by mismatched start end tags, or commented out code. the reason you are only seeing it in IE is because alot of browsers will auto correct alot of errors for you and it seems in tis case IE is not which at a quick glance it could be this commented out area...

      <!--
      google_ad_client = "pub-";
      google_ad_slot = "1136815707";
      google_ad_width = 160;
      google_ad_height = 600;
      //-->

      try removing the comment brackets, (<!-- //-->) so it looks like this

      google_ad_client = "pub-";
      google_ad_slot = "1136815707";
      google_ad_width = 160;
      google_ad_height = 600;
      {{ DiscussionBoard.errors[5527867].message }}
      • Profile picture of the author sean3838
        Just delete the section i told you to delete you really don't need it there. Or show the exact code you have. You may need to set allowTransparency=true
        {{ DiscussionBoard.errors[5527893].message }}
  • Profile picture of the author joyfulwraps
    Yeah...finally success!

    Removing the code worked...it was found in the sidebar section.

    Thanks for all the help Sean.
    {{ DiscussionBoard.errors[5527904].message }}
    • Profile picture of the author sean3838
      Np glad it worked out for you
      {{ DiscussionBoard.errors[5527916].message }}
  • Profile picture of the author webpeon
    nah its gone, try clearing your cache and restarting IE
    Signature
    Web 2 Mobile
    The Future of The Web
    {{ DiscussionBoard.errors[5527911].message }}
  • Profile picture of the author webpeon
    definitely a job well done sean...

    apologies if it seemed i was hijacking your thread, wasnt my intention
    Signature
    Web 2 Mobile
    The Future of The Web
    {{ DiscussionBoard.errors[5527919].message }}
  • Profile picture of the author joyfulwraps
    no apologies necessary webpeon...you were doing a good thing to try and help too, and I appreciate it.
    {{ DiscussionBoard.errors[5527933].message }}

Trending Topics