Tagged Questions
0
votes
1answer
110 views
Displaying posts limit: can't get pagination to display [duplicate]
Possible Duplicate:
Pagination not working with custom loop
I'm creating a custom page for logged in current users to view their posts. I would like to limit the number of displayed post to ...
0
votes
1answer
68 views
Exclude Authors based off date of last post
I have several writers that range from frequent to one-time writers for my blog. On my Author page, I would like to separate out writers that have not posted an article in 6 months. It would be nice ...
0
votes
1answer
80 views
Get the author of the latest revision
I would like to display the author (username) of the latest revision of a post from inside the loop.
I tried get_the_author(), which echoes the username and $post->post_author(), which returns the ...
0
votes
4answers
1k views
How to get Author ID outside the loop
I can't get the post author ID outside the loop to make the get_the_author_meta work. So far I've tried different approaches:
1.
$author_id=$post->post_author;
2.
global $post;
...
3
votes
1answer
179 views
How to show list of posts by author and category?
Let three categories and their IDs:
cat1 = 1 (parent)
cat2 = 2 (child of cat1, parent of cat3)
cat3 = 3 (child of cat2)
Let each category has 3 posts, they are: post1, post2, post3.
And each posts ...
0
votes
1answer
421 views
Display all authors and their only one latest post
OK so this one should be very easy although I just can't find a solution to that.
I have a website with many authors and posts.
I need to create a list of all authors and for each one display his ...
0
votes
2answers
206 views
Display Post Author Link above the loop
I am trying to display current post author link above the loop (before loop starts) with this tag the_author_posts_link() but it's not displaying the author post link. Anyone please help me.
Edited ...
0
votes
2answers
141 views
How to group the loop posts in a particular by author?
I have links going to category pages on a WordPress blog. These category pages show all the posts that are in that category and sub-categories. I want to group these lists by the authors.
I guess ...
3
votes
1answer
602 views
How to add author details in the post sidebar?
I would like to add author details in the sidebar instead of bottom of the post?
Can anyone tell me how to do that?
As of now i'm using like this in the loop
<?php $curauthor = ...
0
votes
2answers
150 views
Lists Top Authors by Most Recent Posts
I'm trying to display a table format of the top authors listed by the most recent posts. It should display the author, its avatar, the date, and the title of the post (with a link).
I have it ...
0
votes
1answer
67 views
Use Author Ids or Names to echo different output inside loop
Is there a way to use the author ids (or names) to echo different output for different authors (in this case author id 7 and author admin? I tried the following but it didn't work.
?php if ...
0
votes
1answer
319 views
List ALL posts by author on author archive
I'm having trouble setting up an author archive. I've come up with a few different loops, but I can't seem to get them quite right. I just want it to list all posts by the current author.
This shows ...
2
votes
1answer
356 views
Editing the loop for Author pages
I was wondering if anyone can help me out. I am looking to remove the_content part of the loop on my author pages only. So basically, I just want a list of the author posts with only the title and ...
0
votes
3answers
158 views
Display posts differently depending on which author wrote it
I've got a multi-author site running on Wordpress 3.1.3 .
I'm trying to place an extra header above the title for a specific author. So if "John" posts on the blog, it would have an above the post ...
2
votes
1answer
303 views
Find most recent authors
What I'm looking to do it get the 16 latest posts from 16 different authors. In other words there would be the 16 latest posts, but no one single author would have more that 1 post on the page.
The ...
0
votes
1answer
769 views
Stomping WP_Query in author archive to facilitate pagination with custom queries
I am using get_posts and get_comments to build several loops on the page, at which I am having some issues in pagination.
I have the global posts per page option (Settings > Reading) set to 10, and ...