1) the_date()
echoes the date value, so this statement isn’t correct:
echo the_date('d M');
It should be:
the_date('d M');
2) If you have some posts posted on the same date, the_date()
will show only the date value for the 1st post. There will be no result for remained posts.
To get date of all post, use get_the_date()
(which returns date value) or the_time()
instead.
Related Posts:
- How to remove a column from the Posts page
- Update post counts (published, draft, unattached) in admin interface
- How to display by default only published posts/pages in the admin area?
- Set Default Listing “View” in Admin
- display all posts in wordpress admin
- Sends out email to admin
- Can I force a metabox to be in one column?
- Add a new post status in the post progression
- Help! Turn php link data into url OR hide edit link in post admin OR hide drafts for all users except admin?
- Modifying admin sidebar contents to show pending posts indicator
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- using slug instead of ID in admin edit post url
- How to Load Scripts and CSS for Admins Only When Editing or Adding Posts
- Add “Post Options” for new wordpress post
- Post Admin – Filter by posts without tags
- Add javascript when post is published
- Add link on the top menu of the post table?
- Add a special filter link to All Posts in admin
- which action to hook to in order to perform post-publish action
- Make “Post published. View post” Open in a New Tab
- Overview with latest edited posts and pages
- Hiding by default specific post status on backend list?
- Custom colors for post rows based on post meta value
- How to add an admin function only to posts, not pages?
- prevent showing posts of an specific category in admin posts section
- Remove whitespace at the end of posts?
- Allow role to delete posts but block him the wp-admin
- Is there a way to change the color of a row in Post Administration based on the type of post?
- Add filter-by-tag in the all posts admin console page
- How to get a nofication when post submitted
- How do I add a custom body class to the admin area of a page?
- Adding a text link under the post title in the lists of posts
- Is it possible to change the admin posts per page view?
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- Change default Posts page
- Show info to author only
- Disable inline_edit() on edit.php
- Change target of view link in admin
- Prevent additional top level categories but allow more children
- WP Admin register taxonomy and post type performance
- Publish post’s date is set to Nov 30 -0001
- Admin – create custom post status and display above table
- plugin to post from admin to flickr [closed]
- All Posts admin screen – show time underneath the ‘Date’?
- Get post ID in post/page edit area
- How to remove specific tag from multiple posts?
- How to detect when admin user is on the All Posts page?
- All posts display default index.html
- How can I add a box to edit Order on a regular post?
- Filtering posts on Post Administration Page by Week Number instead of by Month
- How to add the time of a post to the list of posts on the administration page?
- Is there a way to add the list of recent posts into the admin sub menu on hover?
- How to add convenient buttons for new custom post statuses
- I don’t want the complete article to show on homepage
- After 3.5.1. upgrade, posts appearing on Site yet *NOT* in WP admin!
- Send email to admin with post author
- In admin panel, use a form to create a post?
- Add checkbox in admin post list – show checked post in widget
- Cannot create new posts or upload images using media manager
- Ignore posts content in the posts queries for internal linking
- How do I scope out why I have two “posts” menus in an admin?
- Put page on Archived statut after end of publication date
- Add view to admin menu to filter for specific criteria ( If post is child of specific Parent )
- problem with admin panel
- Ajax the create and edit post form into lightbox and get results
- Hide Admin posts & pages in Dashboard
- Creating widget – ask for selecting a post in the admin panel
- issue in wordpress auto delete post and redirect to another 1
- How to change the publishing date of each posts?
- Is possible to create a custom link that creates a post that’s already categorized?
- Why is $_POST Empty in Profile Edit Admin?
- Display the popular tags by default in the backend post edit page (without having to click on the link that displays them) [closed]
- WordPress Admin Tables in Post View
- Can I hide only one category from admin post list?
- Choose options via url
- Admin moderates ALL comments (including post author)
- Posts in Admin only display 1 Post instead of all
- How to remove a specific script from bulk wordpress posts and images description?
- Post Format Status [closed]
- Display all posts from specific categories on a page
- How to schedule multiple posts while adding new
- Plain-text tag list?
- Query only Posts from Both of Two Category?
- wp_update_term is always launched after wp_insert_term
- why does HTML Tag not working in Post and Page
- Posts are being redirected to xampp home page
- Can I lock a post in position, so it always appears on the homepage?
- How do I correctly set up a WP-Query to only show upcoming event-posts?
- How to get a post’s details by shortcode?
- Why is my custom template not showing anything?
- How to get all inline images in post content? [duplicate]
- Link post images to post
- Rewriting blog permalinks
- How to exclude native lazy loading from first image in post content?
- WordPress 5: prevent link from displaying page title instead of URL
- Post title not displaying as recorded in the wp_posts table
- Creating pages and getting their values from the database table
- Older entries link within a category page
- Read more link not working [closed]
- Look for one plugin which could send notification to any email when post publish