How to Hide Author in WordPress Posts
Learn how to hide author details in WordPress posts with settings, CSS, plugins, and theme code. Keep your layout clean while protecting SEO.
Start With the Role of Author Details
To hide author details in WordPress posts, first check your theme settings. Many themes let you turn off the author line without code. If your theme lacks that control, use a block setting, CSS, a plugin, or a child theme.
Author data can build trust. It shows who wrote a post and helps readers judge its topic. This matters most for news, health, finance, and expert guides. Clear bylines can support trust, even when they do not directly raise rankings.
Some sites need a cleaner layout. A company blog may publish all posts under one brand name. Guest posts may need a shared label instead of a staff member’s name. Privacy needs can also make author removal the right choice.
- Keep the author line when writer trust matters.
- Hide it when the brand owns every post.
- Use a clear guest label when several writers contribute.
- Check mobile and desktop views after each change.

Why Would You Hide the Author?
Removing an author can make a blog feel more consistent. It can also prevent readers from viewing a public writer profile. This helps when a site has many short updates from a small team.
Guest blogging is a common case. A guest writer may not need a full archive page or public account link. You can show “Guest contributor” instead of hiding all writer details. That choice keeps some context for readers.
There are trade-offs. A missing byline may weaken trust on advice that needs expert review. It may also remove links to author archive pages. Review each post type before applying one site-wide rule.
Do not remove author data just to chase rankings. Google’s guidance covers author details in article markup and page content. Read Google’s Article structured data guidance before changing author fields on news or expert content.
Use WordPress Settings Before Code
The simplest answer to “how to hide author in WordPress” often sits in the Customizer. Open the WordPress dashboard, then select Appearance and Customize. Look for a panel named Blog, Single Post, Post Meta, or Layout.
- Open the theme customizer.
- Open the single post or blog settings.
- Turn off Author, Byline, or Post Meta.
- Turn off Date too, if the site needs no time stamp.
- Save the change and test a published post.
Block themes use a different path. Open Appearance, then Editor, and choose Templates. Open the single post template. Select the Post Author block and remove it. You can also remove the Post Date block from that template.
Some themes place these controls inside the post editor. Open a post and check the sidebar for settings named Author, Meta, or Page Elements. This method works well when you need to hide details on one post only.
Theme controls vary by theme and version. The WordPress theme developer handbook explains how templates and theme parts control post output. Use it when your theme offers no clear visual setting.

Remove the Author Name From Posts
When settings fail, CSS can hide the visible author line. This does not remove the data from the page source. It only hides the element from view. Use this method for a fast design fix.
First, inspect the author line in your browser. Right-click the byline and choose Inspect. Find its class name, such as “author,” “byline,” or “post-author.” Then add a rule in Appearance, Customize, Additional CSS.
For example, a theme may use this rule: .byline, .author { display: none; } Replace those names with the class used by your theme. Save the rule, clear any cache, and test the page in a private browser window.
CSS can miss other author links. A theme may show an author box, an avatar, and an archive link in separate elements. Hide each matching class only after checking its effect. A broad rule can remove author data from widgets or comments.
A better long-term fix uses a child theme. In the child theme template, remove the function that prints the byline. Common calls include “the_author,” “the_author_posts_link,” or “get_the_author.” Back up the site first. Never edit the parent theme, because an update can erase your change.
Use a code snippet tool when you need a filter instead. The exact filter depends on the theme. A snippet may remove a post meta callback from the single post hook. Ask the theme maker for the right hook before adding PHP.

Remove Both Date and Author Metadata
Many readers search for how to remove date and author from WordPress posts. The process matches author removal. Start with the theme or template settings. Turn off both Post Author and Post Date in the single post layout.
If the theme has no controls, inspect both elements. The date may use “entry-date,” “posted-on,” or “published.” The author may use “byline” or “author vcard.” Add only the selectors you confirm in your own markup.
| Goal | Best first method | Main risk |
|---|---|---|
| Hide one post line | Post editor setting | Theme may not support it |
| Hide all author lines | Theme template setting | It affects every post |
| Hide date and author fast | Additional CSS | Data still stays in source |
| Remove output fully | Child theme code | A code error can break layout |
Think twice before hiding dates on time-sensitive posts. A reader may need to know when advice was published. Keep dates when old information could cause harm or confusion.

