Опис
This plugin will hide author’s archive.
If your don’t need author parameter, this plugin may enhance your site’s security from bot inspection.
- No more
?author=1redirection to/author/admin - Ignore query var like
author=1orauthor_name=admin - Hide user list in REST API from user without permission
list_usersoredit_others_posts. This capability is filterable.
/**
* Filter capabilities to see author list.
*
* @param string[] $caps List of capabilities.
*/
add_filter( 'hide_author_archive_rest_query_capability', function( $caps ) {
$caps[] = 'read';
return $caps;
} );
Besides that, this plugin tries to remove author information from meta tags and JSON-LD as possible as it can.
- Override author section in oEmbed.
Some organization needs to hide author information of each article.
Supported Plugins
Yoast
- Remove
meta=author - Override author section in Article scheme in JSON-LD
- Hide author section in Slack sharing.
- Hide
article:authorin OGP.
Встановлення
Search “hide author archives” in admin screen.
Altenatively, you can install it manually like below:
- Upload
hide-author-archivefolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Часті питання
-
Our fundamental goal is covering Core features.
But feel free to let us know and request new features. -
How To Contribute
-
We host plugin on github and any issues and pull requests are welcomed!
Відгуки
Учасники та розробники
“Hide Author Archive” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
Учасники“Hide Author Archive” було перекладено на 2 локалізації. Дякуємо перекладачам за їх роботу.
Перекладіть “Hide Author Archive” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
1.2.1
- Add some more filters for Yoast and oEmbed(Core).
1.2.0
- Add override function for Yoast.
1.1.5
- Hide single REST API for single user get
wp/v2/users/1. - Editor can see REST API users get to change author of posts.
1.1.1
- Support REST API.
- Fix coding standards.
1.0.0
- First release
