using WPBook Lite and custom post type Events
-
Hi,
I’ve created a custom post type ‘events’ which is really just like a normal post type, but also adding custom field, date.
I have added the meta box to the event post type form (see below), however I can’t get the events posts to actually show up on the facebook page. Normal posts are showing up fine.
Any advice?
Thanks,
Brookefunction wpbook_lite_add_meta_box() { global $wp_version; if (version_compare($wp_version, '2.7', '>=')) { add_meta_box('wpbook_lite_post_form','WPBook-Lite', 'wpbook_lite_meta_box', 'post', 'side'); } else { add_meta_box('wpbook_lite_post_form','WPBook-Lite', 'wpbook_lite_meta_box', 'post', 'normal'); } if (version_compare($wp_version, '2.7', '>=')) { add_meta_box('wpbook_lite_post_form','WPBook-Lite', 'wpbook_lite_meta_box', 'events', 'side'); } else { add_meta_box('wpbook_lite_post_form','WPBook-Lite', 'wpbook_lite_meta_box', 'events', 'normal'); } }
[Please post code or markup snippets between backticks or use the code button.]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘using WPBook Lite and custom post type Events’ is closed to new replies.