• Vince_M

    (@vince_m)


    I am making a custom post type using the plugins custom post type ui and advanced custom fields. I am working on a local version of wordpress.

    I make the custom post type and everything is going good. For screen options I left everything unchecked and when I made the custom post none of the screen options are showing up. I need a featured image but cannot. I have declared it in the functions.php

    add_theme_support( ‘post-thumbnails’ );

    still not able to add a featured image. I am using
    Wordpress 4.1.1
    Advanced Custom Fields 4.4.0
    custom post type ui 1.0.2

    If anyone has any advice I would greatly appreciate it. Thank you in advance.

    Vince_M

Viewing 3 replies - 1 through 3 (of 3 total)
  • stephencottontail

    (@stephencottontail)

    When you created the custom post type, did you pass the supports argument to register_post_type():

    'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )

    Thread Starter Vince_M

    (@vince_m)

    I was using a plugin and have now found the answer regarding the plugin. I would like to learn how to do Custom Post Types in the functions.php. Do you know of some good tutorials that would help?

    stephencottontail

    (@stephencottontail)

    The Codex page is a bit barebones, but all the information is there. Check out the Parameters section for the arguments you can use. Also, try using the post type generator: https://generatewp.com/post-type/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Post Type bug?’ is closed to new replies.