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

SEO Internal Link Shortcode

外掛說明

This plugin allows you to create internal <a> links within your content that will not break when things get renamed or moved. While there are similar plugins available, they do not offer important SEO options.

You can add any HTML attribute to your link as long as it’s prefixed with “attr_”. And because it supports attributes that may not currently exist, it is future proof.

Examples:

  1. Link to a post/page by ID or slug
    • Shortcode: [link id="1234"/]
    • Shortcode: [link slug="post-slug"/]
    • Output: <a href="http://domain.com/post-slug/">Post Title</a>
  2. Link to a category by slug
    • Shortcode: [link cat="cat-slug"/]
    • Output: <a href="http://domain.com/cat-slug/">Category Name</a>
  3. Link to a tag by slug
    • Shortcode: [link tag="tag-slug"/]
    • Output: <a href="http://domain.com/tag-slug/">Tag Name</a>
  4. Custom text instead of retrieved title
    • Shortcode: [link id="1234"]custom text[/link]
    • Output: <a href="http://domain.com/post-slug/">custom text</a>
  5. Additional attributes for SEO/other
    • Shortcode: [link id="1234" attr_rel="something" attr_itemprop="specialty"/]
    • Output: <a href="http://domain.com/post-slug/" rel="something" itemprop="specialty">Post Title</a>

安裝方式

  1. Download the plugin (zip file).
  2. Upload and activate the plugin through the “Plugins” menu in the WordPress admin.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈SEO Internal Link Shortcode〉的開發相關工作。

參與者

將〈SEO Internal Link Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.1.1

  • Bug: Slug links work now

0.1

  • Initial release