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
- Find the post an attachment is attached to
- Skipping first 3 posts in wp query
- How to add metabox for post of specific category
- How can you make sure authors’ posts are longer than 250 words?
- How to get a post content from another wordpress blog/site?
- Post from front-end only by logged in users, form posts as “posted by:
- Overview with latest edited posts and pages
- WordPress Child Category Display All Posts
- Sanitizing `wp_editor();` Values for Database, Edit, and Display
- Side by side blog posts that are tied together
- Changing my permalink structure – will new layout conflict with existing page?
- WordPress blog posts api – get posts by author
- Sorting posts according to the term they belong to
- Sorting posts according to view counts not working
- Get post excerpt and title by specific post ID?
- if I create ‘front-page.php’, then how do I link to post index?
- Will post_exists work for draft posts?
- How can I get a post field value using javascript?
- Count total number across post types
- Related posts loop based on tags AND categories doesn’t work without at least one tag assigned
- Check to see if post is live before displaying the content
- slideshow is not showing in a post call with ajax
- How to automatically apply a category based on the post title?
- How to disable edit post option 12 hours after post publication for contributors?
- How to delete all the content of a wordpress site without deleting the Post and pages?
- Getting post content without the navigation
- JSON – Permission Error?
- Update a users role based on number of posts published
- Style Differently Edited Posts
- How can I make a post that belongs to a category or have specific tags, display different from the other single posts?
- Query get post,how to add comment box
- Search results posts_orderby and ID
- Issue where WP Featured Image will not display
- Custom order for Mysql array
- Display post category in foreach loop
- Single.php – Get Current Parent Category
- insert a warning message into post-new.php
- WP text editor change html markup
- How to make different custom post layouts?
- Is it possible to give the user the chance to select between two single template files to use in a post?
- Modifying the following code to displaying the title and the content of static page Posts page?
- Saving Post Data in Another Database
- How can I tell if a post has been published at least once?
- Add simple field column to the posts screen
- How to split authors?
- Display Related Posts by Category in Random
- Jumbled writing under a post
- How do I keep raw HTML in my RSS feed and not lose my paragraph breaks?
- Hook save_post_cpt not triggered when custom fields are modified
- Featured Images most often doesnt appear
- Why is WordPress showing a blank excerpt for just one of my posts?
- Is there a way to know when a page has been updated and do some action only once?
- Get category slug of the Parent category of a Product
- How to limit wordpress the_excerpt() dynamically
- Reuse old post ID for new post after deleting post
- Contact Form 7 Shortcode not recognized inside another shortcode
- WordPress Pods Custom Post Type – separate Media Upload folder for each custom Post Types
- WP posts using index.php instead of single.php
- Excluding tag Link from html tags in Post content
- Display new posts categories in separated divs
- Add in the url attachment loop the wp_link_pages of the post
- Couldn’t view individual post that were in my website
- Point to a page when there is no results
- Get the category of post
- update post category in a new table on frequent change of category
- Edit Posts Page but not category specific pages?
- Show posts between two Custom Fields date
- How to display an icon when a new post is published and then remove it when a specific time past?
- How can add metabox for post of specific category before save post and after save post [duplicate]
- Problem with jQuery in post body?
- Posts page template: How can I edit the markup for this?
- Pagination working locally but not on live site
- Should new posts already have tags?
- WordPress limit post that subscriber can create
- Is there any point to using wp_unique_post_slug?
- How to monitor the first publish date?
- Blog Posts Work in Preview, But Are Not Visible on the Live Page – READ MORE u003cspan aria-hidden=’true’u003e→u003c/spanu003e Error
- Twenty Twenty-Four: Static Front Page with Post Links