registering foreign custom fields with CCTM
-
Hi,
I am rewriting an orphaned WordPress plugin and would like to make its use of custom fields compatible with CCTM. The current version creates a custom post type (for making timelines); I would like, instead, to just create a few custom fields and generate timelines from arbitrary WP content.
If CCTM is not installed, I’d like to just create the fields and ass them to existing content types. If, on the other hand, CCTM is installed and activated, I would like to register the fields properly so that users can deside what content types to attach these fields to.
The fields are also housed in metaboxes which I’d like to place under CCTM management as well.
Is there a best practice for doing this kind of thing? I am notquite sure how to go about it.
My code, such as it is, is here:
https://github.com/titaniumbones/wp-veriteco-timeline/tree/rewrite
thanks,
Matt
The topic ‘registering foreign custom fields with CCTM’ is closed to new replies.