How to Hide or Remove Post Meta Data (Author, Date) in Astra Theme
Content
Many Astra theme users want to customize or completely remove post meta information like the author name, publication date, and next/previous links from their blog posts. This is a common request for both design and privacy reasons. This guide explains why this can be tricky and provides the most effective solutions.
Why is it Difficult to Remove Post Meta in Astra?
The Astra theme offers some built-in controls for meta data. In the WordPress Customizer (Appearance > Customize > Blog / Archive > Posts Structure), you can disable certain meta elements for blog and archive pages. However, users frequently report that these settings do not always affect single post pages. Even when elements are hidden visually with CSS, the underlying HTML code—which can contain author links and other data—may still be present in the page source.
Common Solutions for Hiding or Removing Post Meta
1. Using Custom CSS (Visual Removal Only)
For a quick visual fix, you can use Custom CSS. This hides the elements from view but does not remove them from the HTML source code. Add the following code to Appearance > Customize > Additional CSS:
.entry-meta .posted-by,
.entry-meta .posted-on,
.post-navigation {
display: none !important;
}
Note: This is a general solution. To target a specific post category (e.g., 'peace-calendar-event'), you would need to use a more specific CSS selector, which can require troubleshooting to find the correct one for your site.
2. Using a Child Theme (Recommended for Complete Removal)
To completely remove the HTML output for these elements, modifying theme template files is often necessary. This should always be done using a child theme to prevent your changes from being overwritten by theme updates. You would need to identify and edit the relevant PHP files (like single.php) that control the output of post meta.
3. Checking for Plugin Conflicts
Sometimes, the meta data you see might be added by a plugin and not the Astra theme itself. A good troubleshooting step is to temporarily deactivate all plugins to see if the unwanted elements disappear. If they do, reactivate your plugins one by one to identify the culprit.
Important Consideration: Astra Pro Features
It is worth noting that the Astra team offers more granular control over single post meta settings, including the ability to remove author and date information completely, in their Astra Pro extension. Discussions about Pro features are not permitted on the official WordPress.org support forums. This guide focuses on solutions available for the standard Astra theme.
Need More Specific Help?
If the general CSS code doesn't work for your site, the issue is often due to a more specific selector being needed. For further assistance, you can describe your issue in detail on independent community forums like this one, providing a link to your site if possible so others can inspect the code and offer a tailored CSS solution.
Related Support Threads Support
-
How do I change the picture behind the breadcrumb?https://wordpress.org/support/topic/how-do-i-change-the-picture-behind-the-breadcrumb/
-
How to remove the super big image at the bottom (Start learning a new..)https://wordpress.org/support/topic/how-to-remove-the-super-big-image-at-the-bottom-start-learning-a-new/
-
– title separatorhttps://wordpress.org/support/topic/title-separator-5/
-
How to remove nofollow tag from header menu links?https://wordpress.org/support/topic/how-to-remove-nofollow-tag-from-header-menu-links/
-
I cannot remove a background-imagehttps://wordpress.org/support/topic/i-cannot-remove-a-background-image/
-
Delete the “dash” between Previous and Nexthttps://wordpress.org/support/topic/delete-the-dash-between-previous-and-next/
-
Need to get rid of theme name (Love Nature) from website linkshttps://wordpress.org/support/topic/need-to-get-rid-of-theme-name-love-nature-from-website-links/
-
How to ‘remove’ (not display) page numbers?https://wordpress.org/support/topic/how-to-remove-not-display-page-numbers/
-
Disable astra_get_search_form from generating in headerhttps://wordpress.org/support/topic/disable-astra_get_search_form-from-generating-in-header/
-
Random content I can’t removehttps://wordpress.org/support/topic/random-content-i-cant-remove-2/
-
legacy widgets keeps reappearing even after deleting themhttps://wordpress.org/support/topic/legacy-widgets-keeps-reappearing-even-after-deleting-them/
-
Where is the current location to disable the header?https://wordpress.org/support/topic/where-is-the-current-location-to-disable-the-header/
-
Remove commas between categories or tagshttps://wordpress.org/support/topic/chatgpt-remove-commas-between-categories-or-tags/
-
Delete some text from SERPS resulthttps://wordpress.org/support/topic/delete-some-text-from-serps-result/
-
Remove extra spacehttps://wordpress.org/support/topic/remove-extra-space-4/
-
Remove header pageshttps://wordpress.org/support/topic/remove-header-pages/
-
Showing code in my first page!!!https://wordpress.org/support/topic/showing-code-in-my-first-page/
-
Please help me. Custom Taxonomies headers are breaking the site.https://wordpress.org/support/topic/please-help-me-custom-taxonomies-headers-are-breaking-the-site/
-
How to hide AUTHOR, DATE, NEXT, PREVIOUS from my posts/articles?https://wordpress.org/support/topic/how-to-hide-author-date-next-previous-from-my-posts-articles/
-
Hiding usernamehttps://wordpress.org/support/topic/hiding-username-3/
-
Hide image name on hoverhttps://wordpress.org/support/topic/hide-image-name-on-hover-2/
-
How to completely remove Author & Date in Astra Freehttps://wordpress.org/support/topic/how-to-completely-remove-author-date-in-astra-free/
-
How to Disable Reblog Button on Blog Postshttps://wordpress.org/support/topic/how-to-disable-reblog-button-on-blog-posts/
-
Issue with Carousel Add-Onhttps://wordpress.org/support/topic/issue-with-carousel-add-on/
-
Cannot edit a line in footerhttps://wordpress.org/support/topic/cannot-edit-a-line-in-footer/
-
Al final de las entradas me aparece información de las paginashttps://wordpress.org/support/topic/al-final-de-las-entradas-me-aparece-informacion-de-las-paginas/
-
How to remove unused theme pages from sitemap.xmlhttps://wordpress.org/support/topic/how-to-remove-unused-theme-pages-from-sitemap-xml/
-
Can’t remove demo footer (‘Prime Lawyers’)https://wordpress.org/support/topic/cant-remove-demo-footer-prime-lawyers/
-
Remove or rename “pages” and “posts” in live search resultshttps://wordpress.org/support/topic/remove-or-rename-pages-and-posts-in-live-search-results/
-
Hide meta from specific post categoryhttps://wordpress.org/support/topic/hide-meta-from-specific-post-category/