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 » Center area post/pages »

How to put all posts from one author on a separate 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 26, 2012, 02:08 AM
gcstlmo
 
2 posts · Dec 2011
I am very new(self taught - no training) to all of this and am building my site locally using ATA 3.7.7 and WP 3.3.2.
I am trying to create a page that will have all the posts from a specific author (guest blogger 1) appear on a separate page (Guest blogger 1 page) than the posts page. From what I have found from searching I can do that if I add to the file index.php the following:

<?php
if ( is_Guest blogger 1 page() ) {
query_posts( array ( 'category_name' =>Guest Blogger 1 'category-slug', 'posts_per_page' => -1 )
}
?>

Is this correct?
If so, is there a way to limit the number of posts on the page? (is that advisable?)
Where do I add it in the index.php file?
Will it just show the post excerpt? (That's all I want it to show)So you click on more to read the rest.
Is there a better way?

If this is not correct -- HELP!
Thank You.
  #2  
Old Jun 26, 2012, 03:42 AM
juggledad's Avatar
juggledad
 
19,989 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
You could do thisusing the ' multi column/custom query' templete that is included with the theme. Look in the gold forum tutorials for directions

or you could try this plugin

Last edited by juggledad; Jun 26, 2012 at 05:24 AM.
  #3  
Old Jun 26, 2012, 11:33 PM
gcstlmo
 
2 posts · Dec 2011
Thanks for your reply Still haven't figured it out but I will and trying to do without a plugin. If I haven't by the time I need this element I'll make the site live and be back. thanks again.

Bookmarks

Tags
custom post types, pages

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to Add Author Description to Page generated by &quot;%author-posts-link%&quot; Steve41 Post-Kicker, -Byline & -Footer 3 Dec 15, 2010 03:46 PM
Styling %author% and %author-posts-link% Aris Post-Kicker, -Byline & -Footer 2 Jul 6, 2010 10:34 PM
Adding space in category meny bar + separate RSS for separate categories? jenny_li Page & Category Menu Bars 2 May 10, 2010 05:57 AM
Making separate pages to display posts by category; also, how to embed WP page Eric Bobrow Atahualpa 3 Wordpress theme 1 Dec 2, 2009 12:34 AM
Static Home page, separate tab for posts pbravin Page & Category Menu Bars 1 Feb 24, 2009 07:55 AM


All times are GMT -6. The time now is 01:00 PM.


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