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_odp : meta robots open directory project, 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_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/307
  • _seopress_redirections_value : URL redirect, 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

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/


Last modified: August 13, 2018