• Resolved khanate

    (@khanate)


    When I go to my Posts and Pages I can see/add Custom Fields. But not in my portfolio post type. Even downed the Custom Field Template, but nothing showed up (it works on Posts and Pages though).

    So I guess I have to, well… I have no idea what to do…

Viewing 6 replies - 1 through 6 (of 6 total)
  • First, click on ‘Screen Options’ at the top of the screen when editing a portfolio post and be sure ‘Custom Fields’ is checked.

    If there is no ‘Custom Fields’ option to check, then you need to add the ‘supports’ option for ‘custom-fields’ when you register the post type.

    Thread Starter khanate

    (@khanate)

    where do I add the supports option?

    I didn’t register the post type (don’t even know what it means), this post type was a part of the theme I’m using …

    If you are using a free theme, post a link to your site here and someone may be able to look at its code to help. If you are using a paid theme, we cannot examine its code or options, so you should contact the theme supplier.

    Thread Starter khanate

    (@khanate)

    Here’s the web http://www.zemaraim.com/phantasm

    here’s the theme: http://cudazi.com/mono-wordpress-free/
    (very WELL documented how to setup, if I might add)

    So where do you usually add the support option for custom fields?
    Some meta’s are stored in my meta-boxes.php…

    In wp-contents/themes/mono/libraries/custom-post-types.php, change line 43 from this:

    'supports' => array('title','editor','thumbnail','excerpt','comments')

    to this:

    'supports' => array('title','editor','thumbnail','excerpt','comments','custom-fields')

    You should try to create a Child theme to make your changes. If you do not, all of your changes will be lost if you update your theme.

    Thread Starter khanate

    (@khanate)

    Ah cool, that worked, thanks!

    Though this is just a part of my problem 🙁

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Fields in portfolio post type? Where are they?’ is closed to new replies.