Support » Plugins » WordPress seo metabox issue

  • Hi,

    I have problem with yoast seo plugin, that wordpress seo metabox will not show saved contents on their fields, but it would be seen on site’s source code, and this issue only happen in custom post type, its work perfectly on post, pages.

    Here is custom post type code:

    register_post_type('portfolio',
    				array( 'label' => 'Portfolio Items',
    					'description' => '',
    					'public' => true,
    					'show_ui' => true,
    					'show_in_menu' => true,
    					'show_in_nav_menus' => true,
    					'capability_type' => 'post',
    					'hierarchical' => false,
    					'rewrite' => array('slug' => '%portfolio_page%','with_front'=>true),
    					'query_var' => true,
    					'supports' => array('title','editor','trackbacks','revisions','thumbnail', 'custom-fields','post-formats'),
    					'has_archive' => true,
    					'publicly_queryable' => true,
    					'labels' => array (
    				'name' => 'Portfolio Items',
    				'singular_name' => 'Portfolio Item',
    				'menu_name' => 'Portfolio Items',
    				'add_new' => 'Add Portfolio Item',
    				'add_new_item' => 'Add New Portfolio Item',
    				'edit' => 'Edit',
    				'edit_item' => 'Edit Portfolio Item',
    				'new_item' => 'New Portfolio Item',
    				'view' => 'View Portfolio Item',
    				'view_item' => 'View Portfolio Item',
    				'search_items' => 'Search Portfolio Items',
    				'not_found' => 'No Portfolio Items Found',
    				'not_found_in_trash' => 'No Portfolio Items Found in Trash',
    				'parent' => 'Parent Portfolio Item',
    			),) );

    Thanks,
    AndY.

  • The topic ‘WordPress seo metabox issue’ is closed to new replies.