Use own custom fields template rather than '.wpuf_customs'
-
Hi there,
I’ve got some custom post types set up with custom fields/meta boxes. On my templates for this custom post type (events) I have the following:
Event Category: <?php the_terms( $post->ID, 'event_category' , ' ' ); ?> Event Date: <?php echo esc_html( get_post_meta( get_the_ID(), 'event_date', true ) ); ?> Event Location: <?php echo esc_html( get_post_meta( get_the_ID(), 'event_location', true ) ); ?> Event Contact: <?php echo esc_html( get_post_meta( get_the_ID(), 'event_contact', true ) ); ?>
How can I stop WPUF from creating its own bulleted list for these custom fields (‘.wpuf_customs’ which gets added after the post content)?
To elaborate, I’m currently ending up with my template’s meta info as above and then the WPUF list as well, doubling up: (IMAGE)
Also an issue but not as important is that if I edit a post (created by WPUF) through the dashboard, WPUF’s meta boxes for the custom fields are displayed as well as my own: (IMAGE)
- The topic ‘Use own custom fields template rather than '.wpuf_customs'’ is closed to new replies.