內容簡介
不需要再擔心連結帖子或分類,稍後更改其標題或縮略名,或更改您的帖子永久鏈接,並創建對站點頁面的無效鏈接。
Hikari Internal Links 提供一個捷徑,可以動態生成到大多數 WordPress 资源的链接。您可以根據其 ID 或縮略名查詢這些资源,然後生成這些链接。因此,如果更改资源的標題或永久鏈接,則其链接会自動更新。
特點
捷徑動態生成到内部页面的鏈接
如果永久鏈接更改,則鏈接會自動更新
根據资源 ID 或縮略名獲取鏈接
如果未找到资源,則會收到警告文本,該文本被置於wpdberror class中,對您的訪問者隱藏,並顯示以黃色背景突顯以便您注意並修復
可用资源
帖子、頁面和自定义类型,基於 ID 或縮略名
评论,基于 ID
分类、标签和自定义分类法,基于 ID 或縮略名
依據其 ID 或縮略名生成类别、标签、评论的饲料
如果當前資源已設置為全局變量,則可以使用ID 0鏈接到當前資源
此插件是由 Michael Toppa的Post-to-Post Links II的分支。
外掛標籤
開發者團隊
原文外掛簡介
Don’t worry anymore of linking a post or a category, to later change its title or slug, or changing your posts permalinks, and creating invalid links to your own site pages.
Hikari Internal Links provides a shortcode that dynamically generates links to most WordPress resources. You can query these resources based on their ID or slug, and these links are generated dynamically. Therefore if you change a resource’s title or permalink, its links will be updated automatically.
Features
A shortcode generates links to internal pages dynamically
If the permalink changes, links are updated automatically
You can get links based on resources ID or slug
If resource isn’t found, you get a warning text surrounded by class wpdberror, which is hidden from your visitors and shown to you with a yellow background so that it’s easy to notice and fix
Available Resources
posts, pages and custom types, based on ID or slug
comments, based on ID
categories, tags and custom taxonomies, based on ID or slug
feeds for categories, tags, comments of a post, based on their ID or slug
if current resource was already set to global variable, you can use ID 0 to link to current resource
This plugin is a fork from Michael Toppa‘s Post-to-Post Links II.
