Shortcode: gd_listings showing all places

This topic contains 19 replies, has 3 voices, and was last updated by  Kiran 8 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #370016

    Kiran
    Moderator
    Post count: 7069

    Let me know which shortcode are you using & on which page are you want to use?

    #370238

    RussM
    Expired Member
    Post count: 47
    This reply has been marked as private.
    #370292

    Kiran
    Moderator
    Post count: 7069

    Hi RussM,

    It has been fixed and available in next release of GeoDirectory.

    Meanwhile you can fix from your side before next release.
    In file /plugins/geodirectory/geodirectory_shortcodes.php

    Find following line (around line no 1231)

    $categories             = get_terms($category_taxonomy, array('orderby' => 'count', 'order' => 'DESC', 'fields' => 'ids'));

    Replace that line with

    $categories             = get_terms($category_taxonomy, array('orderby' => 'count', 'order' => 'DESC', 'fields' => 'ids', 'hide_empty' => 0));

    Thanks,
    Kiran

    #370313

    RussM
    Expired Member
    Post count: 47

    Kiran; I’ve just tested, and this appears to be working normally at this time.
    Now, I’ll just aim to adjust the message to add more content to push further registration for that category.

    I appreciate the help. Thank you.

    #370314

    Kiran
    Moderator
    Post count: 7069

    Thank you for letting us 🙂

Viewing 5 posts - 16 through 20 (of 20 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