Apraksts
A widget that simply gives you related posts by taxonomy. It provides four
settings to customize every widget and there are no global settings to worry
about.
Widget settings
- The title of the widget (default: Related Posts)
- The taxonomy by which terms the posts are related (default: Tags)
- How many related posts to show (default 5)
- excludet terms
The widget is visible only when is_single() is true, it doesn’t shows up on
archives, search templates etc.
Translation credits
Thanks to Borisa Djuraskovic from http://www.webhostinghub.com for the Serbian translation!
Uzstādīšana
- Upload the
simply-related-postsfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to the ‘Apearance/Widgets’ area, add the ‘Simply Related Posts’ widget to
a widget area. - Make your settings
- done
BUJ
You are wellcome to ask questions directly to me in the Simply-Related-Posts-section
on my blog http://www.danielauener.com/simply-related-posts/
There is even a github-repository on: http://github.com/danielauener/wp-simply-related-posts
Q. How to add thumbnail images to the related posts list
A. You can add the ‘simply_related_posts_title’ filter, like
add_filter( ‘simply_related_posts_title’, ‘my_related_posts’, 10, 2);
The first argument is a post-object for the related post, the second argument
is the widget instance.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Simply Related Posts” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Simply Related Posts” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
- Version 1.0 done
1.1
- fixing post-count bug
1.2
- making it work for custom post types. Thanks to David Gil (github.com/dgilperez)
- applying a filter to all related post titles, to render thumbnails and other stuff
