• Resolved cuteirka

    (@cuteirka)


    Hey Everyone,

    This is my first post on the wordpress forums and I’m hoping someone can help me with 2 annoying issues I’m having. My wordpress site is: invisalignfacts.com

    1. Why can’t I remove the archives and blogroll on the right, and the recent posts/tags/calendar in the middle column? I went to the widgets page, and none of these ‘widgets’ are in use. I’m thinking this template I am using comes preinstalled with these widgets?

    2. There is a sidebar that allows for unlimited 125×125 banners. The instructions are Each new banner should be in new line with using the following format:
    http://yourbannerurl.com/banner.gif, http://theurl.com/to_link.html
    I’d really like to put adsense ad units here, but doesn’t seem like I can with this format. Any ideas?

    Thanks in advance for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1.
    what you see are no widgets in the real sense, but spacehaolder functions in the sidebar, which should disappear if you drag real widgets into the widgets areas (dashboard – appearance – widgets)

    if you want to get rid of the spaceholder code, without adding your own widgets, you will need to edit sidebar.php – see below.

    2.
    you may need to edit sidebar.php(? – could be a different file) and manually change the code in the area of the 125ads.

    if you need help, you could paste the code of sidebar.php(?) into a http://wordpress.pastebin.com/ and post the link to it here.

    Thread Starter cuteirka

    (@cuteirka)

    Thank you for your response! Issue 1 has been resolved, thank you!

    As for 2, not sure what to do, here is the link for the code, any suggestions? Thank you!

    http://wordpress.pastebin.com/raw.php?i=pZKhEetF

    could be this area of the code:

    <?php if(get_theme_option('ads_125') != '') {
            		?>
            		<div class="sidebaradbox125">
            			<?php sidebar_ads_125(); ?>
            		</div>
            	<?php } ?>

    try to replace it with your adsense code, so theat the above looks like so for instance:

    <div class="sidebaradbox125">
    
    <script type="text/javascript"><!--
    google_ad_client = "pub-012yournumbers1234123";
    /* ads */
    google_ad_slot = "1234512345";
    google_ad_width = 120;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
            		</div>

    OR
    if you want to keep the wp125 option, try to change the top code to something like this:

    <?php if(get_theme_option('ads_125') != '') {
            		?>
            		<div class="sidebaradbox125">
    YOUR ADSENSE CODE HERE
            			<?php sidebar_ads_125(); ?>
            		</div>
            	<?php } ?>

    (subject to adjustments in the formatting)

    Thread Starter cuteirka

    (@cuteirka)

    Thank you once again 🙂 Problem solved!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘2 issues – can't remove widgets and ad format doesnt accept adsense’ is closed to new replies.