Skip to content Skip to navigation
Back to the main support

List of all post and term metas generated by SEOPress

We use WordPress custom fields to store our data. Here is the list:

  • _seopress_titles_title : meta title, string
  • _seopress_titles_desc : meta description, string
  • _seopress_robots_index : meta robots index, if true return “yes
  • _seopress_robots_follow : meta robots follow, if true return “yes
  • _seopress_robots_imageindex : meta robots image index, if true return “yes
  • _seopress_robots_archive : meta robots archive, if true return “yes
  • _seopress_robots_snippet : meta robots snippet, if true return “yes
  • _seopress_robots_primary_cat : primary category, int
  • _seopress_robots_canonical : canonical tag, string
  • _seopress_robots_breadcrumbs : custom breadcrumbs, string
  • _seopress_social_fb_title : meta open graph title, string
  • _seopress_social_fb_desc : meta open graph description, string
  • _seopress_social_fb_img : meta open graph image, string
  • _seopress_social_twitter_title : meta twitter title, string
  • _seopress_social_twitter_desc : meta twitter description, string
  • _seopress_social_twitter_img : meta twitter image, string
  • _seopress_redirections_enabled : redirection enabled?, if true return “yes
  • _seopress_redirections_type : type of redirection, “301“, “302“, ou “307
  • _seopress_redirections_value : URL redirect, string
  • _seopress_redirections_logged_status : apply the redirect to a specific login status, both“, “only_logged_in“, or “only_not_logged_in“, string
  • _seopress_news_disabled : remove this post from Google News Sitemap, if true return “yes
  • _seopress_video_disabled : exclude this post from Video Sitemap, if true return “yes
  • _seopress_video : array
  • _seopress_pro_schemas : array of schemas
  • _seopress_pro_schemas_manual : array of schemas
  • _seopress_analysis_target_kw : target keywords separated by commas, string

To get the value of a custom field from a post, page, custom post type, use get_post_meta($id, $key, true) function. Replace $key by the name of the custom field (see list).

More info on https://developer.wordpress.org/reference/functions/get_post_meta/

To get the value of a custom field from a term, use get_term_meta($term_id, $key, true) function. Replace $key by the name of the custom field (see list, not available fields started with _seopress_news*).

More info on https://developer.wordpress.org/reference/functions/get_term_meta/