开发者 | |
---|---|
更新时间 | 2016年4月11日 01:56 |
捐献地址: | 去捐款 |
PHP版本: | 3.6 及以上 |
WordPress版本: | 4.5 |
版权: | GNU General Public License v2 |
版权网址: | 版权信息 |
bns-featured-tag.php
to the /wp-content/plugins/
directoryPlease 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.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:
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