Hi, I installed the events calendar and wootickets and I added to each event a custom field (the traditional wordpress custom field) to show a shorter title in the widget event list.
I added in list-widget.php following code: echo get_post_meta($post->ID, 'headerTitle', true);
but my short title doesn’t appear anywhere.
Any suggestion about?
Thanks a lot for your help.
zucreativelab,
Thanks for getting in touch! By default, the Events Calendar doesn’t have WordPress custom fields enabled for the post type. Which leads me to ask, how exactly are you adding the field? Did you enable this using a third-party plugin? Just let me know so I can assist you further. Thanks! 🙂
I added the custom field in event page, under tickets setting and summary, exactly in the standard way I did with other sites. I added a key and a Value, but I’m not able to let it show in the front end. I don’t Know if it helps you to understand, I bought and I’m using the wootickets plugin.
Thanks for your help.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘wordpress custom fields don’t display’ is closed to new replies.