category_restrict=1 ?

This topic contains 1 reply, has 2 voices, and was last updated by  Kiran 7 years, 6 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #375891

    barovios
    Expired Member

    Hi,
    in supreme directory theme
    in inc/geodirectory-compatibility.php

    what is category_restrict=1 doing as argument in gd_popular_post_category ?

    “gd_popular_post_category category_limit=5 category_restrict=1”

    Thanks
    Dimitrios

    #375902

    Kiran
    Moderator
    Post count: 7069

    Hi Dimitrios,

    The parameter “category_restrict” is used to restrict the no of categories passed in “category_limit” parameter.

    Suppose Places has 30 categories and if you set category_limit=5 category_restrict=1 then it will show only 5 categories.
    If you remove category_restrict=1 then by default it will show 5 categories and rest will be displayed when you click “More Categories”

    Thanks,
    Kiran

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount