Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Displaying a Title Above a Category Page


 
Prev Previous Post   Next Post Next
  #1  
Old Apr 6, 2013, 07:00 PM
vinceesq
 
32 posts · Jun 2011
Displaying a Title Above a Category Page

Hello,

I am trying to add a title to the category page. Let's say I have 5 cats and upon clicking each category, I'd like to have a title for the category to display above all the posts in that specific category. Therefore, I will need 5 different titles to be displayed for each category.

I tried to search for a solution in the forums here, however, nothing really worked for me. I tried solutions found in this thread: http://forum.bytesforall.com/showthr...category+pages but as I am using the latest version of the theme, I can't use php inserts. I did try to create a new widget area in the central column and add a text widget as suggested, but that would add a blanket title to all category pages and pages, and I need the title to be category specific.

I also found this suggestion at wordpress.org support forum:

__________________________________________________ ________
in category.php (or in archive.php, if the former does not exist)

after:

<div id="content">

add a line like this:

<?php if( is_category() ) { ?><h1 class="entry-title full-title"><?php single_cat_title(); ?></h1><?php } ?>
__________________________________________________ ____________

I think it pulls the category Name and uses it as the Title for the specific category (which would work for me), but we don't have category.php or archive.php in Atahualpa, so I am not sure if this solution is of any use to us.

Are there any easy solution?

Thanks for looking into this for me.
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to prevent the title 'Home' displaying on the home page? kitfreeman Center area post/pages 0 Jan 28, 2011 12:41 PM
[SOLVED] Home page title not displaying ... edkopec Atahualpa 3 Wordpress theme 7 Oct 6, 2010 07:43 PM
'Read More' not displaying on custom category-posts-in-a-page maija Excerpts, Read more, Pagination 2 Mar 8, 2010 04:29 PM
Category title on category page, not on each post excerpt kicker paulae Excerpts, Read more, Pagination 4 Jun 22, 2009 11:33 AM


All times are GMT -6. The time now is 05:25 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.