Check out THEMEFRAME Beta
Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get support from the author &
additional benefits (soon), based on your donation level. Your forum name will be highlighted.
Not a member yet? You can still donate. And once you become a forum member, send a Private Message ("PM") to Flynn mentioning your Paypal email address so your donation can be added to your user name.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Category Display


  #1  
Old Sep 27, 2009, 02:16 PM
yunusb2k
 
11 posts · Sep 2009
Dear,

How can I display Current Category (on category page )

Example : My categories Hosting, PHP, Server.... ok

when i click on any category they are showing me my post but i want to display Current Category Name on page after that my post showing me like headline "You are Viewing >> Category Name"

Thanks
  #2  
Old Sep 27, 2009, 05:54 PM
juggledad's Avatar
juggledad
 
7,953 posts · Mar 2009
OSX 10.5.8/10.6.2 WP 2.8.x/2.9.x/3.0 Atahualpa 3.2/3.3.x/3.4.x/3.5.x Safari 4.0.3 Firefox 3.5.3 XP/I
Gold Member 
insert the following at the bottom of ATO->Style & edit CENTER COLUMN->Content ABOVE the LOOP

HTML Code:
<?php if ( is_category() ) { ?><h1><?php single_cat_title(''); ?></h1><br><?php } ?>
__________________
Please donate if my support has been of value. Choose the PayPal button JUGGLEDAD.
  #3  
Old Sep 27, 2009, 08:09 PM
yunusb2k
 
11 posts · Sep 2009
Quote:
Originally Posted by juggledad
insert the following at the bottom of ATO->Style & edit CENTER COLUMN->Content ABOVE the LOOP

HTML Code:
<?php if ( is_category() ) { ?><h1><?php single_cat_title(''); ?></h1><br><?php } ?>
Thanks for Support.. Please tel me how can i show description of categories at above with categories
  #4  
Old Sep 28, 2009, 06:10 AM
juggledad's Avatar
juggledad
 
7,953 posts · Mar 2009
OSX 10.5.8/10.6.2 WP 2.8.x/2.9.x/3.0 Atahualpa 3.2/3.3.x/3.4.x/3.5.x Safari 4.0.3 Firefox 3.5.3 XP/I
Gold Member 
try this
HTML Code:
<?php if ( is_category() ) { ?>
	<div><strong><?php single_cat_title(); ?>
	</strong> <?php echo category_description(); ?></div> 
<?php	} ?>
__________________
Please donate if my support has been of value. Choose the PayPal button JUGGLEDAD.
  #5  
Old Oct 5, 2009, 04:12 PM
cyboc
 
8 posts · Sep 2009
Quote:
Originally Posted by juggledad
try this
HTML Code:
<?php if ( is_category() ) { ?>
	<div><strong><?php single_cat_title(); ?>
	</strong> <?php echo category_description(); ?></div> 
<?php	} ?>
Thanks for this excellent tip juggledad. I rolled your solution into a similar solution but made the category description only show on the first page of a category and category name show on all pages. Nevertheless, I could not have arrived at that solution without your tip. Thanks again!

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Uncategoried Category from the Display pkmittal81 Page & Category Menu Bars 2 Apr 16, 2010 07:06 PM
Category Page Listing - How to display: Post Title only TotalBalance Excerpts, Read more, Pagination 16 Jan 27, 2010 12:22 PM
how to horizontally display the Category Posts Widget ? bryan85 Plugins & Atahualpa 0 Sep 6, 2009 06:28 PM
[SOLVED] category widget can not display inline in v3.4 duping812 New Versions, & Updating 5 Jul 11, 2009 11:10 AM
[SOLVED] category page list...display images too? joshimotions Excerpts, Read more, Pagination 1 Jun 21, 2009 09:56 AM


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


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