• 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://ww.wp.xz.cn/plugins/google-analytics-top-posts-widget/

Viewing 1 replies (of 1 total)
  • Thread Starter hki429

    (@hki429)

    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.