Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Hide Author Archive

Descrizione

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.

  1. No more ?author=1 redirection to /author/admin
  2. Ignore query var like author=1 or author_name=admin
  3. Hide user list in REST API from user without permission list_users or edit_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;
} );

Installazione

Search “hide author archives” in admin screen.
Altenatively, you can install it manually like below:

  1. Upload hide-author-archive folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

How To Contribute

We host plugin on github and any issues and pull requests are welcomed!

Recensioni

25 Febbraio 2021 1 risposta
After activating this plugin, the author archive lands on a 404 page. I was looking for this functionality, because on many websites, there isn't a need for author archives. Tested with WordPress 5.6.2
Leggi la recensione di 1

Contributi e sviluppo

“Hide Author Archive” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

“Hide Author Archive” è stato tradotto in 1 lingua. Grazie ai traduttori per i loro contributi.

Traduci “Hide Author Archive” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

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