Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Edit Recent Posts widget in WP 3.1

Posted on 2011-03-15
7
Medium Priority
?
751 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 1000 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
[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
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. …
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
Suggested Courses

916 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