Header custom post - by Kunstwerk - on WordPress WooCommerce support

This topic has 7 replies, 2 voices, and was last updated 2 years, 10 months ago ago by Kunstwerk

  • Avatar: Kunstwerk
    Kunstwerk
    Participant
    July 9, 2021 at 11:50

    Hi,

    you did give me this code for see the featured image for a custom post type:

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

    Is it also possible to see a featured image for one of the post type and to have the breadcrumb header for another post type? What code do I need to see a header for one of the custom post type.

    regard,

    Robert

    6 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 9, 2021 at 16:59

    Hello,

    Sorry but I’m not sure that understand the things you want to implement. Provide us with links and screenshots for a better understanding.

    Keep in mind that additional customization is outside the scope of our support https://themeforest.net/page/item_support_policy Our theme does not come bundled with the custom post types plugin and additional customization to add theme features for the custom post types is paid service.

    Regards

    Avatar: Kunstwerk
    Kunstwerk
    Participant
    July 12, 2021 at 08:45

    with this setting in the customizer.

    https://gyazo.com/594d9af75a02245ea339fff4a887e774

    and this code you gave me:

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

    I’ll have a a featured image on a single post for the custom post type “muziek” and “bibliotheek”
    but can you also give a code so that now I can have a featured image for the post type “muziek” but a breadcrumb header for the custom post type “bibliotheek” like this:
    https://gyazo.com/53a94816aa2390cfaca0867cd505a6b5

    with regard Robert

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 12, 2021 at 17:49

    Hello,

    So, in other words you need the featured image for the muziek but don’t need that for the bibliotheek?
    Then replace code with this one

    add_filter('etheme_backstretch_enqueue', function($post_types){
    $post_types[] = 'muziek'
    return $post_types;
    });
    Avatar: Kunstwerk
    Kunstwerk
    Participant
    July 14, 2021 at 17:36

    No that is not what I meant because for the post type ‘Museum’ you see now this:

    https://gyazo.com/e45b673973c60433724dbfeab08c741a

    And I want to see this:

    https://gyazo.com/b7c22c06999db0de1d55adb7c219693a

    The breadcrumb header

    with regard,

    Robert

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 16, 2021 at 08:39

    Hello,

    Check now.

    Regards

    Avatar: Kunstwerk
    Kunstwerk
    Participant
    July 19, 2021 at 11:18

    Thnx a lot!!!

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

The issue related to '‘Header custom post’' 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.