added the ability to override\force related_posts from the post's meta data

This commit is contained in:
Shaked Klain
2013-11-07 02:14:41 +01:00
parent 0553dbe36d
commit 936bb03d7e
2 changed files with 35 additions and 12 deletions

View File

@@ -17,3 +17,11 @@ For example::
{% endfor %}
</ul>
{% endif %}
You can also override related posts by using it as part of your post's meta data 'related_posts:'.
The 'related_posts:' meta data works together with your existing slugs:
related_posts: slug1,slug2,slug3...slugN
N represents the RELATED_POSTS_MAX