Home Forums Basel support forum Featured Images on custom post types

Featured Images on custom post types

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4767

    andre.somepro
    Participant

    Hi, I created custom post types. I always receive the featured image on top of the page as it wuld be a blog post.

    Where can I switch that function off, that the theme is loading the featured image on top first?

    with kind regards Andre

    #4773

    Artem Temos
    Keymaster

    Hi,

    It seems that your custom post type takes our standard template for blog post and if you will disable featured image here you will not see it on blog posts too. If you are creating custom post types you need to create separate template files for them too. There you will be able to enable/disable featured images and other staffs.

    https://codex.wordpress.org/Post_Type_Templates

    Regards

    #16570

    andre.somepro
    Participant

    Hi thanks for the info.

    I copied the single-portfolio.php file and renamed it to my custom post type. Also changed the post type within.

    But I cant fugure out yet how to tell the template to diable the featured image on that post type

    I tried also over global css but without effect.

    .pinterest_pins .attachment-post-thumbnail {
    display: none;
    }

    I get a result like this sample: https://roomique.com/pinterest_pins/william-katavolos-enameled-metal-and-leather-lounge-chair-for-leathercrafter-1969/

    You might paste me the code snippet I need to attach to the file?

    with kind regards
    Andre

    #16571

    Artem Temos
    Keymaster

    Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.

    .single-pinterest_pins .entry-thumbnail {
    	display:none;
    }
    #16573

    andre.somepro
    Participant

    GREAT it does the job

    thank you for your support

    #16575

    Artem Temos
    Keymaster

    You are welcome!

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

The topic ‘Featured Images on custom post types’ is closed to new replies.