Ready to get started?Download WordPress


WordPress SEO by Yoast
SEO not saving in custom post types (2 posts)

  1. robico
    Posted 10 months ago #

    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?


  2. ColinSnaps
    Posted 10 months ago #

    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',


You must log in to post.

About this Plugin

About this Topic