BNS Featured Tag
Plugin with multi-widget functionality that displays most recent posts from specific tag or tags (set with user options). Also includes user options to display: Tag Description; Author and meta details; comment totals; post categories; post tags; and either full post, excerpt, or your choice of the amount of words (or any combination).
Download
Latest version: Download BNS Featured Tag v1.7.2 [zip]
Installation
This section describes how to install the plugin and get it working.
- Upload
bns-featured-tag.phpto the/wp-content/plugins/directory - Activate through the ‘Plugins’ menu.
- Place the BNS Featured Tag widget appropriately in the Appearance | Widgets section of the dashboard.
- Set options to personal preferences:
* Widget Title
* Tag Names – separated by commas
* Show (first) Tag Description (checkbox)
* Show Author and date/time details of post (checkbox)
* Show all categories attached to post (checkbox)
* Show all tags attached to post (checkbox)
* Show post in full or use default of post excerpt (checkbox)
– or -
- Go to ‘Plugins’ menu under your Dashboard
- Click on the ‘Add New’ link
- Search for bns-featured-tag
- Install.
- Activate through the ‘Plugins’ menu.
- Place the BNS Featured Tag widget appropriately in the Appearance | Widgets section of the dashboard.
- Set options to personal preferences:
* Widget Title
* Tag Names – separated by commas
* Show (first) Tag Description (checkbox)
* Show Author and date/time details of post (checkbox)
* Show all categories attached to post (checkbox)
* Show all tags attached to post (checkbox)
* Show post in full or use default of post excerpt (checkbox)
Reading this article for further assistance: http://wpfirstaid.com/2009/12/plugin-installation/
FAQ
Q. Can I use this in more than one widget area?
A. Yes, this plugin has been made for multi-widget compatibility. Each instance of the widget will display, if wanted, differently than every other instance of the widget.
Q. How can I style the plugin output?
A. The plugin uses several “common” WordPress functions that create standard class and id elements that can be styled in the style.css file
* the classes generated by the post_class() function; and, the id generated by “post-” apended to the_ID() function wrap the general post output
* the plugin class post-details wraps the general meta details of the post, such as the Author, Categories, Tags, etc.
* the overall plugin may also be wrapped in a widget “container” class, or id, specific to the theme itself such as (but not limited to): widget, sidebar, left, right, etc.
With the addition of the display Tag Description option an additional class was written into the plugin. To style the tag description displayed add the class ‘bnsfc-tag-desc’ to your style.css file then use your choice of properties to style the text, for example:
.bnsfc-tag-desc {font-style: italic;}
Q. Can I increase the maximum posts to display?
A. As of version 1.6.2 the Total Posts to Display is independent of the “posts per page” setting as set under Settings | Reading.
Changelog
1.7.2
- released: July 5, 2010
- added wp_reset_query();
1.7.1
- released: June 13, 2010
- format tag names into tag slugs for use in the query (needs to be further addressed)
- cleaned up code to meet WP Standards
1.7
- compatible with WordPress version 3.0
- updated license declaration
1.6.3
- removed the_ID() function as redundant
1.6.2.3
- compatible with WordPress version 2.9.2
- updated license declaration
1.6.2.2
- clarified the plugin’s release under a GPL license
1.6.2.1
- compatibility check for 2.9.1 completed
1.6.2
- Total Posts to Display can now exceed the posts_per_page option value.
- matched version number to BNS Featured Category – future versions should also stay in step
1.6
- corrected issue with checkboxes not displaying their state correctly
- minor correction to variable structure to allow for multiple instances of the plugin with independent post counts
- added option to display the description for the (first) tag choice as taken directly from the Tags panel under Posts in the Dashboard
- wrapped Tag Description in its own class: ‘bnsfc-tag-desc’
1.5
- added option to set the quantity of the first words of the post to display instead of the default excerpt.
- modified description to reflect new functionality
- slightly increased the size of option panel to better display controls
1.4
- added version control compared against $wp_version
- added horizontal rule to option panel for clarity
1.3
- code cleanup and error trapping
- added dynamic reference of maximum posts based on blog Settings | Reading “posts per page”
1.2
- code clean up
- changed the_content(__(‘Read more …’)) to the_content() as a more “default” version
1.1
- added option for Post Titles only
- added
1.0
- Initial Release.



Even less custom template work with that plugin. I like what you do
[...] BNS Featured Tag (version 1.4) [...]
Love this plugin and great ideas to use tags. this is fantastic. But… I want to style it – make it really stand out. I don’t understand the info above on styling the plugin output.
What do I need to add to my css to change the style – of the title in particular. (I’m ok with making changes in css provided I know how to identify the right element. Sorry – I know my terminology is all wrong.
@Simon – Thank you for the compliments. The element in your current theme that would be controlling the style of the widget title (and subsequent elements) would most likely be:
li.widget.bns-featured-tag h3 { ... }The exact placement within the Thesis theme style sheet(s) may require additional assistance from the author.
Thanks, that does the job brilliantly. Luckily I’m using the thesis theme, so even I can manage to make changes to it, once pointed in the right direction. Great plugin. Nice blog design too,
@Simon – I’m glad you got it sorted out … and thanks, again
Edward – one more question: I want to add a paragraph return (or css /html equivalent) between each entry to give the whole thing a bit more space – so it doesn’t seem so crowded. I’m not sure how to do this, however. Can it be done in the CSS? Or do I need to edit the plugin somehow? I have already done this – removing the ‘strong’ attribute on the post titles.
@Simon – This element should affect the spacing between the posts being displayed:
li.widget.bns-featured-tag .post { ... }Try using the ‘margin-bottom’ property.
PS: I would not have suggested editing the plugin code itself, but now that you have you may be on your own with future updates.
hi,
can i use this plugin, in a static page. there is a funciotn to call?
es: [BNS Featured Tag (some option....)]
Can I call this funcion to display, in a statics page, for example:
10 recent post DECRESCENT
with tag=”….”
with title
with post
with permanent link
with the author
ecc
ecc.
thanks
great job
@Carlo – Thank You! If you look inside the plugin at the code you will find all the function call it makes, but if you are trying to use the plugin on a “static” page outside of the WordPress installation you will need to add more code to allow for the function(s) to be called.
please … tell me …
i use WP, but i’m so ??? with PHP and function ()
can i use shot code in WP static page?
Thanks again
@Carlo – There are no shortcodes generated by the plugin. If you want me to review this further please see my WordPress Services page.
PS: I edited your comment replacing, in my opinion, an inappropriate word with ??? Please consider this page viewable by all ages and write accordingly. Thank you. EAC
I’m sorry
google translate is not perfect.
Thanks a lot