If you’re adding a post every few seconds, then you’d really spam your database. Adding an attachment (which is some type of post), is not really different, but more appreciated. Take a look at these functions.
Just my 2 cents: I’d just display it according to the url, not download, save and add a post with lots of unnecessary data. If you need to save it, you’re better off with simply saving it in some custom folder and not use the wp engine at this point. You could create date and/or time based folders and use the folder name as img caption or such.
Related Posts:
- How to add/assign or change featured image in post programmatically?
- Force update all posts in custom post type, no content changes
- Send a review notification email to admin when a post is 12 months old
- How can I post exact same post but with a few things changed? (with some sort of Automation)
- New Gmail email to a WordPress new post? [closed]
- Automate post update for all posts?
- How to select a category automatically based on a word in WordPress post title?
- Automatically delete post in a single category when a new one is created
- How to delete posts with incorrect status
- How to change the case of all post titles to “Title Case”
- How set featured posts using checkbox in post edit screen?
- Post/Page Preview Template
- Convert custom fields to post categories
- Display posts by tag on page
- How to batch update post content with custom post meta value
- Most viewed post for the last 2 days using WP_Query
- How to remove bulk edit options
- How to create post in WP network using WP-CLI
- Do I use custom post type or something else?
- How To Add Perfect Apostrophe And Quotation Mark In WordPress Posts?
- Custom post type permalinks breaking due to 3.1 bug fix
- How do I add a reusable block to a programmatically created post?
- ‘Invalid post type’ error when importing from one site to another
- The ‘https_local_ssl_verify’ filter
- Locked/Unlocked in title
- How to permanently delete a post meta entry?
- Loop through all product posts?
- Get image from post’s gallery
- How to display featured image without it appearing in post?
- check if wordpress is updating or publishing a post
- WordPress blog or WordPress website
- Find attached images for one post type
- Permission issue with custom post type – not added to menu – by plugin
- Get Page ID of blog homepage
- Get Image tag from content of post
- Visting slug for ‘post’ post type shows 404 not archive?
- Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?
- Trying to alter the post_content through the_post
- Automatically create a new page daily with last three posts
- Add filter to the end of the post
- How to add a class to each individual post?
- Indirect modification of overloaded property WP_Post::$ancestors has no effect
- How do I change the location of post-specific information?
- ACF to select posts not displaying on blog page
- Benefits to using semantic HTML in post content? [closed]
- How can I insert a new markup element after 4 posts automatically? [closed]
- the_excerpt is displaying excerpts of every post
- Using wp_tag_cloud with only posts published in specific year
- Extract wordpress posts content and category content
- Post: how to set created date after post has been published [closed]
- WordPress loop not working on static front page
- Sidebar on single.php not showing up
- remove all custom post created
- Multiple Blog Pages
- Hide content from Post Preview
- How to get the next and previous image title from attachment or gallery?
- Pagination for posts inside a specific category
- Change modified date to current date when title updated automatically
- Creating a redirect option for current page url
- How to edit a custom theme?
- WordPress posts have a different URL to the index
- how to Update guid = “text”+post_name?
- SQL DELETE multiple post_meta on single and multi-sites
- How to put the author of the post in the comments?
- Blog posts pagination not working
- unable to write to the database while uploading images
- Restricting displayed posts to posts from only select authors
- How to Best Create Separate Subscribers and User Experience
- Post not using taxonomy template
- query posts with selected post ids first
- How can I create a Survey Form in WordPress that users can fill in and then submit the entire survey contents as a post?
- How to Make my Homepage Display a Single Specific Post?
- How to display related post from same category in single.php
- How to get value of a selected option from select tag and use it in WP_query to filter posts?
- get current index of post content in category page
- Permalink structure for two seperate blogs
- wp_query args with relation
- How do I apply a wordpress function to something with no ID inside an archive page?
- Add new post only in assigned category
- Creating Ordered Query using Meta_key
- WordPress each user has each content for a page,how to do that?
- How to change post template via url?
- How to remove related post from home page
- Is there a Standard Format for Clean URLs for Archives of Custom Posts?
- Send/Publish a Post front end
- How do I list categories and the common categories for posts beneath those categories?
- Post restoration
- Insert new post for each user infinite loop error
- Last three posts not being put in order by date. How to fix this?
- WordPress sub-posts and permalinks
- Assign a link of a post to that contains that post?
- wp_query posts sorting doesn’t work
- Show List of Posts With Comments Open
- When and how will php code in a user made WordPress page be executed?
- wordpress pinboard theme [closed]
- There is a page on my website that doesn’t show in the Pages section of WordPress [closed]
- Difficulty hiding a span per a body class within WordPress
- Onclick open posts displayed in slider in a popup [closed]
- Listing category and its posts one by one
- Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields