This wordpress plugin (Widget) will be shown as widget when visitors are viewing a single post. Otherwise, it wont be there.
It contains a list of post titles from the same category the visitor is viewing the post from, so the visitor is able to swiftly change post by clicking on the titles shown.
It works fine if the post has been put into multiple category’s.
The widget can be controlled with the following widget options:
- Title
- Show widget: categories/single posts/both
- Show categories: Show the categories after the optional title (Widget title)
- Amount posts
- Order on single posts: DESC | ASC
- Orderby on single posts: Author | Category | Date | ID | Random
- Order on category pages: DESC | ASC
- Orderby on category pages: Author | Category | Date | ID | Random
- Remove/Keep child categories
How to use ?
Just install the plugin as you are used. Go to the admin panel and choose “Widgets” which you can find under “Appearance”. Put the widget into a sidebar and customize the settings!
Version: 0.6.0:
- Added: Option (Control child cats)
Version: 0.6.1:
- Fixed: Added title attribute
Version: 0.7.0:
- Added: Choose where the widget must be shown
- Added: Separate control for Order & Sort options
Version: 1.1:
- Fixed: Fixed some minor ugly coding mistakes
- Added: Added a default class to the list item (category-item)
- Added: Added a list item class to the current shown post (category-current-item)
- Fixed: Fixed the issue concering the option which will show the widget on category pages and single posts (didn’t work properly)



Thanks for your comment and interest!
About your request... All you want to have is an textfield where you can put category ID's which you want to exclude from the widget ?
Let me know,
Cheers
I'm looking to exclude a category from this widget entirely. I have a widget that always displays the recent posts from the category, and this widget seems to pull that category even it when it shouldn't. So I'm hoping a full on exclude will work. Any code written up?
Thanks for great plugin.
Any idea to fix it please?
Thanks.
Check your email!
I'm glad it all worked out for you!
You can rate this plugin right here
Category content plugin @ wordpress
I will add the request of plantproject asap, so you might receive a notice of an update @ your admin panel soon. Don't worry, it is still your version, only you are the first who uses it!
Cheers
@Plantprojects - All you want is a class added to the list item which is currently viewed by the user ? That would be no problem.
I will look into that today and otherwise tomorrow.
Cheers
How would one go about adding a class to the Category Content link that matches the current page like current_page_item for the WP menu?
My php skills are pretty basic and I'm having a hard time writing a function to do this. I thought by matching href in the anchor link to the url of the current page I could add a class to the correct title tag to highlight it. My attempts to write the code correctly for this to work have been feeble. Any advice would be much appreciated.
I'm glad you like the widget.. :)
You can turn off the appended part. Go to your widgets and within this widget there is a option called "show categories". Set this to no.
Cheers
Great plugin - saved my bacon this week, thanks!
I've put the widget in the sidebar and I was hoping that the title field would override any default output? Currently it appends the category name (e.g. "Recent posts in category name") when all I really want is "Recent posts" (I had to add "in" to make a sentence).
Using v0.7.0, a fresh install of WP and TwentyTen on localhost.
All the best, Karl
Both your requests could be done. I will look into it next week and update the plugin. I will send you a "test" version by email so you can check the updated plugin.
Cheers
First of all, this is a great plugin. Thank you very much for creating it. I have 2 questions for you:
1. Is there a way to have the header of the widget have custom text, instead of just a listing of the category? For example, I post video entries on my blog. Right now, it shows links to the categories. I would like it to say something like "Other Videos in this category", and not link to the actual category.
2. Is there a way to also have it show up on the category pages? For example, when someone goes to mydomain.com/category/videos/, it shows the most recent 10 videos in that category. I would like to have it also show the widget in my sidebar then.
Looking forward to your response.
1. Which version do you have of this plugin ?
2. Could you please give me your website so i can see the problem.
This plugin checks whether your post has been placed into multiple categories. As long as you have no posts, placed @ multiple categories, you can change the above code without any problems.
However, i will note your comment for future updates if needed.
Cheers
I dropped a file in your mailbox. Please replace the current plugin file with the one i just dropped.
let me know.
Cheers
Cheers
One thing though - is it possible to configure it so that the widget will only show more posts from the subcategory level?
For example if I am on a post in /category1/subcategory1/ I only want to show more posts from /subcategory1/, not /category1/ AND /subcategory1/.
If that would be possible, I think this plugin would be flawless. Thanks again!