Solved

Edit Recent Posts widget in WP 3.1

Posted on 2011-03-15
7
742 Views
Last Modified: 2012-05-11
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
Comment
Question by:Sumukha
  • 4
  • 3
7 Comments
 
LVL 2

Accepted Solution

by:
stopReplying earned 250 total points
ID: 35146025
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
 

Author Comment

by:Sumukha
ID: 35147888
Hello stopReplying,

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

0
 
LVL 2

Expert Comment

by:stopReplying
ID: 35148133
The plugin I installed and use is "Recent Posts" :)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Sumukha
ID: 35148231
Got it. Just missing the link where all posts are shown. Do you have an example? with all categories?
0
 
LVL 2

Expert Comment

by:stopReplying
ID: 35148627
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
 

Author Comment

by:Sumukha
ID: 35148755
Just found another way, by author adding author/(name)/ to the url.
0
 

Author Closing Comment

by:Sumukha
ID: 35148762
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Who says nothing in life is free? WordPress.com is a freebie. WordPress.org's downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
Do you think that WordPress is just for blogs?  Think again!  WordPress is really a fantastic all around platform that you can use to develop websites on.  Integrated into its basic functionality is the ability to create pages using your choice of a…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now