這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

SM Sticky Featured Widget

外掛說明

A tiny but high in demand widget to post sticky or “featured” posts into any widget area. We would appriciate any assistance you would like to provide with coding of enhancments to this plugin.
Using Documentation from core trac default widgets as a guideline for development:
https://core.trac.wordpress.org/browser/trunk/wp-includes/default-widgets.php

Features include:

  • Now COMPLETELY compatable with the premium “ClassiPress” theme which can be purchased at ClassiPress
  • sidebar widget added to your “Widgets” appearance settings that shows only sticky posts.
  • option to set the title when displayed on the home page.
  • makes use of new thumbnails and “featured images” for wordpress 2.9.2 and wordpress 3.0
  • option to turn on and off the thumbnails
  • option to set the number of posts listed (upgraded and not dependent on wordpress query options bug)
  • option to show “Category Related Sticky Posts” when sidebar displays on category page
  • detect if no featured ads are in category/subcategories and post any featured posts/pages.

Features Coming in version 2 Next Version Updates:

  • option to choose a custom post type to display sticky ads for (instead of only compliant with ClassiPress).
  • option to set the width and height of thumbnail inline css for non-classipress themes.
  • option to disable display of the title, or always show a force title option text regardless of website page type.
  • option to specify “only included” categoires or to “exclude only” certain categories.
  • option to “only feature listed post / page ID’s” in the widget
  • option to turn off the “random” order listing and choose from a dropdown of order types.
  • option to limit the title to X number of characters
  • option to display exceprt up to X number of characters or default to the wordpress excerpt words and length configured.
  • option to enable a jQuery based veritcle sidebar carousel (exact model to be determined).

Don’t forget to rate our plugin so we know how we are doing!

螢幕擷圖

  • A sample of the widget when used on premium theme like ClassiPress.
  • A sample of the widget on the default Wordpress theme, TwentyTen.

安裝方式

To install the plugin manually:

  1. Extract the contents of the archive (zip file)
  2. Upload the sm-sticky-featured-widget folder to your ‘/wp-content/plugins’ folder
  3. Activate the plugin through the Plugins section in your WordPress admin
  4. Find and “click and drag” the newly created widget to your sidebar and set the options.

*New in 1.2.1

Add the following style to your ClassiPress child themes stylesheet and then upload your own 32px by 32px corner sold ribbon graphics to enhance your ClassiPress theme. Demo available at http://cpmodlite.sethmatics.com/

/* apply new sold corner banner from sm sticky featured widget */
.sold-ribbon {
height: 32px;
width: 32px;
background: url(images/sold_corner_32.png) no-repeat;
position: absolute;
}

常見問題集

Q: How do I make a sticky post?
A: When you publish a post if you look under the “visibility” options you will see an option to make your post sticky.

Q: What is a sticky post?
A: Typically they are posts that you want to “always show on top” of your blog posts regardless of the post date.
In some special cercumstances like ClassiPress, sticky is used to create a “featured” section of the website.

Q: How do I use the plugin?
A: Simple, just install it from your WP-Admin->Plugins page, then you will find a “widget” from the appearance section that you can drag
into any of your sidebar areas. The exact placement will greatly change depending on your selected theme.

使用者評論

閱讀全部 8 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈SM Sticky Featured Widget〉的開發相關工作。

參與者

將〈SM Sticky Featured Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Version 1.2.5
– Fixed all widget form notices

Version 1.2.1- added readmore filter for customizing the “…” at the end of the excerpt
– fixed widget title issue regarding widget filter and multi-language support
– Updated for custom post types used in ClassiPress.
– Heavily modified the queries and is now 100% ClassiPress compliant.
– See upgrade notices for more information about each version