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 » Excerpts, Read more, Pagination »

Category title on category page, not on each post excerpt kicker


  #1  
Old May 12, 2009, 11:32 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
http://www.larchmontgazette.com/?cat=5

I want the words Career Doctor to appear as a title for the whole page here, and not have to have it appear at the top of each excerpt in this category. I can't figure out how to do this using the theme options.

I'd also like the category titles like this to be bolded or otherwise more like titles.
  #2  
Old May 13, 2009, 07:33 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You could put this into index.php right after <?php get_header(); ?>

PHP Code:
<?php if ( is_category() ) { ?><h3><?php single_cat_title(''); ?></h3><?php ?>

Last edited by Flynn; Jun 20, 2009 at 10:49 PM. Reason: Fixed missing } ... Thanks, Juggledad
  #3  
Old Jun 19, 2009, 03:16 PM
janey73
 
15 posts · Jun 2009
I get a syntax error when I copy and paste this line into the designated place in the code. Please advise.
  #4  
Old Jun 20, 2009, 10:39 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There is a missing '{' in the code, use this instead
HTML Code:
<?php if ( is_category() ) { ?><h3><?php single_cat_title(''); ?></h3><?php } ?> 
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 22, 2009, 12:33 PM
janey73
 
15 posts · Jun 2009
Excellent! Thank you so much! That did it.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I put the category name at the top of a category page? janey73 Header configuration & styling 5 Jan 4, 2012 03:37 PM
Images in post not showing on Category, Archive, or Tag page Tart Atahualpa 3 Wordpress theme 9 Jan 21, 2011 01:47 PM
Category Page Listing - How to display: Post Title only TotalBalance Excerpts, Read more, Pagination 16 Jan 27, 2010 01:22 PM
[SOLVED] removing sticky post from category page creativeliza Post-Kicker, -Byline & -Footer 10 Nov 10, 2009 04:56 AM
category pages - with just the linked title, author, date of each related post janey73 Atahualpa 3 Wordpress theme 2 Jun 25, 2009 02:11 PM


All times are GMT -6. The time now is 11:57 PM.


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