Sounds like a single “book” post type would be most appropriate. You could then add custom postmeta, which does not require Advanced Custom Fields. I would create the post type and custom fields first, test them out to make sure they’re saving appropriately to the database. Then, you can do a foreach loop for each line in your CSV, and use wp_insert_post which has a meta_input
parameter where you can add all the corresponding custom fields (postmeta).
Related Posts:
- Send post changes to set email addresses (not users or subscribers)
- Set posts of a custom post type to be private by default?
- echo value from ‘select’ field type into page template using cmb2?
- modify all posts of a category to “no comments allowed”
- How can I add dropdown widget/box to admin post page?
- How do I write this SQL statement for Posts written in last 24 hours?
- Limit Authors to their Own Posts on front-end excluding admins
- Multiple Content Block
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- GravityForm: Populate Dropdown with custom post type [closed]
- Deleting Custom Post type data using mySQL command
- WooCommerce product search titles only
- Notice: Undefined index: suppress_filters
- custom post type not showing in menu
- If post has custom field then display css-class
- Shortcode not working with post counter
- Changing default ‘posts’ parameters with register_post_type_args
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Allow users to create posts without logging in?
- How to change permalink to include custom post type
- How to assign classes to all elements?
- Redirect to another page using contact form 7? [closed]
- ACF in wordpress
- Navigate posts with different post type that are in the same categories
- Showing custom post type categories in the menu
- Custom post type’s posts are not showing anywere but in xml sitemap
- WordPress notification if new post published
- Modify Posts from Custom_Post_Type within the plugin
- Get post format
- Custom post type in Custom widget – $listItem
- Template code to split a post and print a custom field?
- Display author box on just certain category posts?
- redirect after submiting post for review
- What is the best way to set the post category (Custom Post Type) automatically based on the one of the tags assigned to the post?
- Why is this function so slow?
- Add input radio menu to post
- subtracting the current post form then whole loop, which is generating all CPT titles
- When post is Published, insert into custom table a number – custom post type
- How to mark posts as visited
- Populate custom post type/custom fields from an external database
- Work and Display a Custom Post Type as a normal Post
- Featured image in custom post is being disabled
- How to hide home title on pages and posts?
- How to delete unnecessary custom post types in the UI
- How to make a non-public post on wordpress approval?
- Import posts from a different database with the same old id
- Popup panel is only displaying 1 entry ignoring all others
- WP_Query function for custom post type
- Custom Post Status & Taxonomies
- Custom Post Type parent slug as menu item
- Calling specific page with wp query
- Customizing a plugin function using a hook
- How to make post page unique and show it on home page?
- How to get Last post Id of custom post type in wordpress
- erase post excerpt limitation [×]
- Custom Post Type URL Rewriting
- Modify shortcode to work with custom taxonomies and slugs
- Calling the first & last post by category in custom post type
- Custom Info Box at end of posts?
- Pagination fault in custom post type archive page [duplicate]
- How can I convert custom posts types into regular posts?
- How to display data with pagaination on backend?
- How can i call a custom method on submission of a custom plugin post type?
- Set the Title of a Custom Post Type by code as Author’s Username
- Edit post meta direct from post.php?
- How to Arrange Support => Thumbnail
- Post Editor: display categories from current post type taxonomy only?
- Query custom post type and showing its content
- Calling an custom field from theme option at the frontend
- Function not pulling image or text from custom post type
- Custom Post Types and Posts are mixed
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- WordPress list child pages of custom post type
- Get All post that is in table
- Custom Post Type used for FAQs Accordion
- How to create content automatically when a post is published?
- Display a post count from a custom metabox selection
- Front-end form submission not creating post
- query_post causes the posts to be loaded twice on load more posts
- Linking custom taxonomies and posts
- Search page for custom post type
- Hook only specific post type
- Custom Post Type permalink not working on new posts
- How to Associate Posts with Pages
- Query Only Show Text on Posts With Certain Taxonomy Tag
- Display all post types together
- send email to all registered users when post expires
- Rich Custom Field for Custom Post type not saving
- making a glossary with wordpress
- Retrieving IDs of child pages which are in a different post type
- Query Posts From Multiple Post Types
- Post being scheduled that shouldnt be schedulded
- Updating User Meta from Custom Post Field Upon Publish Not Working
- Add Excerpt On Quicksand Plugin
- Author profile comments system
- delete custom post type using a submit form
- Custom Post Types in plugins?
- Plugins for putting Custom Post Types into the Menu
- I want to split this into two functions
- custom field suit new post with in custom fields