Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Author name and bio in only one parent category.


  #1  
Old Mar 4, 2010, 02:51 PM
ortixia
 
48 posts · Nov 2009
Salt Spring Island, BC, Canada
i would like to amend the code for the single post byline to show authors name, only for certain categories. As well, i would like the authors description/bio at the bottom of these posts.

I have two main categories in my site. One is "projects". the other is "articles". I need the articles to feature authors, but not the projects.

Would you know where/how i could amend the code to do this, or is there a plug-in i could use.

thank you once again. This is the best theme ever.
  #2  
Old Mar 5, 2010, 04:58 AM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
take a look at ATO->Edit POST/PAGE INFO ITEMS you can set what ever you want (of the options) in what ever section you want. If you look at the lines just about 'KICKER: Homepage' you will see you can even add a php IF statement to put in the logic to control what shows when
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 5, 2010, 02:26 PM
ortixia
 
48 posts · Nov 2009
Salt Spring Island, BC, Canada
okay...
i am still learning ...
the syntax doesn't seem right here.... but how would you work with this?

<?php if ( in_category(15)) %author-link% ?>
  #4  
Old Mar 5, 2010, 07:35 PM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try it like this
<?php if ( in_category(15)) { ?> %author-link% <?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 Mar 8, 2010, 02:00 PM
ortixia
 
48 posts · Nov 2009
Salt Spring Island, BC, Canada
This works great. Thank you so much.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
showing child category menus when selected the parent category mlluch Page & Category Menu Bars 6 Apr 27, 2011 01:12 PM
Subscribe to Posts by category or author alby RSS, Feeds & Subscribing 2 Jan 24, 2010 06:01 AM
[SOLVED] Author bio &amp; photo in sidebar valis Sidebars & Widgets 7 Oct 16, 2009 05:06 AM
Author Pages (again) - display bio, links, etc? theangryblackwoman Atahualpa 3 Wordpress theme 1 Jun 10, 2009 08:37 AM


All times are GMT -6. The time now is 07:02 AM.


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