WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing title and page break from category page (1 post)

  1. Miz.Michele
    Member
    Posted 1 year ago #

    I am trying to use blog posts for RSS feeds and do not want the archives for whatever category to show on top of the page.

    There is no category template in this theme so I went into the archive template and could get the categories for - - out but not the entire name. Each time I try I get an error. This is what it looked like.

    The site is up hotvegasinfo.com I want the category page to look like the blog page on top.

    Can anyone tell me what to do?

    '<?php if (have_posts()) : ?>
    	<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    		<?php /* If this is a category archive */ if (is_category()) { ?>
          		<h1 class="pagetitle"><?php printf(__('Archive for the ā€˜%sā€™ Category', 'andreas09'), single_cat_title('', false)); ?></h1>'


    [Please use the backticks (not apostrophes) for posting code]

Topic Closed

This topic has been closed to new replies.

About this Topic