Title: Articles Display same Category using short-code
Last modified: March 12, 2024

---

# Articles Display same Category using short-code

 *  [developerguru99](https://wordpress.org/support/users/developerguru99/)
 * (@developerguru99)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/articles-display-same-category-using-short-code/)
 * Hi
   In order to display articles within the same category, which “short code” 
   should be used?We want to add in our post.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Farticles-display-same-category-using-short-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [YARPP](https://wordpress.org/support/users/jeffparker/)
 * (@jeffparker)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/articles-display-same-category-using-short-code/#post-17537848)
 * Hi [@developerguru99](https://wordpress.org/support/users/developerguru99/) have
   you tried:
 *     ```wp-block-code
       [yarpp require_tax='{"category": 2, "post_tag": 0}']
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Articles Display same Category using short-code’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-related-posts-plugin/assets/icon-256x256.png?
   rev=2549977)
 * [YARPP - Yet Another Related Posts Plugin](https://wordpress.org/plugins/yet-another-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [YARPP](https://wordpress.org/support/users/jeffparker/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/articles-display-same-category-using-short-code/#post-17537848)
 * Status: not resolved