Skip to content
Public Ticket #21632

Similar Posts Images not showing

Conversation thread

Thomas replied

Customer Reply

Hi Guys,

this both CSS Codes are working, thank you very much!

PenciDesign Supporter replied

Staff Reply

Hi,

This code will apply to the Directory post type:

body.single-acadp_listings .penci-post-related {
    display: none;
}

Regards,
PenciDesign.


Thomas replied

Customer Reply

Hi, thank you, that sound interesting, i will try it later the day and let you know. Besides that which CSS should i use for the same solustion with the Directory for Activitys?

PenciDesign Supporter replied

Staff Reply

Hi,

You can force hiding the Related Posts for advert post type by adding the following CSS code to your site:

body.single-advert .penci-post-related {
    display: none;
}

Regards,
PenciDesign.



Thomas replied

Customer Reply

Other option i would use, if you can say how i can place this is:


HIDE the Related Posts from this 2 post types which would not be a problem for me. Is there any code etc. i can add to hide them ONLY in this 2 parts of the Website?

Thomas replied

Customer Reply

So if you have any idea what i can try give me a hint. For the moment i deleted the additional code from the functions.php file.

Thomas replied

Customer Reply

Both Plug-ins do not show the Featured Image section in the editor. So i heckt what i can do and found this:


https://stackoverflow.com/questions/12543563/wordpress-adding-featured-image-to-custom-post-type


I use this and put it into the functions.php of you themeof course with the post type informations i needed.

add_post_type_support( 'forum', 'thumbnail' );

Now it shows me in the Editor of the Plug Ins this Featured Image thing, but still, after i changed in all entries the not existing Featured Image into a featured image noting changed in the front page still showing this ugly grey thumb in "Related posts"...

PenciDesign Supporter replied

Staff Reply

Hi,

You should check it from the Classified Ads plugin. The content of your link comes from a custom post type by the plugin you've installed.

Regards,
PenciDesign.


Thomas replied

Customer Reply

Hmm,


how can i chack that? Can not find any menue point in this.

PenciDesign Supporter replied

Staff Reply

Hi,

The image doesn't display because you've not added the featured image for this post type.

Please check your custom post type settings, make sure you've enabled the feature image option then upload for each posted item.

Regards,
PenciDesign.


PenciDesign Supporter replied

Staff Reply

Hi,

Please send me a URL related to this problem, I'll check and then send you a solution.

Regards,
PenciDesign.


Thomas started the conversation

Conversation Start

Hi,


as you did not give any reply to this question in my other Treat i will start for this case a new one. Please see images attached, there are 2 areas in the page which are not showing the images in the "similar post" section, even with relocating the thumbnails and i tried also post a new entry in each (Diretory for Activitys and Clissified Ads), not pushed the Script to see the images like it was helping with the "normal" blog posts.

Any idea what i can try?

Browsercache and Websitecashe all deleted and reloaded, so this was not causing it...

Want to join this conversation or access attachments? Sign in first.