
內容簡介
此外掛可協助您自訂 WordPress 的「插入 More Link」功能中的 read more link(<!-- more -->)
而不需要更改模板檔案。只需啟用此外掛,更改選項面板中的連結結構
後儲存即可。藉由此外掛您可以:
刪除 read-more/continue-reading 連結中的 #more-number anchor tag。
刪除或修改 CSS class。
新增 nofollow 屬性。
自訂標記以新增其他標籤。
新增 read more link 的標題。您可以按需自訂標題。
刪除 TwentyTen/TwentyEleven 用於摘要的篩選功能。
自訂摘要 Read More 連結或 […] 文字。
自訂任意內容。
更新於 2012 年 2 月 14 日
我已推出 1.4.1 版本,引入一種完全新的方式將腳本附加到 WordPress 操作。經過我們的測試和第一批回饋,相容性比之前從其他外掛繼承的方法要高得多。享受此 Custom More Link Complete!
更新於 2012 年 2 月
根據收到的回饋,現在您還可以自訂節錄上的「繼續閱讀」連結和「[…]」文本(例如在 TwentyTen/TwentyEleven 主題的分類頁面上會看到它們)。在配置頁面上,您必須首先啟用從 TwentyTen、TwentyEleven 中刪除預設篩選器。否則,TT、TE 篩選器將與 CMLC 衝突,您的連結將無法運作。
更新於 2012 年 1 月:根據 Gerobe 的回饋,我對正規表示式進行了更改。謝謝您!
CMLC(Custom More Link Complete)結合了這個目的中2個最佳外掛的強大和靈活性,並進行了一些私人錯誤修復和改進。
在自訂連結結構中,您可以使用以下標籤:
%permalink% – WordPress 提供的永久連結
%anchor% – WordPress 提供的 anchortext(預設為#more-number)
%class% – WordPress 提供的 CSS class(預設為 more-link)
%linktext% – WordPress 提供的連結文字
%title% – 文章標題(可自訂)
本地化
在 languages 資料夾中,您會發現英文本地化檔案(.po 和 .mo)、德文翻譯檔案(dl_custom_more_link_complete-de_DE.po、dl_custom_more_link_complete-de_DE.mo)以及羅馬尼亞翻譯檔案(dl_custom_more_link_complete-ro_RO.po、dl_custom_more_link_complete-ro_RO.mo)。使用 Poedit 您可以很容易地創建更多的翻譯,只要開啟 .po 檔案即可。如果您有更多翻譯需要包含在以下版本中,請將其發送至我的電子郵件:[email protected]
謝謝!
感謝
儘管經過完全重寫並具有新功能,但此外掛最初是基於 Michael Weingaertner 的 Custom More Link 外掛(http://cywhale.de)和 Peggy Kuo 的 More Link Modifier 外掛(http://psychopyko.com)開發的。感謝 Gerobe 提供的所有回饋。感謝 J. Hammock&Associates,LLC(http://hammock.net)的捐贈,這是一個令人愉快的提醒,要繼續更新和測試這個優秀的外掛。
外掛標籤
開發者團隊
原文外掛簡介
This plugin helps you customize the read more link () provided by WordPress ‘insert more link’ feature
without changing template files. Just activate the plugin, change the link structure
in the options panel, save. With this plugin you can
remove the #more-number anchor tag from the read-more/continue-reading link.
remove or modify the CSS class.
add a nofollow attribute.
customize the markup adding additional tags.
add the title to read more link. you can customize the title to your necessities.
remove the filters that TwentyTen/TwentyEleven applies to excerpts.
customize the excerpt Read More link or […] text.
everything you want to do.
Update 14 February 2012
I’ve released version 1.4.1 which introduces a completely new way to attach the scripts to the WordPress actions. As I could test and from the first feedback, the compatibility is much higher that previous method inherited from other plugins. Enjoy Custom More Link Complete!
Update February 2012
Considering the received feedback, now you cand also customize the “Continue reading” link and “[…]” text on excerpts (for instance you see them on category pages in TwentyTen/TwentyEleven themes). On the configuration page you MUST first activate the removal of the default filters from TwentyTen, TwentyEleven. Otherwise, the TT, TE filters will conflict with CMLC and your links will not work.
Updated on January 2012: I made a change in the regex according to Gerobe’s feedback. Thanks!
CMLC (Custom More Link Complete) combines the power and flexibility of 2 of the best plugins existing for this purpose, with some personal bug fixes and improvements.
In the custom link structure you an use the following tags:
%permalink% – the permalink provided by WordPress
%anchor% – the anchortext provided by WordPress (default ‘#more-number’)
%class% – the CSS class provided by WordPress (default ‘more-link’)
%linktext% – the linktext as delivered by WordPress
%title% – the article title (customizable)
Localization
You will find in the languages folder the English localization files (.po and .mo), the German translation files (dl_custom_more_link_complete-de_DE.po, dl_custom_more_link_complete-de_DE.mo) and the Romanian translation files (dl_custom_more_link_complete-ro_RO.po, dl_custom_more_link_complete-ro_RO.mo). Using Poedit you can easily create more translations if you open the .po file. If you have more translations to include in the following releases, please send them on my email: [email protected]
Thanks!
Thanks to
Although it was completely rewritten and has new features, originally the plugin was based on the plugin Custom More Link by Michael Weingaertner (http://cywhale.de) and has elements of More Link Modifier by Peggy Kuo (http://psychopyko.com). Thanks to Gerobe for all the feedback he provided. I thank to J. Hammock & Associates, LLC (http://hammock.net) for the donation they made, it was a pleasant reminder to keep updating and testing this great plugin.
