WordPress.org

Ready to get started?Download WordPress

Forums

SRG Clean Archives not working (4 posts)

  1. brooksr
    Member
    Posted 7 years ago #

    Ok, I have SRG Clean Archives installed and activated.

    And I pasted <?php srg_clean_archives(); ?> into sidebar.php, but nothing appeared on my webpage.

    1. How do I make it appear?

    2. I'm using Sidebar Widgets and SRG CA does not seem to be a widget, so where does SRG display in relation to the widgets?

    Thanks,

    Brooks

  2. Eric Amundson
    Volunteer Moderator
    Posted 7 years ago #

    Hi Brooks,

    Don't know what to tell you here as I've not used it. Did you try posting to the developer's blog, or contacting him?

  3. rudolf45
    Member
    Posted 7 years ago #

    Isn't that plugin for displaying your list of archived posts in a Page (as it is in the author's demo)?

  4. brooksr
    Member
    Posted 7 years ago #

    Yes, that's right. See below where I pasted in:

    <?php srg_clean_archives(); ?>

    Do I have it in the wrong place?

    Brooks

    <div id="sidebar">

      <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>

    • <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    • <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.

    • <h2>Author</h2>
      <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    • -->

    • <?php /* If this is a 404 page */ if (is_404()) { ?>
      <?php srg_clean_archives(); ?>
      <?php /* If this is a category archive */ } elseif (is_category()) { ?>
      <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>

Topic Closed

This topic has been closed to new replies.

About this Topic