"display post" shortcode but no duplicate post link
-
My blog didn’t use any shortcodes yet but I found a problem about displaying post shortcode.
Such as when I have a blog post, I want to use shortcode that will display post list that are related to my blog post by using tag or category. And I will let this list show below the post.
But when I finish writing shortcode and look in that post list, I saw link of the blog post itself (duplicate). If I don’t want link of that blog post to show, what should I do?
The solution right now is using id of each posts that related to my blog post. But in the future, the number of posts in my blog should increase, so using id of each blog posts to display link list, is not good idea for my blog.
If you have the better solution about my problem, please tell me how to cut the link of duplicate post. If WP don’t have how to write shortcode that can solve my problem, please bring this problem to improve shortcode.
ps. sorry for my poor english.
The blog I need help with is: (visible only to logged in users)
- The topic ‘"display post" shortcode but no duplicate post link’ is closed to new replies.