This plugin helps you customize the read more link (
<!-- more -->) 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)
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@example.com
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.
This section describes how to install the plugin and get it working.
- Upload directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Edit more-link (“Read more”/”Continue reading”/etc.) structure according to your needs in Settings -> Custom More Link Complete
Contributors & Developers
“Custom More Link Complete” is open source software. The following people have contributed to this plugin.
Interested in development?
- Fixed the bug that appeared on some themes, making it not to run our filters on category pages.
- Changed the internal filters we attach our actions to. It should prevent future problems with theme incompatibility.
- Small code revision
- Now you cand also customize the “Continue reading” link and “[…]” text on excerpts. For this to work on the default WordPress themes (TwentyTen, TwentyEleven), you MUST activate the checkbox to remove the original filters of TT, TE themes!
- Added option (active by default) to remove the default filters for excerpts on TwentyTen and TwentyEleven themes.
- Added German translation, thanks to A. Mitucă
- Now CMLC filter for main page does not run on pages that echo excerpts (archive, category, etc. – this depends on theme), but a special filter is built for excerpts, as it anyway wouldn’t work with main page’s filter.
- Small code clean-up
- Set plugin_textdomain to relative path
- Removed CHANGELOG file
- Now the default pattern for more-link is optimized to contain the title attibute.
- Added the default pattern as plain text to make it easy to compare with the original pattern (just in case it is needed).
- Updated language files (English and Romanian) to include the updated labels.
- Updated minor texts and updated regex of Gerobe’s feedback. Thanks!
- Update for latest WordPress release (3.3.1)
- First version release