Archive Title

Descripción

This plugin provides options to tweak an archive page title, such as removing annoying archive label (see FAQ). You can remove the label for any archive page completely, or just hide it accessibly.

Features

  • Modifying category, tag, author, custom post type and custom taxonomy archive title (no need to modify the date archive title)
  • Removing archive page title label completely
  • Hiding archive page title label accessibly (using a CSS class of screen-reader-text)

Additional Resources

Capturas

  • Default WordPress archive page titles, before plugin options are applied.
  • After we apply plugin options, the archive page title labels are gone.

Instalación

  1. Unzip the plugin download file and upload archive-title folder into the /wp-content/plugins/ directory.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Navigate to Settings → Reading to edit plugin options under «Archive Title Options» section.

FAQ

What is an archive page?

Archive page contains an archive – a list of posts or custom post types. WordPress recognizes 6 types of archives: category, tag, author, custom post type, custom taxonomy and date.

What is an archive label?

Title of every archive page contains an ‘archive label’ (please note this is a terminology used in this plugin). By default it is the first text in archive title followed with colon. For example, a category archive page with title of «Category: Uncategorized» has an archive label of «Category:».

Where can I find the plugin settings page?

This plugin integrates its settings directly into Settings → Reading WordPress admin page. You can edit plugin options under «Archive Title Options» section on that page.

What does it mean «hiding label accessibly»?

El plugin te permite eliminar por completo la etiqueta de título del archivo u ocultarla de forma accesible. La ocultación accesible consiste en envolver la etiqueta del título del archivo en un elemento HTML <span class="screen-reader-text">.

Cada tema de WordPress debe proporcionar estilos para la clase CSS texto para lector de pantalla. Y todo texto envuelto en dicho elemento de clase CSS quedará oculto a la visibilidad, pero seguirá siendo accesible para dispositivos de asistencia, como los lectores de pantalla.

Te recomendamos que utilices esta opción en lugar de eliminar la etiqueta por completo.

My theme uses a different CSS class to hide elements accessibly. Can I change it?

Si, puedes.

Puedes anular la clase CSS definiendo la constante ARCHIVE_TITLE_CSS_CLASS_A11Y en el tema hijo functions.php de esta forma:

define( 'ARCHIVE_TITLE_CSS_CLASS_A11Y', 'your-theme-accessibly-hidden-class' );

Can I change the archive title label instead of removing it?

Bueno, los 2 únicos casos de uso que se me ocurren para esta opción serían:

  • To change the taxonomy name: For example, if you would like to keep the category archive title label such as «Category:» in «Category: Uncategorized», but only want to change the «Category» text to «Topic». For that case it’s much better to properly rename the taxonomy using a dedicated plugin. You can use this for any WordPress native taxonomy, such as Category, Tag, or any other custom taxonomy, such as Jetpack’s Project Types.
  • To change the post type name: For example, if you would like to rename «Archives: Portfolio» to «Archives: Projects» (note that «Archives:» is actually a label here, and you can remove it with this plugin). For that case it’s much better to properly rename the post type using a dedicated plugin.

Reseñas

23 de mayo de 2021 1 respuesta
As a totally non-techie, I was surprised by the ease of use for this plugin. Simple and effective.
31 de julio de 2019 1 respuesta
Great tool and surprisingly uncomplicated, especially after several hours of unsuccessful try-and-error with code snippets to remove the category and archive labels. Thank you very much!
4 de junio de 2019 1 respuesta
Was going to edit functions.php but this was much easier and safer. Thank you!
11 de noviembre de 2018 1 respuesta
I needed «Archive:» to disappear in front of the Custom Post Type Archives and it did just that!
Leer todas las 5 reseñas

Colaboradores y desarrolladores

«Archive Title» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Archive Title» está traducido en 3 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «Archive Title» 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

Please see the changelog.md file for details.