Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

How do I put the category name at the top of a category page?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 18, 2009, 07:57 PM
janey73
 
15 posts · Jun 2009
Right now when I click on a particular category, it doesn't show that category name at the top. It just starts with the first blog title.
  #2  
Old Jun 19, 2009, 05:45 AM
juggledad's Avatar
juggledad
 
21,713 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
see http://forum.bytesforall.com/showthr...ory+page+title
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Jun 19, 2009, 11:54 AM
janey73
 
15 posts · Jun 2009
Thanks, JuggleDad ...

I added the code as described but got a syntax error:

Here's the first 6 lines of the code. Did a copy and paste of the 4th line which caused the problem.


<?php // get all options:
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header(); ?>
<?php if ( is_category() ) ?><h3><?php single_cat_title(''); ?></h3><?php } ?>

<?php // If there are any posts:
if (have_posts()) : $postcount == 0; ?>
  #4  
Old Jun 20, 2009, 09:38 AM
juggledad's Avatar
juggledad
 
21,713 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
change the line to
HTML Code:
<?php if ( is_category() ) {?><h3><?php single_cat_title(''); ?></h3><?php } ?> 
note the '{' after 'is_category() )'
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #5  
Old Jan 4, 2012, 11:48 AM
twinisles
 
2 posts · Jan 2012
I am new to Atahualpa and so far like it very much. I am able to program but looking for a theme that can be configured through standard options and doesn't lose added code every time an update is released. I would also like the category title at the top of category listing pages and wonder if this has now been added as a configurable option before I start hacking the code? If not, could it please be considered for a future update.
Thanks in advance.
  #6  
Old Jan 4, 2012, 02:37 PM
lmilesw's Avatar
lmilesw
 
9,973 posts · Jul 2009
Central New York State USA
You won't lose changes you make to the theme options in an upgrade but you may have to move some images and make some path changes. This is not a big deal though. As for the category at the top there is not theme option for that but there may be plugins that do that or the custom query page template in the Gold Forum MAY do what you want.

I recommend against hacking the code as you then will have to redo any hacks after an upgrade.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Tags
category name

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing category order in category menu bar, not in sidebar cat. list paulae Page & Category Menu Bars 13 Mar 30, 2011 05:36 PM
Category title on category page, not on each post excerpt kicker paulae Excerpts, Read more, Pagination 4 Jun 22, 2009 11:33 AM
Please help: want to create fixed image for top of each category page WebWeaver Atahualpa 3 Wordpress theme 4 Jun 18, 2009 09:56 AM
How to place ads at top of category pages? RuthSmith Atahualpa 3 Wordpress theme 3 Feb 25, 2009 12:49 PM
Multi-Category Category Page justints Atahualpa 3 Wordpress theme 1 Feb 24, 2009 10:19 AM


All times are GMT -6. The time now is 08:29 AM.


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