Try Plugins for Author Removal
Plugins can help when you do not want to edit theme files. Search the WordPress plugin directory for terms such as “hide author,” “remove byline,” or “post metadata.” Check the last update, active installs, and support replies before installing one.
- WP Meta and Date Remover: hides common date and author fields.
- Hide Author: targets author names and author links.
- Code Snippets: runs small PHP rules without editing files.
- Simple Custom CSS: adds CSS without changing the theme.
Plugin names and support levels can change. Check each listing on WordPress.org before use. Test the plugin on a staging site when possible. One small plugin is safer than several tools that change the same metadata.
Disable unused plugins after testing. Keep a recent backup before updates. If a plugin hides the author in one place but not another, inspect the missing element and check its class.
SEO Effects and Better Choices
Hiding an author line does not automatically harm search rankings. It can reduce trust when the topic needs clear expertise. It can also remove useful links to author pages and profiles.
Do not confuse visible design with structured data. A page may still contain author fields in its markup. Those fields must match the page content and reflect a real writer or organization. False author data can create trust and quality problems.
If privacy is the main concern, use a brand or team byline. Keep a short editorial policy on the site. Add review details when a qualified person checks the post. This approach protects privacy without making the content look anonymous.
- Keep expert bylines on health, money, and legal content.
- Use a team name for shared editorial work.
- Keep accurate author data in structured markup.
- Track traffic and engagement before and after changes.
Fix Common Author Visibility Problems
If the author still appears, clear your page cache first. Then clear any CDN cache and test in a private window. Cached HTML often shows an older theme version.
Check the template that controls the page. A blog archive, search page, and single post can use different templates. Remove the author block from each template that needs the change.
If CSS hides the wrong content, narrow the selector. A rule like “.author” may also affect comment authors or team widgets. Use the browser inspector to confirm the exact element.
If a code change causes a blank page, restore the last file backup. Use a child theme or a code snippet tool next time. Ask your host for a file restore when you cannot reach the dashboard.
Finally, test logged-out and logged-in views. Some plugins show metadata only to site members or editors. Check desktop, mobile, archives, search results, RSS feeds, and social previews.
Choose the Safest Removal Method
The best answer to “how to remove author from WordPress posts” depends on your goal. Use a theme setting for a clean, supported change. Use CSS for a quick visual change. Use a child theme when the author output must leave the page.
Plugins suit site owners who want control without code. Keep the change narrow when only guest posts need a different byline. Keep real author or reviewer details where trust and subject knowledge matter.
Back up first, test every template, and watch search performance after launch. A clean layout should not hide useful context from readers.
Step-by-step
- 01 Check theme display settings
Open the Customizer or Site Editor. Look for Blog, Single Post, Post Meta, or Layout settings.
- 02 Turn off author details
Disable Author, Byline, or Post Author. Disable Post Date too if needed.
- 03 Test the post templates
View a post while logged out. Check the post page, archive, search results, and mobile view.
- 04 Add CSS only when needed
Inspect the author element and add a narrow selector in Additional CSS. Clear all caches after saving.
- 05 Use a child theme for full removal
Remove the author output from the child theme template or a trusted code snippet. Back up the site first.
Frequently asked questions
- How do I hide the author in WordPress posts?
- Open your theme settings and turn off Author, Byline, or Post Meta. If no setting exists, use CSS, a plugin, or a child theme.
- How do I remove the author name from WordPress posts without code?
- Use the Customizer, Site Editor, or a post sidebar setting when your theme supports it. A plugin can also hide common author fields.
- Can CSS remove the author from WordPress?
- CSS can hide the author line from view, but the data may remain in the page source. Use a child theme when you need full removal.
- Does removing the author hurt SEO?
- It does not cause an automatic ranking loss. Yet missing bylines can reduce trust on expert topics, so keep clear writer or reviewer details where they matter.
- How do I remove the date and author from WordPress posts?
- Turn off both fields in the single post template or theme settings. You can also hide confirmed date and author selectors with Additional CSS.
- Why does the author still show after I hide it?
- Clear your site and CDN caches, then check each template. Archives, search pages, and single posts may use different author elements.
Related reading
How to Change Your WordPress Web Address Safely
Change your WordPress URL safely with three proven methods and redirect tips.
How to Edit WordPress Pages, Posts, Shop Pages, and More
Edit WordPress pages, posts, shop layouts, and 404 templates with ease.
How to Edit a WordPress Post Without Losing Your Work
Edit WordPress posts, settings, images, drafts, and revisions with ease.