adsense

How to Get Rid of Time Author in WordPress Blog Posts





1. Log in to the WordPress dashboard by visiting the 'wp-admin' directory of your website. Navigate to 'Appearance' and click the 'Editor' link to load the 'Edit Themes' screen.
2. Locate your 'index.php' template under the 'Templates' heading on the 'Edit Themes' screen and click its link to load the file.

3. Find the following template tag in your 'index.php' template's code and remove both the template tag and any wrapping HTML tags used to mark it:


In the above example, 'the_author()' is the template tag for outputting the author name and is wrapped in '
' tags to mark the text as bold. This is a case where you need to remove both the template tag and the HTML tags.
4. Locate the 'the_date()' or 'the_time()' template tag and remove it along with any wrapping HTML. This code is often found near the code outputting the author name. Some themes use 'the_date()' while others use 'the_time()' to show dates on posts.
5. Click the blue 'Update File' button to save your changes. Repeat the steps necessary to remove the author name and date in other post-related templates as needed. Template files where you can find the relevant template tags include 'home.php' and 'single.php' as well as any category- or tags-related template.

Comments

1 Response to "How to Get Rid of Time Author in WordPress Blog Posts"

Unknown said... December 4, 2019 at 2:11 AM

It’s not that they’ll seemingly serve your readers higher; however, the native comment kind is protractile by different plains. Jetpack Comments is not either is Discus. By the way, you ought to cross-check our review of the ductless gland. It’s sort of a welcome boost to Wardress’ comment system Finally, I found this article. Carry on- I have a secret formula for you. click here

Post a Comment

Popular Posts

About