Title: Catlimit does not work with multiple ID&#039;s
Last modified: August 21, 2016

---

# Catlimit does not work with multiple ID's

 *  [hki429](https://wordpress.org/support/users/hki429/)
 * (@hki429)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/catlimit-does-not-work-with-multiple-ids/)
 * Hi,
 * The `catlimit` parameter should, according to the plugin page:
 * >  catlimit: Limit listings to specific categories. (comma separated category
   > ID’s)
 * However, this does not work on WP 3.8.1. I’ve tried the following three ways,
   and all return only posts from the first listed category ID.
 * `
    [google_top_content pageviews=1 number=5 catlimit=15,9,4,18 contentfilter=
   post showhome=no time=788400]
 * [google_top_content pageviews=1 number=5 catlimit="15,9,4,18" contentfilter=post
   showhome=no time=788400]
 * [google_top_content pageviews=1 number=5 catlimit='4,15,9,18' contentfilter=post
   showhome=no time=788400]
 * Note: The category IDs are correct. And if I change the order, the plugin succeeds
   in pulling the popular posts from Google Analytics. However, the output is always
   limited to the first category listed.
 * Who knows how to work with multiple categories in `catlimit`?
 * [https://wordpress.org/plugins/google-analytics-top-posts-widget/](https://wordpress.org/plugins/google-analytics-top-posts-widget/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [hki429](https://wordpress.org/support/users/hki429/)
 * (@hki429)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/catlimit-does-not-work-with-multiple-ids/#post-4770957)
 * When I use the `do_shortcode` function:
 * `
    <?php echo do_shortcode("[google_top_content pageviews=10 number=10 catlimit
   =4,15,9,18 contentfilter=post showhome=no time=788400]"); ?>
 * It also does not work.

Viewing 1 replies (of 1 total)

The topic ‘Catlimit does not work with multiple ID's’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-analytics-top-posts-widget.
   svg)
 * [Google Analytics Top Content Widget](https://wordpress.org/plugins/google-analytics-top-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-top-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-top-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-top-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-top-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-top-posts-widget/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [hki429](https://wordpress.org/support/users/hki429/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/catlimit-does-not-work-with-multiple-ids/#post-4770957)
 * Status: not resolved