New WordPress Plugin: BNS Featured Category 1.0
I would like to have posts excerpts from a single category load into my sidebar. I would love to be able to use the <--read more--> within the posts to dictate the output in the sidebar. When the read more is clicked the entire post should load into the single.php format.
jennifinch
… and so began another exercise in creating a plugin. This gave me an idea for some code, the code grew into a plugin, but I still wanted to get a better understanding of widgets and user options and now we have the BNS Featured Category plugin, fully widget capable and designed for multiple unique instances. The long description of the plugin reads:
Plugin with multi-widget functionality that displays most recent posts from specific category or categories (set with user options). Also includes user options to display: Author and meta details; comment totals; post categories; post tags; and either full post or excerpt (or any combination).
I have submitted an application to the WordPress Extend Plugins team for SVN space and hope to see an approval soon. The code is complete and ready to be used as of this writing.
© 2009, BuyNowShop. All rights reserved.
Related posts:



[...] See the original post: New WordPress Plugin: BNS Featured Category 1.0 | BuyNowShop [...]
Works great, thank you
It doesn’t matter what I check it shows the entire post in the widget. I don’t even want the excerpt to show, just the title and number of comments.
Right now with full post displayed it blows out the sidebar because of the images in the posts and it isn’t readable.
Dave Smith´s last blog … Mobile, Mobile, Mobile Theme
@Dave Smith – The plugin does not currently have an option to not show some sort of post content, although I may add more options in future releases, such as, title only with no content or post excerpt.
The full content option essentially displays your posts as they would appear within your main content section of your blog which is also typically larger in width than the sidebar; and, better able to handle “larger” image widths. The default was set to the_excerpt() function to minimize display “issues” caused by these images.
Edward.
In short what I’m saying, the full post is showing up not the excerpt no matter what option is selected.
Dave Smith´s last blog … Mobile, Mobile, Mobile Theme
@Dave – I’ve looked at your blog after each of your comments … I still do not see if or where you are making use of this plugin. The plugin only showing the “full” post irregardless of the option(s) selected would be an obvious concern; and, one I would like to address.
Edward,
I took it down, it flooded the sidebar. I’ll activate it again before submitting this comment. It will be at the bottom of the sidebar navigation with the show post option unchecked which should only show the excerpt.
Ok it is there and it is ugly : )
Dave
Dave Smith´s last blog … Mobile, Mobile, Mobile Theme
@Dave – Thanks. Yep, it’s not looking good. This is without any options checked at all, correct?
PS: I’ve re-checked the code and default display (all options unchecked) in several different themes I use for testing purposes and I am unable to re-create the “full” post issue I see on your blog. Would you be able to send me a copy of the theme you are actively using for me to further test with?
Edward,
I’ll get that to you. I’ll also test the plugin on several of my other blogs and get back to you.
Dave Smith´s last blog … Pied Piper Icons in Your Sidebar
Less custom template code. I like it

Joe´s last blog … System information WordPress plugin