[Plugin: List category posts] Exclude current post
-
Hi everybody.
I installed the plugin [List category posts] (version 0.18.3) to include at the bottom of a post a list of ‘similar’ posts (that is, posts that have same category of the one currently showed).
I used the following shortcode:[catlist id=XX numberposts=5]
where XX=is the category of the current post (eg. 29).
The result is the list of ‘similar’ posts, but that list includes the current one too.
So I tried this one:[catlist id=XX numberposts=5 excludeposts=<ID_OF_CURRENT_POST>]
but I don’t know how to set the value <ID_OF_CURRENT_POST> at runtime.
Any help is appreciated.
The topic ‘[Plugin: List category posts] Exclude current post’ is closed to new replies.