Saltar navegación

[Resuelto] Disable author and navigation from custom post type single page

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

I want to remove the author name, date, and post navigation (previous/next post) from my content template on specific posts.

Solution:

For Navigation (Previous/Next Post): In your content template, search for the code responsible for post navigation, usually found near . Remove or comment out this section to disable the navigation links.

For Author Name and Date: These elements are likely generated by the Astra theme. Check the Astra theme options in the WordPress Customizer (Appearance > Customize) for settings to hide the author and date. If no option exists, contact Astra support for further assistance.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Christopher Amirian 1 year, 6 months ago.

Asistido por: Christopher Amirian.

Autor
Mensajes
#2779478

Hi!
I'd like to remove author and navigation (previous, next post) from my content template.
Just wondering how to...
Look at this post.
The author (admin), date and navigation on the bottom.

enlace oculto

#2779556

Christopher Amirian
Colaborador

Idiomas: Inglés (English )

Hi,

I checked the front end code and you need to search for a code like this in the content template:

<!-- #post-## -->

After that the code of the prev-next is and you can remove it.

But the author name seems to be generated by the Astra theme. You need to either contact their support or check their options as usually such themes have an option to show or hide the author name.

Thanks.