[Plugin: Custom Field Template] custom template for custom types (2 posts)

  1. lorenzo
    Posted 6 years ago #

    ok, this is what i'm trying to do and i haven't figured out how: i've got WP3.0RC. i have created a custom post type and i'm using the custom field template plugin.

    problem 1: the fields set in the plugin setting show up in the standard post but not the custom post type: how do i display the same fields in the custom post? i'm assuming the function call for post happens somewhere, but i can't find where.

    problem 2: my custom type takes a 'title' and custom fields (i.e. those set up with the custom fields plugin) which have a radio button selector and a file upload field.
    how is best to modify the loop to show these when the custom post is loading up. i'm guessing that i need to create a particular page 'template'. can anyone suggest a good place to start helping me solving these problems?

    many thanks! and thanks to Hiroaki for the great plugin!


  2. romanczar
    Posted 6 years ago #

    1. You have to change thr setting on the CFT admin page. Normally each tempalte is assigned to both "page" and "post". But you can change that by entering the custom pst type, e.g. "movie" in the respective field in the CFT admin page.

Topic Closed

This topic has been closed to new replies.

About this Topic