Edit Author Slug

Descripción

Este plugin permite el control total de los enlaces permanentes de usuario, permitiéndote cambiar tanto la base de autores (la porción «/author/» de las URLs de los autores), como el slug del autor (que por defecto es el nombre de usuario del autor). Puedes fijar la base de autores globalmente o puedes hacerlo para que sea específica del usuario en función de su perfil. Ahora tienes el poder de crear la estructura de URL perfecta para tus páginas de autor.

Estructura por defecto de WordPress http://example.com/author/username/.

Edit Author Slug permite esto: http://example.com/ninja/master-ninja/.

El uso de una base de autores basada en perfiles permitiría http://example.com/ida/master-splinter/ (para un perfil de administrador), o http://example.com/koga/leonardo/ (para un perfil de suscriptor).

El desarrollo de este plugin se realiza en GitHub ¡Siempre son bienvenidas las solicitudes de inclusión de mejoras!

Las traducciones deben enviarse a Translating WordPress.

Capturas

  • Ajustes
  • Slug de autor de usuario individual

Instalación

  1. Upload edit-author-slug folder to your WordPress plugins directory (typically ‘wp-content/plugins’)
  2. Activa el plugin a través del menú «Plugins» en WordPress
  3. Ve a Usuarios > Tu perfil, o Usuarios > Todos los usuarios > (nombre de usuario), y edita el slug de autor.
  4. Haz clic en «Actualizar perfil» o «Actualizar usuario»
  5. Ve a Ajustes > Editar Autor Slug para editar los ajustes
  6. Haz clic en «Guardar los cambios»

FAQ

¿Qué es un slug de autor?

En las instalaciones estándar de WordPress, es la parte final de un enlace permanente de autor.
p. ej.: https://example.com/author/author-slug/

En relación con WordPress, el slug de autor es el mismo que el campo user_nicename que se encuentra en un objeto WP_User, o la tabla de usuarios en la base de datos.

¿Permanecerán mis cambios si desactivo o borro el plugin Edit Author Slug?

Depende.

Cambiar el slug de autor de un usuario es permanente, ya que esto cambia el campo user_nicename del usuario en la base de datos.

Si has cambiado la base de autores, desactivar o borrar el plugin revertirá la base de autores a author.

¿Por qué no puedo editar mi slug de autor?

Make sure you are an admin, or have been assigned the edit_users capability.

¿Por qué no funciona mi nuevo slug de autor?

While I’ve made every attempt to prevent this, I may have missed a spot or two. First things first, go to Settings > Permalinks and click «Save Changes.» You don’t need to actually need to make any changes for this to work. Hopefully, this should kick your new Author Slug into gear.

Si esto no funciona, asegúrate de que no tienes ningún conflicto de slug de otras entradas/páginas/plugins/ajustes de enlaces permanentes/etc. Si sigues experimentando el problema, no dudes en enviar una solicitud de soporte en los foros.

Reseñas

2 de julio de 2022
It came in handy just when I needed some custom author base slugs. Thanks, Brandon!
7 de junio de 2022
I needed to change the admin url from /mysite/author/admin-name to /mysite/author/xyz, for anonymity, and it works. Nice and easy. Thank you.
Leer todas las 79 reseñas

Colaboradores y desarrolladores

«Edit Author Slug» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Edit Author Slug» ha sido traducido a 8 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «Edit Author Slug» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.8.4

  • Release date: 2022-02-13
  • Bumps «Tested up to» version to 5.9

1.8.3

  • Release date: 2021-08-07
  • Bumps «Tested up to» version to 5.8
  • Improves string translations and adds some missing strings that couldn’t, previously be translated. Props @alexclassroom

1.8.2

  • Release date: 2021-06-01
  • Bumps «Tested up to» version to 5.7

1.8.1

  • Release date: 2020-12-14
  • Corrects settings page notice link to actually link to the current user’s profile page.

1.8.0

  • Release date: 2020-12-14
  • Bumps «Tested up to» version to 5.6
  • Adds a notice to the settings page reminding you that you can edit your author slug on your profile page.
  • Drops support for IE 10 on the settings page.

1.7.0

  • Release date: 2020-06-07
  • Bumps the minimum required version to WordPress 4.9.
  • Bumps «Tested up to» version to 5.4.1
  • Fixes an error that may occur with some install of iThemes Security

1.6.1

  • Release date: 2019-09-05
  • Removes pre-WP 4.5 cache busting. The minimum version has been 4.7 for quite some time, and, as of WP 4.5, the cache busting was redundant.
  • Don’t show the options page if ba_eas_can_edit_author_slug() returns false.
  • Bumps «Tested up to» version to 5.2.3

1.6.0

  • Release date: 2018-10-11
  • Minimum required WordPress version is now 4.7
  • Settings page JS no longer depends on jQuery (switched to plain js)
  • Add compatibility for iThemes Force Unique Nickname WordPress Tweak
  • Add a hash string as an author slug option
  • Minimum PHP version has been bumped to 5.3. This is a soft bump, meaning, the plugin should still run on PHP 5.2. However, PHP 5.2 is no longer, officially, supported.

1.5.2

  • Release date: 2017-06-21
  • Fixed a regression where those using the default author based couldn’t remove front unless they were also using role-based author bases. Props @thatherton.

1.5.1

  • Release date: 2017-06-02
  • Fix PHP notice when manually updating a user profile. Props @mydigitalsauce.

1.5.0

  • Release date: 2017-05-30
  • Bumped minimum required WordPress version to 4.4.
  • Refactored bulk upgrading again. The original fix made things better, but not as good as it could be. This new refactoring drastically improves performance and memory usage.
  • This release is primarily an under-the-hood release with a number of optimizations and performance improvements.

1.4.1

  • Release date: 2017-04-24
  • Fix failing string replacement in bulk update message.

1.4.0

  • Release date: 2017-04-04
  • Lots of code cleanup to better adhere to WordPress Coding Standards.
  • Improved performance of ba_eas_sanitize_author_base() by preventing unnecessary processing.
  • Fixed an issue where the demo author permalink URL could have a double slash.
  • Improvements to bulk update for sites with a large user base.

1.3.0

  • Release date: 2017-01-25
  • Fix a potential bug where a sanitized author base could end up with double forward slashes.
  • Introduce the %ba_eas_author_role% permalink structure tag. This can be used to customize role-based author bases.
  • Bonus: All alternative facts are now free!

1.2.1

  • Release date: 2016-02-29
  • Fixed stupid error where the default user nicename wasn’t being properly retrieved from the database. Sorry about that 🙁
  • Unfortunately, some unicorns were lost during the development of this release, but they are a resilient creature.

1.2.0

  • Release date: 2016-02-01
  • Added the ability to use forward slashes in the author base.
  • Improved display on the settings page, and storing, of role slugs.
  • Packaged translations are now removed. Anyone interested in translating the plugin should do so at Translate WordPress.
  • EXPERIMENTAL: Added the ability to set the author slug to a user’s numeric user id. While I have tested this, I can’t be sure that no one’s site will implode. If all goes well, the experimental tag will be removed in the next major release (or two).
  • Added ability to remove the front portion of author links.
  • Accessibility improvements to the settings page.

Full Changelog

  • https://github.com/thebrandonallen/edit-author-slug/blob/master/CHANGELOG.md