SEO Option missing from Custom Post Type

#38640
  • Resolved Matt
    Rank Math free

    I noticed when using a Custom Post Type the single posts don’t include the SEO controls in Elementor.
    It appears fine when in Edit Post (Classic Editor) though when in Elementor the “SEO” option is not there.

    Note: Add SEO Metabox is already enabled.

    Is there any additional code I’d need to add to my function?

    Function code example:

    add_theme_support('post-thumbnails');
    add_post_type_support( 'photo-gallery', 'thumbnail' );
    
    function photo_gallery_post_type() {
        register_post_type( 'photo-gallery',
            array(
                'labels' => array(
                    'name'=> _('Photo Galleries'),
                    'singular_name' => _('Photo Gallery'),
                 ),
                'public' => true,
                'has_archive' => true,
            )
        );
    }
    add_action( 'init', 'photo_gallery_post_type' );
    • This topic was modified 4 years, 1 month ago by Matt. Reason: code adjusted
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    We are checking this further and we will be in touch in a short while.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘SEO Option missing from Custom Post Type’ is closed to new replies.