How do you remove the date posts?
-
Hello, I am working on a school project and I am trying to get rid of the dates that my posts were posted. I tried accessing the metadata and installing a plug-in to remove the dates however both require me to pay 100-300 dollars to do. Is there any way to remove the dates for free? Thanks!!
The blog I need help with is: (visible only to logged in users)
-
Hi @shreyasguptaschool, if you need content that doesn’t have any dates displayed, have you considered using pages instead of posts? Posts are articles/blog items that are very date-oriented; that’s why it’s tricky to get the dates off them.
This guide explains the differences between posts and pages on your WordPress.com site. PostsPagesOther Content TypesConverting a Post to Page (or Vice Versa)How To Post to a Page Posts Posts are entries listed in reverse chronological order on your site. Think of them as articles or updates that you share to offer up new content to your readers. You can display them on your website -
To remove the date from WordPress posts, you can use a plugin or edit your theme’s code. Here are the steps for both methods:
Method 1: Using a plugin
- Install and activate the WP Meta and Date Remover plugin from the WordPress plugin repository.
- Go to Settings > WP Meta and Date Remover in your WordPress dashboard.
- Select the “Remove Date” option and choose the post types you want to remove the date from.
- Save your changes.
-
Method 2: Editing your theme’s code
- Go to Appearance > Theme Editor in your WordPress dashboard.
- Select the theme you want to edit from the dropdown menu in the top right corner,
- Open the functions.php file.
- Add the following code at the end of the file:
- add_filter(‘the_date’, ‘__return_false’);
- add_filter(‘get_the_date’, ‘__return_false’);
- save changes
- The topic ‘How do you remove the date posts?’ is closed to new replies.
