Lightweight SEO plugin.
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.define('NP_LIGHTWEIGHT_SEO_POSTS', 'post, page, my_custom_post_type');
in wp-config.php to enable SEO fields in Posts, Pages and custom post typesdefine('NP_LIGHTWEIGHT_SEO_TAXONOMY', 'category, my_custom_taxonomy');
in wp-config.php to enable SEO fields in Category and custom taxonomiesBy default SEO fields will be added to Posts, Pages and Posts Category.
By default Post featured image is used for Facebook (og:image) and Twitter (twitter:image) images.
It is possible to add custom image using next_plugins_lightweight_seo_post_image
and next_plugins_lightweight_seo_term_image
filter.
In both filters you need to return array containing image url and sizes.
Returned array example:
array(‘url’ => ‘http://www.my-full-url.com/image.jpg’, ‘width’ => 300, ‘height’ => 200)