WP Simple SEO Meta
开发者 |
epigrade
|
更新时间 |
2019年6月3日 01:10 |
捐献地址: |
去捐款 |
PHP版本: |
5.4 及以上 |
WordPress版本: |
5.2.1 |
版权: |
MIT |
版权网址: |
版权信息
|
详情介绍:
Add page title, meta description, keywords and robots to all post types and taxonomies.
Plugin will automatically change page titles for posts, pages, custom posts, categories, tags and custom taxonomies to
whatever you have entered. Also will inject meta fields in template head section. If however you leave fields empty
default WordPress or theme behaviour will occur.
This plugin also removes taxonomy description column from listing table.
You can use it in your theme or other plugin. It creates the following taxonomy and post meta fields:
_page_title
, _meta_description
, _meta_keywords
, _meta_robots
.
Example usage:
// Get page title value for taxonomy with ID $term_id:
$taxonomy_title = get_term_meta( $term_id, '_page_title', true );
// Get page title value for post with ID $post->ID:
$post_title = get_post_meta( $post->ID, '_page_title', true );
更新日志:
1.1.0
- Fixed readme.md headings.
- Renamed readme.txt to readme.md in git repo.
- Fixed version number in plugin file.
- Fixed readme.txt stable tag version from trunk to numeric.
- Fixed readme.txt changelog info.
- Input sanitization, override of titles and injection of meta tags in head section.
1.0.0
- Added readme.txt.
- Full plugin code rewritten using OOP singleton.