Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter whispergold

    (@whispergold)

    please help:)

    Thread Starter whispergold

    (@whispergold)

    anybody got any suggestions?

    thanks

    Thread Starter whispergold

    (@whispergold)

    I tried changed to the following but it did not make any difference. I also down loaded the template against and reinstalled it, but this did not make any difference. Also noticed that any changes made in this template do not appear on the site. Any ideas?

    thanks

    <?php /* #####################################################################

    ####### Widgetized RIGHT sidebar area starts here ########

    ####### The stuff below will dissapear once you start ########

    ####### to add widgets to the right sidebar ########

    ##################################################################### */?>

    <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(2) ) : ?>

    Thread Starter whispergold

    (@whispergold)

    can anybody please, please help, I’m now hitting my head against the wall and that is still not helping:)

    Thread Starter whispergold

    (@whispergold)

    sorry what is a “closing tab”

    Thread Starter whispergold

    (@whispergold)

    hi whooami, not using a caching plugin.

    Thread Starter whispergold

    (@whispergold)

    This is the sidebar2.php of the atahualpa theme.

    I have taken out where I put the crosses and Adsence code, but it is still on the site. Also tried to reinstall the theme, but this does not work. So think it may have been copied onto another page or something (very new this wp but trying very hard!).

    thanks

    Thread Starter whispergold

    (@whispergold)

    <?php

    global $options;

    foreach ($options as $value) {

    if (get_settings( $value[‘id’] ) === FALSE) { $$value[‘id’] = $value[‘std’]; } else { $$value[‘id’] = get_settings( $value[‘id’] ); } }

    ?>

    <?php if ($ata_rightcolumn_width != 0) { ?>

    <?php # from here up to line 106 the contents are “hardcoded” into the theme and won’t dissapear

    # even after you dropped widgets into this right sidebar. If you want to change this first,

    # upper part of the right sidebar, you’ll need to do it manually. ?>

    <?php if (is_home() OR is_category() OR is_single()) { ?>

    test2

    <?php if (is_home()) { ?>

    test3

    <?php if (function_exists(‘mdv_most_commented’)) { ?>

    <h3 class=”widgettitle”>Popular Posts</h3>

      <?php # The first number (10) is max amount of posts displayed,

      # the last number (365) is how old (days) posts can be to be included here.

      # Don’t change the other parts. Salt to taste:

      mdv_most_commented(10, ‘

    • ‘, ‘
    • ‘, false, 365); ?>

    <?php } ?>

    <?php if (function_exists(‘src_simple_recent_comments’)) { ?>

    <h3 class=”widgettitle”>Recent Comments</h3>

      <?php src_simple_recent_comments(); ?>

    <?php } ?>

    <?php } ?>

    <?php if (is_category()) { ?>

    <?php if (function_exists(‘mdv_most_commented_per_cat’)) { ?>

    <?php $current_cat_id = get_query_var(‘cat’);

    # The first number (10) is max # of posts displayed,

    # the last number (365) is how old (days) posts can be to be included here.

    # Don’t change the other parts. Salt to taste:

    $popular_in_this_cat = mdv_most_commented_per_cat(10, ‘

    • ‘, ‘
    • ‘, false, 365, $current_cat_id);

      if ($popular_in_this_cat != “None found”) { ?>

      <h3 class=”widgettitle”>Popular in <?php single_cat_title(); ?></h3>

      <?php echo $popular_in_this_cat; ?>

    <?php } ?>

    <?php } ?>

    <h3 class=”widgettitle”>Recent Posts</h3>

      <?php wp_get_archives(‘type=postbypost&limit=5&format=html&before=&after=’); ?>

    <?php } ?>

    <?php if (is_single()) { ?>

    <?php if (function_exists(‘related_posts’)) { ?>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <?php # The “related posts” will only display if you’ve installed

    # the “related posts” plugin from https://www.w-a-s-a-b-i.com

    # Note: The original one from wasabi will not work as expected in this theme.

    # The MODIFIED version of that plugin should have been included with this theme. If not,

    # download this theme again at wordpress.bytesforall.com to get the modified plugin.

    # The first number (5) is max # of posts displayed,

    # the second number (10) is length of post excerpt (words) to show.

    # Salt to taste:

    $current_related_posts = related_posts(5, 10, ‘

    • ‘, ‘
    • ‘, ”, ”, false, false);

      if ($current_related_posts != “No related posts”) { ?>

      <h3 class=”widgettitle”>Related Posts</h3>

      <?php echo $current_related_posts; ?>

    <?php } ?>

    <?php endwhile; endif; } ?>

    <h3 class=”widgettitle”>Recent Posts</h3>

      <?php wp_get_archives(‘type=postbypost&limit=5&format=html&before=&after=’); ?>

    <?php } ?>

    <?php # for pages that are not single posts, category pages or the homepage, show this:

    } else { ?>

    <h3 class=”widgettitle”>Recent Posts</h3>

      <?php wp_get_archives(‘type=postbypost&limit=5&format=html&before=&after=’); ?>

    <?php if (function_exists(‘mdv_most_commented’)) { ?>

    <h3 class=”widgettitle”>Popular Posts</h3>

      <?php # The first number (10) is max amount of posts displayed,

      # the last number (365) is how old (days) posts can be to be included here.

      # Don’t change the other parts. Salt to taste:

      mdv_most_commented(10, ‘

    • ‘, ‘
    • ‘, false, 365); ?>

    <?php } ?>

    <?php } ?>

    <?php /* #####################################################################

    ####### Widgetized RIGHT sidebar area starts here ########

    ####### The stuff below will dissapear once you start ########

    ####### to add widgets to the right sidebar ########

    ##################################################################### */

    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(2) ) : ?>

    <h3 class=”widgettitle”>Links</h3>

      <?php wp_list_bookmarks(‘title_li=&categorize=&title_before=&title_after=’); ?>

    <h3 class=”widgettitle”>Meta</h3>

      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • <?php wp_meta(); ?>

    <?php endif; ?>

    <?php } ?>

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