Setting Post Kind via Custom Field
-
David, I note in your response to the issue raised by chipotlecoyote you mentioned that there are a few functions that can be used in template to address post kinds. These included set_post_kind().
I’m wondering If this would allow me to essentially set post kind via an external WordPress editor (such as Marsedit). I envision doing this by setting a custom field with a value such as ‘note’ or ‘bookmark’ and in my post template, using PHP so that IF the custom field is not empty, then set_post_kind(‘custom field value’)?
Is this possible? If so, should I use the lowercase name of the post kind or the Initial Capital? i.e. ‘note’ or ‘Note’?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Setting Post Kind via Custom Field’ is closed to new replies.