Lightweight SEO plugin.
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Optionally add
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 types
- Optionally add
define('NP_LIGHTWEIGHT_SEO_TAXONOMY', 'category, my_custom_taxonomy');
in wp-config.php to enable SEO fields in Category and custom taxonomies
By 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)