put more category in the beginning

This topic contains 10 replies, has 4 voices, and was last updated by  Guust 6 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #399529

    francisco ruiz
    Free User
    Post count: 31

    hello I would like to put 10 instead of 5 the main page add image to see what I need thanks

    #399548

    Guust
    Moderator
    Post count: 29970

    Have a look at https://wpgeodirectory.com/docs/faqs/how-do-i-remove-the-popular-categories-section-from-the-home-page/
    Instead of deleting that code, change 5 to 10.

    Thanks

    #399569

    francisco ruiz
    Free User
    Post count: 31

    ok Thank you

    #399589

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

    #399660

    francisco ruiz
    Free User
    Post count: 31

    hello e seen 2 I put the veas I have to change it in the 2 or in 1 alone and I like to center them thanks

    echo do_shortcode(‘[gd_popular_post_category category_limit=5 category_restrict=1]’);

    echo do_shortcode(‘[gd_popular_post_category category_limit=5]’);

    #399665

    francisco ruiz
    Free User
    Post count: 31

    y cambiar el tamaño de cada una trank you

    change size to longer example 200×60

    #399703

    Guust
    Moderator
    Post count: 29970

    You can add this CSS:

    .sd.home .featured-area .geodir-pcat-show {width: 200px;}

    For more CSS changes have a look at https://wpgeodirectory.com/docs/customizing-your-style/

    Just change the shortcode to

    [gd_popular_post_category category_limit=10]

    I don’t really know what the

    category_restrict=1

    does, I will ask the others.

    Thanks

    #399714

    Paolo
    Site Admin
    Post count: 31206

    If my memory doesn’t fail me, it should remove the “show more” link and only shows the number of categories you setup. I asked to the developers to confirm too…

    #399775

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    The purposes to use category_restrict=1
    1) restricts the categories to the limit passed in “category_limit”
    2) hide the texts “More Categories” & “Less Categories”

    Here 1) works fine but not 2), So 2) point problem has been fixed and available in next release.

    @milenio temporary you can hide texts “More Categories” & “Less Categories” via css until next release.

    Kiran

    #399781

    francisco ruiz
    Free User
    Post count: 31

    ok
    thank you very much to all

    #399825

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂 from all of us 🙂

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

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

Open Support Ticket