• I have a few questions here actually. First I want to be able to custom fields that all posts use and at the moment I am not sure how to do that as I do not see a place to create them out side of the post screen.

    I want to use the custom fields to display different information about the post that I am writing. Basically I am using wordpress as a cms and using it to create a anime database. I want to use the main post area for an image and a description and then custom fields for the rest of the info like a field for the episode guild, character guild, author/staff, and many others.

    The reason I want to do that and why I am posting this in the theme section is I want to be able to later on move those fields around in the template. So that I do not have to go back and change every post if I later decide to change the layout of post info.

Viewing 1 replies (of 1 total)
  • You can create custom fields on the fly from the write panel, you can then put the following in your loop to display that information:

    <?php echo get_post_meta($post->ID, 'key', true); ?>

    key = name of custom field in write panel (case sensitive)

Viewing 1 replies (of 1 total)
  • The topic ‘Confused about setting up custom fields in the templates’ is closed to new replies.