Custom Fields to Populate Custom Post Type
-
I’m using WordPress 4.1.1, Genesis 2.1.2, and the Magazine Pro Child Theme. Here’s the site.
Here’s a product post type example I’m working on.
Right now I’m using 2/3 and 1/3 divs to create an “image column” and “content column”. Is there any way to use custom fields and css to auto-populate the post?
Maybe add multiple featured images that get output into the 2/3 “featured images” div, and then a custom field for the product info that gets output into the 1/3 “product info” div.
So I’d need featured images/fields for the product images (scrollable column), product category, title, price, and content.
Here’s the post editor content I’m using right now:
<div class="two-thirds first"> Insert Large Images Here </div> <div class="one-third"><a href="insert category url here" target="_blank">Category</a> <h1>Product Title</h1> <h3>Price</h3> Product Info. <strong>Call for details (734) 516-9166</strong></div>Here’s a full screenshot of the product post type: Full screenshot
The topic ‘Custom Fields to Populate Custom Post Type’ is closed to new replies.