How to hide image in post – only show image as a preview

This topic contains 8 replies, has 2 voices, and was last updated by  Mark Wolf 5 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #502857

    Mark Wolf
    Expired Member
    Post count: 100

    Hello dear GeoDir team,

    I searched a lot in the documentation and support forum.
    Version 2

    Two questions about this page:
    https://altea.me/video/spain/provinz-alicante/benidorm/benidorm-video-alicante-pueblo-a-pueblo/

    Btw – the Custom Post Types are great. Finally I can create custom post types with the tabs that make sense. The only thing I need is a filter in [gd_categories]. But there is another thread.

    Question 1: How to hide post image
    Is it possible to hide the large image at the top of the post and use it only for the previews in Listings. I have a custom Poste type only for Videos. Showing the post image on top of the page is very irritating visitors. People click on the picture above instead of on the video below. Then the videao does not start and they leave the page immediately.

    watch: https://altea.me/video/spain/provinz-alicante/benidorm/benidorm-video-alicante-pueblo-a-pueblo/

    Question 2: Title shown as the variable name
    After a problem with the Google Map fixed by your developers, I have now displayed the variable at the top of the breadcrumbs and the title instead of the content.
    %%Title%%%. I can’t find the place where I can correct this.

    Many thanks – Markus

    Translated with http://www.DeepL.com/Translator

    #502862

    Alex Rollin
    Moderator
    Post count: 27815

    1. You can control almost everything about the display of GD data on the GD Details pages by editing the GD Details template. Find out more about GD Pages and templates here:
    https://wpgeodirectory.com/docs-v2/templates/details/

    What you might want to do then is simply remove the GD Post Images element from the GD Details template.

    2. Find that in the Titles and Metas settings

    GD – Settings – General – Titles and Metas – Post Title

    It looks like there is an extra % there that should be removed.

    #502911

    Mark Wolf
    Expired Member
    Post count: 100

    Hi, Alex,

    Thank you for your prompt reply.

    to 1
    1. you can control almost everything about the display of GD data on the GD Details pages by editing the GD Details template. Find out more about GD Pages and templates here:

    Yes, GD is so powerful and extensive, I’ve been working on it intensively for 3 months now. Of course I still have a lot to learn.

    I just thought that a filter for custom posts – like gd_map map_type for gd_category – would be consistent and useful. Would be much easier for users like me. See the screenshot at the bottom left.

    I was not able to adjust the GD Details pages so that only the category icons are shown by a custom post or they are even selectable, as with maps. Probably I need a professional programmer who understands it better than I do.
    I always display all category icons from all custom postes, no matter what I try. And that’s a few hundred for me when I’m done. Too much to use gd_categories then.

    Will you install such a filter for gd_categories at some point?

    to 2.
    2. find that in the Titles and Metas settings
    GD – Settings – General – Titles and Metas – Post Title

    There is no extra % character there – the entry is %%Titel%%.
    Do you have another idea where I can look?

    Best regards, Markus

    Translated with http://www.DeepL.com/Translator

    #502917

    Mark Wolf
    Expired Member
    Post count: 100

    oops sorry Alex –

    my answer 1 belongs to another ticket.
    I will try to hide the image as you proposed.
    ty -nice evening – Markus

    #502937

    Alex Rollin
    Moderator
    Post count: 27815

    %%Titel%% should be %%Title%%

    Try that and let us know

    #502949

    Mark Wolf
    Expired Member
    Post count: 100

    Hello Alex,

    tx, it was not %%Title%% but %%title%%
    u are great i did not see it 😉

    good night – Markus

    #503211

    Mark Wolf
    Expired Member
    Post count: 100

    Hello again, Alex.

    again to switch off the picture in the post.

    I asked the theme manufacturer which custom CSS I can use to switch off all featured immages within posts

    the code is

    .single .np-article-thumb {
    display: none;
    }

    Unfortunately it only works with all normal WordPress Posts. The GeoDirectory images are apparently managed separately by the PlugIn.

    What CSS code do I need to disable the images in GD Posts?
    Could not find the variable name in the documentation.

    Many thanks – Markus

    #503300

    Alex Rollin
    Moderator
    Post count: 27815

    There is a setting for that

    GD – Settings – Design (tab) – Details – Disable theme featured image support

    #503439

    Mark Wolf
    Expired Member
    Post count: 100

    Hi Alex,
    yes that worked. I should have read your previous answer better.
    Have a nice weekend – Markus

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