Getting list of entries from the same category

Creating and modifying plugins.
Post Reply
Mekk
Regular
Posts: 54
Joined: Tue Jul 22, 2008 7:53 pm
Contact:

Getting list of entries from the same category

Post by Mekk »

(I am likely missing something, but just can't find...)

Is it possible to get (in the sidebar) the list of the recent entries belonging to the same category as the entry just being displayed? Just something like Recent Entries plugin, but category-wise?

(Recent Entries allow one to specify the category, but it must be fixed)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Getting list of entries from the same category

Post by garvinhicking »

Hi!

In the sidebar plugin there should be the option "Parent category" ("current category"?) to choose from. Maybe it's only in s9y 1.4, but I thought it should also be in 1.3 already...

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Mekk
Regular
Posts: 54
Joined: Tue Jul 22, 2008 7:53 pm
Contact:

Post by Mekk »

Yes, it is there in 1.3, I missed it.

But ... in case you can consider some updates, I feel it would be nice to have two further extensions here:

a) "toplevel parent category"

... so when I have an entry which belongs to category XXX_YYY which is a subcategory of XXX, I could show entries belonging to XXX, not to XXX_YYY

b) "negate this choice"

... so I could create two such sidebar blocks on the page - one with "related" entries (entries from the same category), and one
"also on this blog" (mentioning all entries not shown here)
Post Reply