WordPress How to Get Rid of Time Author in Blog Posts

WordPress How to Get Rid of Time Author in Blog Posts
Page content

Removing the Time and Date from WordPress Blog Posts

**

WordPress How to Get Rid of Time Author in Blog Posts - Because each WordPress theme is coded a bit differently, the process of removing the time and date from single posts may differ slightly. For the most part, you need to find the file single.php in your specific theme folder and look for a piece of code that refers to the time and date. An example of this code may be:

or

Alternatively, your theme may not have a single.php file. If not, you need to use the index.php file instead. Find the index.php file in your theme folder, open it up with an HTML editor or within the WordPress built-in editor, and look for the same code.

or

Delete this code and make sure that you save changes to the site. From there, the time and date from WordPress blog posts should be gone.

Now, your WordPress theme may also display the time and date on pages, which are completely different than posts. Not all themes do this, but some do. In order to get rid of time and date on WordPress pages, you need to look for the code above, but this time edit the page.php file.

or

Delete the above code from page.php in your WordPress theme folder.

Alternative option:

If you are uncomfortable editing the theme files for your particular WordPress blog, you can also try this WordPress plugin, which is designed to remove the date and time. There are more specific directions on how to use the plugin listed on the plugin download page. This plugin is not guaranteed to work for all WordPress themes.

Removing the Author Name for WordPress Blog Posts

WordPress How to Get Rid of Time Author in Blog Posts - Removing the author name from blog posts, or the ‘posted by:’ label, is very much the same process as removing the time and date from posts. All you need to do is remove some code from the single.php, page.php, or index.php.

Open up your WordPress theme folder and look for the file single.php. If there is no single.php, use the index.php file. Open the file for editing and do a search for the word ‘author’.

WordPress should likely turn up a couple of search results. Remove the author .php statement that is relative to the posted by: or written by: section of your blog. The actual code may look something like this:

To find out more about removing the author, visit this Wordpress.org page.