Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Sorry for the delayed response, I was not receiving forum notifications from WP.

    No, that’s not possible. I would argue that it’s not desirable either… part of the problem with the way WP handles custom fields is that it’s inconsistent. So when you add them to posts or pages, then they are there for ALL posts or pages. If you can explain a good reason why this would be a good feature, you can post it in the issue tracker: https://code.google.com/p/wordpress-custom-content-type-manager/issues/list

    Thread Starter altrey

    (@altrey)

    THX !!!

    I am not sure my desired features is a bad idea or not and I think it is subject to certain types of applications. My idea is that ,supposingly, I have posts for photography and posts for golf. Subsequently, I would have created custom fields for photography and golf as well. When anyone editing a post, it would be desirable not to show all other unrelated custom fields. i.e. I would not having film-type for photography appearing in golf post and vice versa. Just to make the post editing clear and user friendly for different contributors and authors.

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    In your case I would set up a couple generic custom fields that would fit the bill for both photography and/or golf, e.g. “image1” instead of “golf_image” etc. You might have some fields that were only relevant to one or the other, but hopefully you could leverage some overlap there. The key benefit from doing it this way would be that your template would remain sane, without too much crazy logic. You could use the “wrapper” or “default” output filters (see the docs) in order to hide those fields if there were no value.

    Hope that helps.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Custom Content Type Manager] Is it possible to assign CCT fileds to post/page’ is closed to new replies.