0

Related Posts [dcs_related_posts]

Shortcode dcs_related_posts display related posts to given post. Posts are related via tags.

Parameters:
id[OPT] post ID for which will be displayed related posts, if you use this shortcode in post content, there are no need to specify this parameter, post ID will by automatically taken from edited post (default not set)
limit[OPT] number of displayed related pots (default set to 4)
count[OPT] number of displayed related posts on one row (default set to 4)
exclude[OPT] if true post specified in ID parameter will excluded from list (default set to true)
title[OPT] title for related posts containar (default set to Related posts)
Examples:

1. Displaying related posts to this post

Get Code
[dcs_related_posts]

2. Displaying two rows of related posts and changing title

Get Code
[dcs_related_posts limit="8" title="Two rows of related posts"]

3. Displaying three rows with 2 related posts on each

Get Code
[dcs_related_posts limit="6" count="2"]
6.7/103votes
Voting statistics:
RatePercentageVotes
1033%1
90%0
80%0
733%1
60%0
50%0
40%0
333%1
20%0
10%0
Click to share thisClick to share this