Hide place content on directory page

This topic contains 11 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #468192

    Dalton Germano
    Expired Member
    Post count: 11

    Hi. I would like to hide place content on directory page (https://www.guiasp24h.com.br/locais/), letting only the titles and thumbnails where I am listing the three last of each category. I am using the shortcode ‘gd_listings’. Can I make this happen (like in this website > https://www.siemreap.net/directory/) or only with css?

    I need let the search console like in ‘https://www.siemreap.net/directory/’. How can I do this? The same goes to the icons categories immediately below the search. Is there a shortcode to list the top categories like that?

    Last thing: how can I list the last reviews in Geo V2?

    Thanks!

    #468214

    Kor
    Moderator
    Post count: 16516

    Hi Dalton,

    Thanks for your post. You can hide the contents by using the custom CSS code below. Insert into Appearance > Customize > Additional CSS.

    .geodir-post-rating, .geodir-post-fav, .geodir-post-meta-container {display:none!important;}
    #468230

    Dalton Germano
    Expired Member
    Post count: 11

    Kor,
    so I can hide this content only by CSS, right? There is no shortcode parameter for it, right? And about the search console? Can you help me?

    #468249

    Kor
    Moderator
    Post count: 16516

    Hi Dalton,

    Thanks for your reply. Yes, it can only be removed using custom CSS. Anyway, the custom CSS code should apply to all pages. Where did you insert the custom CSS code? Could you share your Website WP admin access here in private reply so that I could check this out for you?

    Thanks!

    #468266

    Dalton Germano
    Expired Member
    Post count: 11

    The css is in my directory page because I don’t know how will be the other pages. It is ok.

    I need help my sidebar: which shortcode should I use to show the last reviews and the last places added? I am using Geo V2 and tried [gd_recent_reviews count=5]. It didn’t work…

    And I need show a limited number of categories. How can I show only the 6 categories with more places? I’d tried gd_categories with the post_limit parameter, but didn’t work.

    See my directory page here > https://www.guiasp24h.com.br/locais/

    #468283

    Alex Rollin
    Moderator
    Post count: 27815

    That shortcode should work, but it will only show reviews if there are reviews to show. You should set it for one star, perhaps, as the minimum. If that isn’t the issue, please follow up with WP Admin info for your site and a link to the page so we can check that out for you.

    For categories, with gd_categories try max_count=”6″

    #468429

    Dalton Germano
    Expired Member
    Post count: 11

    Hi, Alex. I tried this shortcode: [gd_categories title_tag=”h4″ post_type=”0″ hide_empty=”1″ hide_count=”1″ sort_by=”az” max_level=”1″ max_count_child=”0″ max_count=”3″] and it doesn’t work for me. 6 category icons are showed. Can you help me?

    #468434

    Alex Rollin
    Moderator
    Post count: 27815

    Could you please explain a bit more about he problem and what you are trying to achieve? I am afraid I am not getting it.

    #468701

    Dalton Germano
    Expired Member
    Post count: 11

    I am trying to create a top categories icon console, showing only the 3 categories with more posts. As you can see here ‘https://www.guiasp24h.com.br/locais/’ also seen with the attached file, the short code ‘[gd_categories title_tag=”h4″ post_type=”0″ hide_empty=”1″ hide_count=”1″ sort_by=”az” max_level=”1″ max_count_child=”0″ max_count=”3″]’ was used but is not showing only 3, but all categories with posts.

    Can you help me?

    #468721

    Alex Rollin
    Moderator
    Post count: 27815

    [gd_categories title_tag=”h4″ post_type=”gd_place” sort_by=”az” max_level=”0″ max_count=”3″ max_count_child=”0″]

    This one works for me, to show 3 max.

    #469163

    Dalton Germano
    Expired Member
    Post count: 11

    Amazing! Now, it works!
    Thank you so much!

    #469219

    Alex Rollin
    Moderator
    Post count: 27815

    WOO! 🙂

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

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

Open Support Ticket