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

ZK Advanced Feature Post

外掛說明

  1. AJAX function to manage your feature post.
  2. Widget to display your feature list (for custom category only).
  3. Function for developer that can insert feature list into anywhere you want.

If you have any questions or suggestions, please comment : Plugin page.

螢幕擷圖

  • Select feature post in the Admin panel

  • Widget display

安裝方式

  1. Upload zk-advanced-feature-post to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Read the readme.txt

常見問題集

How to use zk_featured() function ?

Using this code
$options = array( ‘method’ => ‘loop’, // ‘loop’,’array’ – default = ‘loop’
‘cat’ => ‘3,4,5’, // default = ‘all’
‘count’ => 16, // default = 5
‘orderby’ => ‘rand’, // ‘author’,’date’,’title’,’modified’,’parent’,’id’,’rand’,’comment_count’
‘order’ => ‘DESC’ // ‘ASC’,’DESC’
);

zk_featured($options);
The difference between ‘loop’ and ‘array’ method ?

This is ‘loop’ method
$options = array( ‘method’ => ‘loop’,
‘count’ => 16
);
zk_featured($options);

while (have_posts()) : the_post();
    //Do something
endwhile;

And this is ‘array’ method
$options = array( ‘method’ => ‘array’,
‘count’ => 16
);
$result = zk_featured($options);
echo ‘

';
        print_r($result);
        echo '

‘;

You can try to know how it works.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈ZK Advanced Feature Post〉的開發相關工作。

參與者

將〈ZK Advanced Feature Post〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.8.21

  • Add option to get thumbnail from featured image
  • Add option to set excerpt lenght

1.4.11

  • Revert to default wordpress query after sidebar call

0.12.30

  • Fix class name error

0.12.25

  • Fix CSS
  • Fix thumb display if there’s no image in post

0.12.16

  • Change folder structure

0.12.15

  • First version