Title: Shortcode executed twice in same page
Last modified: May 10, 2020

---

# Shortcode executed twice in same page

 *  [omusman](https://wordpress.org/support/users/omusman/)
 * (@omusman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-executed-twice-in-same-page/)
 * Hello
 * I am using your plugin on my site, and I use the shortcode on posts twice and
   as I said twice, it shows same results in both shortcode I tried order=”RAND”
   and ASC DESC but RAND shows the same post in both shortcode and ASC and DESC 
   shows the latest post and Old post.
 * is there a way in which we can separate these shortcodes and make them execute
   different results not the same but from same selected category ??
 * I searched the forum though, but nothing much came up.
 * Regards.

Viewing 1 replies (of 1 total)

 *  Thread Starter [omusman](https://wordpress.org/support/users/omusman/)
 * (@omusman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-executed-twice-in-same-page/#post-12811445)
 * Duplicate results are showing, i hope we can randomize the results in separate
   in both shortcodes.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode executed twice in same page’ is closed to new replies.

 * ![](https://ps.w.org/related-posts-by-taxonomy/assets/icon.svg?rev=1115231)
 * [Related Posts by Taxonomy](https://wordpress.org/plugins/related-posts-by-taxonomy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-by-taxonomy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-by-taxonomy/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-by-taxonomy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-by-taxonomy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-by-taxonomy/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [omusman](https://wordpress.org/support/users/omusman/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-executed-twice-in-same-page/#post-12811445)
 * Status: not resolved