Sometimes you want to point your visitors/readers on other posts covering a specific topic.
You can either have this coded the hard way in your theme or use a plugin which will always show related articles, but what if you only want this to happen sometimes?
This plugin gives you a shortcode to insert in posts where you want to display a number of related posts. They will be shown with headline and date (optional) and can be styled via CSS.
If you find this plugin to be very useful it would be really kind if you donate a few bucks via PayPal (firstname.lastname@example.org).
Otherwise I really appreciate if you simply spread the word about this plugin or link back to www.flomei.de. 🙂
/wp-content/plugins/directory or install the plugin from the ‘Plugins’ menu in the WordPress backend
- Activate the plugin through the ‘Plugins’ menu in WordPress
- You can now use the shortcode [show_articles keyword=X num=Y] where X is the keyword to look for (no quotes needed) and Y is the number of articles to fetch (standard: 5).
- Additional parameters:
showdatecan be set to
noto show the post date inline with the headline.
ordercan be set to
randto order posts either by the post date or randomly.
- Note beside: You can also use the shortcode while developing a theme and fill it with dynamically fetched keywords. Have a look at do_shortcode for that (https://codex.wordpress.org/Function_Reference/do_shortcode).
- How can I style the output?
Every entry is wrapped in a section-element with the class
abk. The headline (with or without date) is wrapped in a span-element with the class
abk_h. This way you can easily style the related articles output.
There are no reviews for this plugin.
Contributors & Developers
“Show articles by keyword” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:Contributors
Interested in development?
1.0 (2014-03-18) First relase – Seems to work as supposed, could not find any bugs so far.