• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 753
  • Last Modified:

Edit Recent Posts widget in WP 3.1

Hello,

I am using the default Recent Posts widget in WP 3.1, but would like to have a link under the listed posts "see all posts".
How would I do that?
I am not so php savvy, so bear with me...

Thanks
0
Sumukha
Asked:
Sumukha
  • 4
  • 3
1 Solution
 
stopReplyingCommented:
Hello.

You can add the link without being a wizard in PHP :)
here is how:

1. Login into WP administration
2. Go to Settings > Recent Posts
3. Go to Output (you have an attached image that will help
4. in the "Text and codes after the list" text box, add the following </ul><a href="../">Show all</a>
(../ < should be replaced with the link that goes to your blog, where all posts are shown)
5. Click "Save output settings"
6. Verify that it works :)
recent-posts.png
0
 
SumukhaAuthor Commented:
Hello stopReplying,

sounds fantastic, just that I don't have Settings > Recent Posts.
Are you using a special plugin?

0
 
stopReplyingCommented:
The plugin I installed and use is "Recent Posts" :)
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
SumukhaAuthor Commented:
Got it. Just missing the link where all posts are shown. Do you have an example? with all categories?
0
 
stopReplyingCommented:
You can try with Archive: for example:
instead of ../ in the code above, input http://www.yoursite.com/?s=+
This searches your posts for a space, so any post that have at lease one space will be shown in a list.
You might consider a problem the fact that it paginates the results, but I have no way around that...
0
 
SumukhaAuthor Commented:
Just found another way, by author adding author/(name)/ to the url.
0
 
SumukhaAuthor Commented:
Thanks!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now