Hide Post Description On Listings Page

This topic contains 5 replies, has 2 voices, and was last updated by  Kor 4 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #540401

    clubtogethernow
    Free User
    Post count: 56

    Hi,

    I need to hide the post content from the search listings page please?

    Or preferably I need to be able to just show the first line of the post content?

    Thanks

    #540403

    Kor
    Moderator
    Post count: 16516

    Hi clubtogethernow,

    Thanks for your post. This could be possible using custom CSS code. You can refer to this article that explains how you can do this. https://wpgeodirectory.com/docs/customizing-your-style/

    #540409

    clubtogethernow
    Free User
    Post count: 56

    Hi Kor,

    Thanks didn’t know you could do that!

    I can’t seem to replicate the CSS code on site though, I’ve manage to do:

    .geodir-field-post_content {
    display: none;
    }

    But it doesn’t seem to be removing it from all pages and when I post it just on that page it doesn’t work. Can you help?

    #540410

    Kor
    Moderator
    Post count: 16516

    hi clubtogethernow,

    Thanks for your reply. I thought you only want to remove it from the search listing page? If you wish to remove it permanently, you can refer to this section of the documentation https://wpgeodirectory.com/docs-v2/templates/archive-item/

    #540411

    clubtogethernow
    Free User
    Post count: 56

    Hi Kor,

    Sorry it’s a mistake above! I do only want to remove it from the search listing page. What would be the CSS just to remove it from the search listing page?

    #540413

    Kor
    Moderator
    Post count: 16516

    Hi clubtogethernow,

    Thanks for your reply. You can do something like this.

    .search .geodir-field-post_content {
    display: none;
    }
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