Supreme directory V2 homepage popular categories

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #454948

    Robert Ungemach
    Expired Member
    Post count: 11

    I would like to limit to the top categories.

    The default is not limiting the number of categories shown on the homepage, its showing any category that has an entry. It’s currently showing 6 and will add more as I add listings.
    I checked and modifying this to any other integer doesn’t change the number of categories listed.
    Currently it is using the default shortcode and limits.
    echo do_shortcode(‘[gd_popular_post_category category_limit=5 category_restrict=1]’);
    I fixed it using parent categories for now. Is this normal behavior?
    https://bishopartsdistrict.online/

    #454970

    Alex Rollin
    Moderator
    Post count: 27815

    By default gd_categories is set to display max 6 in Supreme.

    You can customize that on line 590 of /wp-content/themes/supreme-directory/inc/geodirectory-compatibility.php

    The shortcode params are available in the shortcode builder: https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket