You can put a small script in your single.php that updates a custom field with the current time.
update_post_meta(get_the_ID(),"last_visit",time());
Related Posts:
- How to schedule multiple posts while adding new
- order posts by date like craigslist
- How to get the latest posting time of archived pages in WordPress?
- How to insert current date/time in the content of a post?
- How to get the date of a post in WordPress, so I could use it in a script?
- Automatically Updating Publish Date Bug
- How can I show many posts an author has per week?
- If modified on same day, show only time
- Prevent scheduled post being published if date/time is past current date/time
- Automatically add date to the auto generation of post slug
- How i can limit period of post publication?
- Changing default WP-Site creation date
- tribe_get_start_time displays the current date and time on other post types than tribe_events
- Get the most recently modified post date of most recently modified post
- How to show different timestamp
- Date is wrong on ‘all posts’ page
- change the post time on multiple posts
- Post navigation using date
- Bulk update published posts date randomly using wp-cli?
- How do you update post date (year only) in a separate custom field?
- How to handle dates, trying to calculate time since a post
- date_query returning only the most recent post instead of the post published before today
- Stop WordPress Wrapping Images In A “P” Tag
- Access post from post id in URL
- How to mark articles as read?
- Ajax Load More Posts in Category Page
- WooCommerce – Create Products Programatically [closed]
- Code to auto expire posts after 30 days
- Search not working with title and content
- Show the title of the latest post by author
- Developing a secure front end post editing form
- How to use alternate post layout at key points in post loop?
- Add a custom option to a page in backend
- Changing publish date does not update post order
- Hide Post comments when displayed via WP_Query
- Show all post titles
- Posts are not showing up on particular category
- Can a page_id and a post_id be same?
- Differentiate between posts and pages in search results
- WordPress Theory Lesson – Image Columns within posts with alignment?
- Uppercase first sentence in every post
- Page Navigation for list of post
- Extracting post categories
- Limit popular posts by days
- Exclude post_meta from Rest API Endpoint
- impreza portfolio display/view blank page
- How to verify wp user password by sql query in wp? [closed]
- Get ALL post ID’s export list (Only id’s. Php or sql not important )
- Cannot get $post object in name_save_pre hook
- Meta value does not save for scheduled posts
- How can I check if a var is equal a translated label?
- Update Modified date when scheduled posts get published
- Loading post with Ajax
- How to display links in specific page
- WordPress does not output “post” class when calling post_class() function
- Loop doesn’t show title of second post and posts thereafter
- Delete all drafts?
- Which PHP files should I edit for changing POSTS list and view pages?
- How to add add more properties to WP_Post object in search results loop
- How to get current post ID in functions.php
- How to show all posts by author on buddypress profile with navigation
- Display post by click on the link
- WordPress 302 Redirect to Random Product/Post/Page
- How to call posts under a specific category on static front page?
- Image on rss feed on post
- Using AJAX and PHP to load next post object
- Display most recent posts in category with Twenty Ten theme widget
- Your ideas on my though “delete or move all of the posts in a specific category when 3 days are passed”
- How Can I Always Display A Particular Post First Using WP_Query?
- How to remove the ManageBlocksMenuItem in the ToolsMoreMenuGroup in the Gutenberg Editor?
- Different background colors for posts with WordPress
- How to preserve HTML from posts in RSS feed
- Menu does not foward to the linked posts
- Run a function when a custom post is update?
- WordPress Post ids big increment
- Add a second rich text input to post editor, and make that content available in post template
- How to get post creation date?
- How to set the post permalink using the WordPress REST API?
- Multiple post in One Loop in wordpress
- Post images are not displayed in media library
- Order posts inside bootstrap card columns
- Save ACF with a save button on a post
- How do I customize the post page
- Clicking on a Post takes 10+ seconds for the server to respond, Pages will respond immediately
- Schedule image post on download
- Show posts in a parent directory [duplicate]
- How can we print out total number of posts filtered by post type and category?
- WordPress infinite post cycle problem
- All my posts don’t show, only the headline is displayed on the homepage
- How to prevent people from seeing an attachment to a scheduled post that’s released in future?
- How can I access my posts on my wordpress site, now I’ve lost the domain name for it?
- Page not loading content – Body archive – page
- Daily posts like an archive
- Retrieve latest post by multiple categories with ID
- standard wpGallery for post won’t work
- Why is $_POST Empty in Profile Edit Admin?
- How remove “recent comments” title without modifying code? [closed]
- Return All Post from publish to draft [duplicate]
- Get posts after calculating meta key
- Articles show some of text [duplicate]