#47849 Custom Header/metaboxes on Custom Post Type

Landing Forums JupiterX WordPress Theme Custom Header/metaboxes on Custom Post Type

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Roberto

    Hi.

    I create CPTs with Toolset Types.
    In the Functions.php i added
    <div>

    add_filter( 'jupiterx_post_options_post_types', 'my_new_jupiterx_metaboxes' );
    function my_new_jupiterx_metaboxes( $post_types ) {
        $post_types[] = 'activity';
        return $post_types;
    }

    But i would like to choose, for ALL the Activities, the custom HEADER (since i have many defined).
    Where can i hook and how, in order to define a specific header (not a problem if i need to specify the header ID in the code, i just don’t wanna edit EACH activity and set a custom header through the metaboxes.

    </div>

    Tatyana Hutsol Support Team

    Hello,

     

    In this case you have to use Elementor Pro and set Display Conditions for your custom header https://docs.elementor.com/article/311-conditions and select your custom post type from the list so the header is shown on those posts only.

     

    If you have any difficulties, please provide WP Dashboard credentials in the private reply.

    Thank you.

    Regards.

    Private
    Roberto
    This reply has been marked as private.
    Private
    Roberto
    This reply has been marked as private.
    Tatyana Hutsol Support Team

    Hello,

     

    Currently I don’t see any conditions set for the DDS Header template https://take.ms/7pzVn .

    Have you removed them?

    You can set the same header as sticky, editing the Section settings and set Sticky option to Top in Advanced > Motion Effects https://take.ms/y3OgU .

    To change the content width, you can do this via Customizer > Site Settings. Please check.

     

    Thank you.

    Regards.

     

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login