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?
- Submit post and upload image from front-end
- Development of a WordPress Search Plugin – Best Practices
- How Do I Use The WordPress Plugin Posts 2 Posts by Scribu?
- Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?
- How to let custom post type posts show in standard post archive (like in homepage)?
- Rewrite custom post & taxonomy to share same URL path
- How to register custom post types in a plugin?
- Get the post children count of a post
- Post the content of a specific “Custom Post Type” post within a post using a shortcode
- Need functionality with all post list available at edit.php
- get_template_part for custom post type content not working
- count_many_users_posts except current logged in user?
- Custom Post Types relationships
- Find the user who initially created the post
- Copy custom field value to post title
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- How i can add ‘N’ page of ‘N’ pages under posts loop?
- What’s the difference between same wp functions get_posts(); functions in different form?
- Custom Post Type with Templates using Meta Boxes?
- Can I list a custom post type within another custom post type in the admin area?
- add category name to permalinks on product page /category-name/product-name
- create parent post using wp_insert_post
- List custom taxonomy specific to one custom post type
- Add custom post type settings to wordress default posts
- Side effects of Script and Iframe in post
- create a new page from a custom post type similar to an authors page
- Admin Column does not populate with data
- Some posts from custom post type to subdomains
- Enable taxonomies by post type in an array of CPTs
- New “Custom Types” item in admin menu. Is this a plugin or a new wordpress feature?
- Stores category posts in an array
- Shortcode to return single custom post based on post taxonomy
- Custom pages missing on “front page” setting
- Accessing a protected property of a post
- Display post from custom post type
- Multiple archives to display parent and subcategories content
- Custom post type title of each author in his own post
- Custom post type 404 error on “default” or “numeric” permalinks
- display custom portfolio tags
- Extending post by email
- Custom Posttype URL
- Display custom post front end filter by ACF equals current user
- php dynamic content inside shortcode
- How do I find the count of the current post?
- How to properly get the wp_postmeta.meta_value of a custom post type in specifics?
- Custom Post By Category
- Simple Data picker meta box
- Change Custom Post Type to Post + Category
- Different post types arranged on one page
- Display all post types together
- Display Custom Post Type on Toolset Types Plugin
- Retrieve a post with its ACF repeater fields in wordpress
- How to change post cpt with submit button?
- Storing every individual update to the posts being updated over time?
- How to use wp_set_object_terms depending on page ID?