“want to list posts from a category in side-bar – widget?
-
I’d like to list the most recent posts in a sidebar widget at http://laughterlog.com/
Problem is,it goes by the date, and I’ve had to muck around with the dates of posts to make them appear in the order I want them to appear (alphabetical), rather than reverse chronological.
I’ve tried creating link categories, and while I can create links to pages with the most recent articles (by using a tag or category with the actual posting date, eg 1209 on each post), I want links to the articles themselves in the box, not to a page with a list of them.
The only way I can see to do that is to create individual links for each article to put in a links widget, but that’s just too much work.
Any bright ideas? it’s frustrating that there’s so many ways to list things, but I can’t just list articles by tag or category in a widget.
The blog I need help with is: (visible only to logged in users)
-
You will have to do this manually with a text widget.
http://en.support.wordpress.com/widgets/text-widget/
http://en.support.wordpress.com/links/text-widget-links/ -
that would mean adding the html to it every time a new article is posted – the aim of all of this is to automate as much as possible! Very frustrating that there’s so many widgets for various things, but not this one :(
-
There is no way to do it automatically. And from my research on other blogging platforms it isn’t possible on any of them other than to do as I suggested.
-
You could always develop one if it’s in your skill set, or pay someone to, if it’s in your budget.
-
You would have to host your own install of wordpress on a third-party hosting service though to do that since it would require PHP or javascript to be able to interface with the MySQL database.
-
-
-
You could install the Recent Posts widget temporarily …
Admin side of blog
Appearance ->Widgets -> Recent Posts widget (up to 15 posts) ->Save -> CloseFront page of blog
Select the linked text (15 hyperlinked blog titles) in the widget and copy.Admin side of blog
New post -> open editor in Visual mode -> paste text (15 hyperlinked blog titles) into draft post. Rearrange (cut and paste) in alphabetical order (or any other order you prefer) -> format -> Save draft
open editor in Code (HTML) mode and copy the text.-> Appearance ->Widgets -> Text widget
open the text widget and insert a name “Popular Posts or Top Posts, etc.)
paste in the text -> Save -> CloseRemove the Recent Posts widget
Delete the draft post
View the blog -
@timethief: you can skip the post editor part:
– install Recent Posts widget;
– visit blog, view source, copy Recent Posts section of code;
– add Text widget, paste code, rearrange, save;
– remove Recent Posts widget. -
timethief:
I like how you did the static page. :) Might steal the idea. But why did you put it in a text box? It’s kinda annoying and the links wouldn’t make the page any longer than it already is with the sidebars.??
-
Good try, but i you can only select 15 blog posts, that won’t work as there’s a lot more on this blog and they’d all need to be selected to included the latest ones posted due to the dating issue.
-
Try using the archives shortcode (postbypost) and selecting the posts you want:
http://en.support.wordpress.com/archives-shortcode/Put that shortcode on a draft post or page, drag and drop your choices to another post or page. Copy html and put it all into a text widget. (Have two windows open for this)
Must update when you add a new post.
- The topic ‘“want to list posts from a category in side-bar – widget?’ is closed to new replies.