內容簡介
我們專注於 WordPress 的開發,發現一般用戶在使用程式碼取得頁面永久連結方面常常遇到復雜的問題。開發人員有多種方法在內容區域中添加頁面/文章的連結。其他可用的外掛有很多複雜的問題,對 WordPress 的一般用戶來說不易使用。
在這裡,我們介紹一個非常簡單的外掛,可以通過 ID 取得頁面連結。它使用了非常獨特的功能名稱,因此不會與任何其他可用的 WordPress 外掛產生矛盾。此外,它是使用 WordPress 的基本代碼製作的,因此在任何版本的 WordPress 上都不會出現問題。這意味著它與所有 WordPress 版本兼容,您可以在任何版本上使用它。
示例:
帶有頁面標題的連結示例
短代碼: [pagelink id="123"][/pagelink]
結果: <a href="http://yoursite.com/page-link/">Page/Post Title</a>
帶有自定義頁面/文章標題的連結
短代碼: [pagelink id="456"]Custom Title[/pagelink]
結果: <a href="http://yoursite.com/page-link/">Custom Title</a>
外掛標籤
開發者團隊
原文外掛簡介
We are experise in wordpress development, We have seen lots of complications in getting page permanent link by code with normal users. Developers have lots of ways to add page/post link in content area. And other available plugins have lots of complications which are not easy to use for normal users of wordpress.
Here we introduce very simple plugin for getting page link by id. This is used by very unique function names so no contriction with any other available plugin of wordpress. Apart from that its made by very basic codes of wordpress in that way there would be no issue in any version of wordpress. It means its compatible with all wordpress versions, you can use it with anyone.
Examples:
Link with page title example
Shortcode: [pagelink id="123"][/pagelink]
Result: Page/Post Title
Link with custom page/post title
Shortcode: [pagelink id="456"]Custom Title[/pagelink]
Result: Custom Title
