WordPress.org

Forums

How to remove right ads in template theme 109 (7 posts)

  1. tinaandrews
    Member
    Posted 5 years ago #

    Can anyone help me to remove the 4 right ads off the template of the theme 109. See on my website http://www.lifecoachingtherapy.co.za. I did manage to delete the code out of the template 'right ads' but the space is still empty then. I need to move the whole right bar up in place of the 4 right ads.

  2. Samuel B
    moderator
    Posted 5 years ago #

  3. bettyyin
    Member
    Posted 5 years ago #

    Hi
    Find the "div" with class of "rightads" delete it
    ok!!

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    When I tired that with Firebug, the rest of the sidebar content didn't move up as expected. At this point, I've no idea why...

  5. tinaandrews
    Member
    Posted 5 years ago #

    This is the SIDE BAR template below. I removed this area from <?php....all the way to ></div>. So the code is now from <div id="sidebar"> <?php if ( !function_exists('dynamic_sidebar') etc etc... Rightads have gone but I still have the blank area on my sidebar.

    <div id="sidebar">
    <?php
    if (is_single()) {
    include (TEMPLATEPATH . '/rightads.php');
    }
    ?>
    <div class="clear"></div>

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>
    <div class="sidebar_container">
    <h2>Pages</h2>

      <?php wp_list_pages('title_li='); ?>

    <div class="sidebar_bottom"></div>
    </div>
    <div class="sidebar_container">
    <h2>Categories</h2>

      <?php wp_list_categories('title_li='); ?>

    <div class="sidebar_bottom"></div>
    </div>
    <div class="sidebar_container">
    <h2>Archives</h2>

      <?php wp_get_archives('type=monthly'); ?>

    <div class="sidebar_bottom"></div>

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    Try removing:

    <?php
    if (is_single()) {
    include (TEMPLATEPATH . '/rightads.php');
    }
    ?>
    <div class="clear"></div>
  7. tinaandrews
    Member
    Posted 5 years ago #

    That is already removed. But still I have the empty space on the sidebar. If anyone can assist I will really appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Topic