Title: Categories parameter not working
Last modified: April 6, 2018

---

# Categories parameter not working

 *  [amabirdman](https://wordpress.org/support/users/amabirdman/)
 * (@amabirdman)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/categories-parameter-not-working/)
 * When I use category id in the shortcode, nothing is displayed in the page.
 * All team members are displayed correctly if no category is mentioned.
 * This works:
    `[amoteam max="50" categories="" item-width="250" item-margin="20"
   full-width="yes" panel="right"]`
 * These don’t work:
    `[amoteam max="50" categories="5" item-width="250" item-margin
   ="20" full-width="yes" panel="right"]`
 * `[amoteam max="50" categories="22" item-width="250" item-margin="20" full-width
   ="yes" panel="right"]`
 * `[amoteam max="50" categories="6" item-width="250" item-margin="20" full-width
   ="yes" panel="right"]`
 * `[amoteam max="50" categories="1" item-width="250" item-margin="20" full-width
   ="yes" panel="right"]`
 * Please help!
    -  This topic was modified 8 years, 2 months ago by [amabirdman](https://wordpress.org/support/users/amabirdman/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcategories-parameter-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [amabirdman](https://wordpress.org/support/users/amabirdman/)
 * (@amabirdman)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/categories-parameter-not-working/#post-10168232)
 * Sorry, after multiple trials, I realised that category filter is not the problem.
   Category filter does work. I apologise for the confusion.
 * But, there is still a problem – only the first instance of the shortcode in a
   page, works.
 * For instance, see the below code.
 *     ```
       [amoteam max="50" categories="5" item-width="250" item-margin="20" full-width="yes" panel="right"]
       [amoteam max="50" categories="22" item-width="250" item-margin="20" full-width="yes" panel="right"]
       ```
   
 * Only the category with id=5 loads. Nothing displays for the second shortcode.
 * Any idea why this would happen?

Viewing 1 replies (of 1 total)

The topic ‘Categories parameter not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amo-team-showcase_827c80.svg)
 * [AMO Team Showcase](https://wordpress.org/plugins/amo-team-showcase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amo-team-showcase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amo-team-showcase/)
 * [Active Topics](https://wordpress.org/support/plugin/amo-team-showcase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amo-team-showcase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amo-team-showcase/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [amabirdman](https://wordpress.org/support/users/amabirdman/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/categories-parameter-not-working/#post-10168232)
 * Status: not resolved