Displays most recent posts from a specific featured tag or tags.
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).
Copyright 2009-2015 Edward Caissie (email : [email protected])
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.
You may NOT assume that you can use any other version of the GPL.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
The license for this software can also likely be found here:
http://www.gnu.org/licenses/gpl-2.0.html
This section describes how to install the plugin and get it working.
bns-featured-tag.php
to the /wp-content/plugins/
directoryor
Reading this article for further assistance: http://wpfirstaid.com/2009/12/plugin-installation/
Default Parameters:
Please note, support may be available on the WordPress Support forums; but, it may be faster to visit http://buynowshop.com/plugins/bns-featured-tag/ and leave a comment with the issue you are experiencing.
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.
The plugin uses several “common” WordPress functions that create standard class and id elements that can be styled in the style.css file
post-details
wraps the general meta details of the post, such as the Author, Categories, Tags, etc.As of version 1.9, you may create a custom stylesheet using the name bnsft-custom-style.css
; and save it to the BNS Featured Tag plugin folder.
Elements you add into this file will not be overwritten with future plugin updates. With the addition of the display Tag Description option an additional class was written into the plugin.
To style the category description displayed add the class ‘bnsft-tag-desc’ to your bnsft-custom-style.css file then use your choice of properties to style the text, for example:
.bnsft-tag-desc {font-style: italic;}
The following CSS elements are generated by the plugin code:
Additional style elements may be available but are most likely created through WordPress core functionality, the current active Theme, or another active plugin.
As of version 1.6.2 the Total Posts to Display is independent of the “posts per page” setting as set under Settings | Reading.
bns-ft
to bns-featured-tag
readme.txt
filebnsft_no_posts_message
hookbnsft-no-posts-message
and bnsft-widget-title
classesBNS_CUSTOM_PATH
and BNS_CUSTOM_URL
plugin_data
into its own methodbnsft_query
allowing the query arguments to be over-writtenbnsft_output
allowing the entire output to be over-writtenquery_posts
with new WP_Query
class objectwp_enqueue_scripts
parameterscustom_excerpt
bns-ft
textdomainthe_excerpt
and wrapped post output in bnsft-content
CSS elementwp_link_pages
after the_content
callbnsft_first_words
to custom_excerpt
load_widget()
, custom_excerpt()
bnsft
)the_ID()
function as redundantthe_content(__('Read more ...'))
to the_content()
as a more “default” versiondiv style="overflow-x: auto"
wrapper to allow for images wider than the widget area