Description
Used the same way as <posts /> but exclude current post (on the post page) from the list of shown posts. Useful on article pages, this tag inserts posts at the desired location excluding the current article the user is reading.
Attention: Define the limit one more than you actually need. For example, if you need to present 5 posts, then limit should be 6.
Schema
Attributes and/or child nodes are not allowed.
Attributes
None.
See more
The tag works the same as <posts>, except for these 2 differences:
- exclusion - the tag will exclude the current post on a article page (postpage)
- the limit attribute - for the tag to work properly, you should set the limit attribute by +1. Ex: to show 10 posts on the page, you should set the limit attribute to 11.
Please refer to <posts> article for a more comprehensive guide.