5. Featured image - by Kunstwerk - on WordPress WooCommerce support

This topic has 11 replies, 2 voices, and was last updated 4 years, 6 months ago ago by Kunstwerk

  • Avatar: Kunstwerk
    Kunstwerk
    Participant
    May 31, 2021 at 12:22

    With the CPT UI plugin I have made different post type. For example post type muziek
    In the customizer in “single post” I have selected the template so that you see a big featured image in the header like this:
    https://gyazo.com/de19989d1efc924560f2cc001904d203
    In the post of the different post type Muziek you will get this header:
    https://gyazo.com/faccddaf587f442ac9026ebaa150b7d3

    But when I select in the customizer “single post” the latest template so that you will not see the featured image in the header of a single post, than I get an featured image in the header of the post type Muziek like this:
    https://gyazo.com/ae3325251cd46751f086455e3c700372

    Is it possible to get a featured image in all the single posts but also for the post type muziek if I select there a featured image?

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 1, 2021 at 10:32

    Hello,

    Provide us with link to your post, link to your WP Dashboard and correct WP Dashboard access.
    We need to check the site to understand what exactly you want to implement.

    Regards

    Avatar: Kunstwerk
    Kunstwerk
    Participant
    June 1, 2021 at 13:52

    See private area in 1st post

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 2, 2021 at 11:37

    Hello,

    Access that you provided does not work https://gyazo.com/f9a471537c79eaaba5b0f3a1c111a719

    Regards

    Avatar: Kunstwerk
    Kunstwerk
    Participant
    June 2, 2021 at 11:57

    please try again.

    regards

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 2, 2021 at 16:13

    Hello,

    Provide us with FTP access to your site to help you to show featured image there for the custom port types.

    Regards

    Avatar: Kunstwerk
    Kunstwerk
    Participant
    June 2, 2021 at 16:36

    With this settings:
    https://gyazo.com/ee252de690026412fc6c5652e952f418

    I get the right featured image for the custom post types and the right header in video gallery.
    But than I don’t have the featured image with title for post. So maybe it’s easier to have this settings in the customizer and than fix the featured images for post.

    regards Robert

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 3, 2021 at 09:58

    Hello,

    I have passed your issue to our developers. I’ll inform you once get the answer about your issue.

    Regards

    Avatar: Kunstwerk
    Kunstwerk
    Participant
    June 4, 2021 at 12:24

    I see that the featured image now is visible. is it possible that I can get the info in which file the customization is be made. In the future there will be more different post types so than I can copy the code and fix it myself. Also, maybe I need the info when I have to update the theme.
    Thnx for helping this issue!

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 4, 2021 at 13:45

    Hello,

    We have added the following code to the child theme functions.php

    add_filter('etheme_backstretch_enqueue', function($post_types){
    	$post_types[] = 'muziek';
    	$post_types[] = 'bibliotheek';
    	return $post_types;
    });

    If you need more custom post types then add more
    $post_types[] = 'add_custom_post_type_name';

    Regards

    Avatar: Kunstwerk
    Kunstwerk
    Participant
    June 4, 2021 at 19:11

    Thnx a lot.

  • Viewing 11 results - 1 through 11 (of 11 total)

The issue related to '‘5. Featured image’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.