Solved

Edit Recent Posts widget in WP 3.1

Posted on 2011-03-15
7
745 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

If you are looking for plug-ins to add functions to your WordPress small business web site, take some time to read though this comprehensive list.  These are all the plugins I use for my customers WordPress web sites, as well as my own.  Be sure to …
WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
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 manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

733 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