Navigation überspringen

[Gelöst] Disable author and navigation from custom post type single page

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 support ticket is created vor 1 year, 6 months. There's a good chance that you are reading advice that it now obsolete.

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.

Dieses Thema enthält 1 reply, hat 2 Stimmen.

Zuletzt aktualisiert von Christopher Amirian vor 1 year, 6 months.

Assistiert von: Christopher Amirian.

Author
Artikel
#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.

versteckter Link

#2779556

Christopher Amirian
Unterstützer

Sprachen: Englisch (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.