Ready to get started?Download WordPress


Custom Post Types and Fields help! (2 posts)

  1. Danjiro
    Posted 2 years ago #

    Ok so first I'm a noob at WordPress and im trying to setup a theme i've designed. What I want is pretty simple. I've used the plugin "Types" to create a new custom post type called "Products" and a group of custom fields (like price, description) assigned to the "Products" post type.
    First thing I'd like is for the home page of my site to display the Products post type instead of the default Posts.

    Second thing is I'd like to use the custom field "tags" in my index.php? I'm not sure what they called but for example the_title() and the_content() takes the title and content from a Post you've created. I'd like to be able to take the same from my custom fields like a the_price() or the_description() or something and insert it into my html/php.

    I've searched online but haven't been able to find something I understand so if anyone can help me! THANKS!

  2. Have you look at the info in the codex and gone through the list of tutorials?


Topic Closed

This topic has been closed to new replies.

About this Topic