• I have a custom post type which is created in my theme’s function.php file. When I try to save the custom post, it doesn’t save any of the WordPress SEO entries (e.g. SEO title, Meta Description) but the rest of the information is saved (e.g. post titles, categories, description and custom post fields).

    Has anyone else had this issue and how can I fix it? Would there be something that I have to put in the save function?

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • I had the same problem.

    For this I had to just add a line in my theme, but this is unlikely to be specific to the theme that I have used. I put the code below, it just be a track for you:

    ‘lib>metaboxes>portfolio-spec.php’ and add this line of code:

    ‘priority’ => ‘low’,

    So to look like this:

    $portfolio_mb = new WPAlchemy_MetaBox(array
    (
    ‘id’ => ‘_studiofolio_portfolio_meta’,
    ‘title’ => ‘Portfolio box’,
    ‘template’ => get_template_directory() . ‘/lib/metaboxes/portfolio-meta.php’,
    ‘types’ => array(‘portfolio’),
    ‘priority’ => ‘low’,
    ‘mode’ => WPALCHEMY_MODE_EXTRACT
    ));

Viewing 1 replies (of 1 total)
  • The topic ‘SEO not saving in custom post types’ is closed to new replies.