Your question is too broad. Break the question down into more specific questions. Then research those questions and bring the unanswered questions to us.
For example, you might break this down into these specific questions.
How do I:
- Add a menu item to the Dashboard?
- Create an admin options page form?
- Submit a custom admin page form?
- Page a custom option page (page 1, 2, 3 …)?
- Attach images to a post?
- Attach images to several posts?
- Attach several images to several posts?
- Get a list of uploaded media?
- Get a list of all posts?
Solve these more specific questions. Then combine them to solve the broader question. Some of these questions may be broken down into even more specific questions. Some of them have been answered many times.
Related Posts:
- media_handle_upload for local files?
- How do I detach images from posts?
- Replacing all attachment links in post with media file link
- Easy way to delete 70k posts and attached media?
- Get attachments for posts that belongs to a specific category
- Automatically attach image to post if they have the same title
- Broken images after importing posts and opening in Gutenberg
- Get Posts Under Custom Taxonomy
- Turn a URL into an Attachment / Post ID
- Optimize post insert and delete for bulk operations?
- ZIP up all images displayed in a [gallery] and offer as download link
- How to show related posts by category
- Delete Associated Media Upon Page Deletion
- Delete post with all files attached to it
- get_children() Not Working with orderby Parameter
- How to get all posts related to particular category name?
- get all posts ID from a category
- Is it possible to Schedule Attachments in WordPress?
- How can you change the ‘Insert into Post’ title in the media button?
- what types of order can I pass to get_posts() via orderby?
- Find the post an attachment is attached to
- WP-CLI Bulk delete posts from specific category
- get comments and get posts in loop
- Use an attachment in multiple posts
- delete post also attachments
- How to know if get_posts() failed?
- How to display posts by current user/author in a custom page template?
- Get post id by attachment id?
- How to get previous 10 days post from a specific date – WP Query
- Invalid Post Type error when attempting to filter and Bulk Edit posts
- How can I export WordPress posts’ attachments?
- Get attachments (get_posts) and WP 3.5 new uploader
- How to remove images from showing in a post with the_content()?
- Show the title of the latest post by author
- Setting pagination for images attached to a post
- Query only Posts from Both of Two Category?
- upload featured image from front end using wordpress add media button
- is there a better way of combining this?
- How do I create Comma Separated list of attached image ids?
- Get post embedded image caption
- How to remove bulk edit options
- WordPress get posts by date without query_posts
- Limit amount of results returned
- post_parent is 0 when uploading new files
- Posts are not showing up on particular category
- get selected post using $_GET
- How Can i Get 5 Recent Post Title With Corresponding Link?
- Can I set and show “important” post in my blog?
- setup_postdata doesn`t seem ot be working
- How To Add One Tag to Multiple Posts?
- Encrypt / Decrypt Post Title and Details
- Get Posts via Taxonomy Term Name with Space
- Get specific posts by ID in wordpress
- How to access featured image?
- Automatically republish old posts
- get_next_post() and get_previous_post() return wrong posts
- Get posts by name and taxonomy term
- Inserting custom data to the_post() during loop
- How do I restart my loop with get_next_post()?
- Get mixed category random posts
- WordPress not opening posts with only numbers if permalink is post_name
- Load post attached images on a single page site with fancybox
- Too many connections to server
- Limit popular posts by days
- Errors when uploading images in WP 3.5
- Why is querying posts messing up my pages?
- get_the_content(“more…”) returns full text
- get post attachment using ajax
- Insert woocommerce products programmatically with featured image and gallery
- Add the description field on the attached media
- How can I get the media inside a post?
- Set size for attachments
- Insert Content In Between Post Feed
- How to bulk-untag multiple posts?
- I have a site where attachments in the wp_posts table have guid values of guid, how did this happen?
- Get all attachment by post excluding featured and content inside
- Prevent Delete Attachment by URL or When Submit
- wp-cli post create & media import issues
- Post Loop Missing Most Recent Post
- Get Posts Under Custom Taxonomy
- Include sticky posts on the static page front page
- Posts and Attachments with “Published” status in Search
- Pagination with an array of post objects?
- Removal of Media Gallery pictures
- How can you change all past posts’ images to link to none instead of the image file?
- Get Image tag from content of post
- How to get the last selected media alignment setting?
- Any way for get_next_post() to use the actual post order instead of publish order?
- Can’t update old posts 3.5.2
- WordPress Automatic Filename Changer
- How would one change the default url structure of attachments?
- how to bulk add one line in the first paragraph of all posts
- Posts loop displaying the same post data
- How to get posts from a current post’s month?
- Bulk delete WordPress posts with phpMyAdmin
- How to get posts and comments amount per hour, per year and per month?
- While loop articles – if statement order
- Count number of posts of current month
- How to Get Posts, Including Private Ones?
- Returning data instead of echoing/printing