• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 755
  • 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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