WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Move archive widget (7 posts)

  1. poolguru
    Member
    Posted 4 years ago #

    Hello,
    I have just installed the Fusion theme and have a few problems.
    When i click on a post within a category i have created it shows... Archive for category before the post title.
    Could anyone tell me how i stop this and also how i remove the archive widget from the sidebar

  2. MichaelH
    Member
    Posted 4 years ago #

    With the help of the Template Hierarchy article, determine what Template is displaying your category title (e.g. archive.php or category.php) then delete the code. For example, in the WordPress Default theme's wp-content/themes/default/archive.php that code is this:

    <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>

    You remove a widget via Appearances->Widgets. If not a widget, then could need to edit your theme's sidebar.php and delete the wp_get_archives code.

  3. poolguru
    Member
    Posted 4 years ago #

    wow... that seems so complicated.
    Do people normaly allow their post to be displyed like this.... Archive for category before the post title.
    I am a novice with all this, maybe i should just use another theme

  4. MichaelH
    Member
    Posted 4 years ago #

    I am a novice with all this, maybe i should just use another theme

    There are lot's to choose from:
    http://wordpress.org/extend/themes/

  5. poolguru
    Member
    Posted 4 years ago #

    Hello,
    Sorry, could i be a pain and ask you to explain this a little further so i maybe able to understand as i have looked at other themes and really like the fusion one.
    Kind regards

  6. MichaelH
    Member
    Posted 4 years ago #

    Sure...in your theme's archive.php

    change this line:

    <h1 class="pagetitle"><?php printf( __('Archive for category %s', 'fusion'), single_cat_title('', false)); ?></h1>

    to

    <h1 class="pagetitle"><?php //printf( __('Archive for category %s', 'fusion'), single_cat_title('', false)); ?></h1>
  7. poolguru
    Member
    Posted 4 years ago #

    Hello,
    That worked a treat, many thanx for your time helping me, much appreciated

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags