內容簡介
有時你需要在文章中顯示其他文章或頁面的連結。如果你直接寫連結,當你的網域名稱改變或永久連結結構改變時,舊的連結將會失效,你必須手動修改它們。
BSK Easy Permalink 使用短碼 (shortcode) 顯示永久連結,它會根據你的網域和永久連結結構進行調整。
這個短碼支持三個參數。id 代表你要顯示連結的文章 ID,不能省略。
title 代表你要顯示的連結標題,如果省略則會顯示文章/頁面標題。hyperlink 參數的值可以是 true 或 false。如果是 true,它會顯示為連結,如果是 false,它就會顯示為簡單的文本,預設值為 true。
享受它吧!
外掛標籤
開發者團隊
原文外掛簡介
Sometime you need show another posts’ or pages’ link into your post. You will met trouble if you write doen the links directly. Because once your domain name changed or the permalink structure changed the old will broken and you have to change them again manually.
BSK Easy Permalink use shortcode to show the permalink that will adjust according to your domain and permalink structure.
The shortcode support three parameters. id means the post ID that you want to show it can not be absent.
title means the link title you want to show. The post/page article title will be shown if this is absent. hyperlink has the value of true or false. If true then it will show the permalink as link if false will show as simple text, default value is true.
Enjoy it!
