Supreme Directory home Problem

This topic contains 5 replies, has 3 voices, and was last updated by  Guust 7 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #392865

    Michele Fontanella
    Expired Member
    Post count: 4

    Hi all, i can not find Supreme Directory support forum so i write here.

    I’m tring to change Home page popular category slider with CPT categories editing geodirectory-compatibility.php file as below code:

    
    
    //echo do_shortcode('[gd_popular_post_category category_limit=5]'); - 
    echo do_shortcode('[gd_cpt_categories post_type=gd_place max_level=0 max_count=2 ]');

    But i keep to show the gd_popular_post_category widget.

    Can you please help me?

    Thanks

    Micehle

    #392871

    Kor
    Moderator
    Post count: 16516

    Hi Micehle,

    Please refer to this post and see if it helps https://wpgeodirectory.com/support/topic/popular-categories-in-supreme-theme/#post-235688

    Thanks!

    #392921

    Michele Fontanella
    Expired Member
    Post count: 4

    Hi Kor,
    Thanks but i can not find [gd_popular_post_category category_limit=5] in file supreme-directory/content.php.

    Any other hint?

    Thanks

    #392934

    Guust
    Moderator
    Post count: 29970

    Your code works fine for me on my test site.
    Maybe try just changing

    echo do_shortcode('[gd_popular_post_category category_limit=5]');

    with

    echo do_shortcode('[gd_cpt_categories post_type=gd_place max_level=0 max_count=2]');

    For anyone looking at this topic, here is more info: https://wpgeodirectory.com/docs/faqs/how-do-i-remove-the-popular-categories-section-from-the-home-page/

    Thanks

    #393267

    Michele Fontanella
    Expired Member
    Post count: 4

    Thanks, now i can see them.

    Regards

    Michele

    #393276

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 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