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

Post Tags and Archives

外掛說明

Tag clouds and Archives are useful for visitors, but also for search engines to find and index what topics your blog relates to. “Post Tags and Archives” makes it easy to add Tag Clouds or Archives to posts and pages via shortcodes.
Before, you could only put it in the sidebar or widgets. That could hurt the search ranking for relevant terms and crowds the sidebar. So one either had to truncate the cloud and archive – or get rid of them (or use some more complicated trickery).
Now you can just drop them in your posts and change the look easily via the options.

Options

Should be self-explanatory.

The advanced features: Please be careful with the HTML parts.
The archive-format setting “options for dropdown-menu” is for people who want to setup forms. You have to add a proper form yourself – with select/post and all. Then this feature will add all archives (in the type you chose) as

TODO

  • add products tag support
    Probably like this:
    $args = array(
    ‘number’ => 15,
    ‘taxonomy’ => ‘product_tag’
    );
    return $args;Theoretically functional: from WP 1.5 (most features from: 2.5. “separator”-option from 2.9, “Tags-Order” for tags feature only from 3.5)

螢幕擷圖

  • This shows the tag cloud in action
  • Shows two versions of the archive in action
  • Shows how to add the shortcode in posts/pages
  • Shows the options page
  • Command for PHP integration

安裝方式

  1. Download the zip file and extract the contents.
  2. Upload the ‘post-tags-and-archives’ folder to your plugins directory (wp-content/plugins/).
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. See ‘Settings -> Post Tags & Archives’
  5. To display the Tag Cloud, add [POSTTAGS] in the post or page content.
  6. For the archive use [POSTARCHIVES] (Notice Plural in both cases!)
  7. Enjoy!

(For the mad tweakers, you can also add the php code <?php pta_posttags(); ?> or <?php pta_postarchives(); ?> to your templates to show the cloud/archive. I guess it’s basically the same as the default WordPress feature, just with easier options)

常見問題集

How can I style the Cloud/Archive?

The cloud is enclosed in <div class="pta-posttags">, and the archive in <div class="pta-postarchives">,so that you can use CSS for changing the look.
For example text-transform: lowercase; will give it a calmer look.

Will it help with SEO and the google bot?

Having the archive or cloud fully in your sidebar hurts your search ranking, since you have lots of links on your page. Less (but more relevant) links is better. Putting the archives and cloud on a separate page or post is better, as it allows bots to crawl – and interested readers to see all your content in a nice format.
Don’t add it repeatedly and redundantly though. Make sure it’s useful for your visitors, then it’s typically also welcome by google.

Is there widget support?

Not at the moment. Since there is the WordPress internal TagCloud widget. If it’s requested often, I’ll add it.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Post Tags and Archives〉的開發相關工作。

參與者

將〈Post Tags and Archives〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.1

  • (Mar 2013) has_cap – fixed for current wordpress version

1.1

  • (Feb 2013) added php call feature, lots of tweaking

1.0

  • (2012) added archive feature

0.1

  • (2011) first tag cloud