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 »

How to put all posts from one author on a separate page


  #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
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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 12:23 PM.


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