Support » Plugin: The Events Calendar » custom fields are not displaying since 4.6.23 version

  • Phaneste

    (@phaneste)



    Hi, i have problem with custom fields. I use custom field on event page. But since 4.6.23 version, customs fields are not displaying on event page ? Does somebody have an idea to fix this trouble ?

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Jeremy

    (@jeremy80)

    Hi @phaneste!

    You can use this function to display the results of any additional field:

    $additional_fields = tribe_get_custom_fields();
    echo $additional_fields['My custom field'];

    I hope this helps 🙂

    Cheers,
    Jeremy

    mrjanvier

    (@mrjanvier)

    Hi, thanks.
    Where should i copy this?
    $additional_fields = tribe_get_custom_fields();
    echo $additional_fields[‘My custom field’];

    I noticed at the event settings there was a: default event template and default page template. Its on default event template. changing that didn’t change my widget problem

    greetings

    Hi, thank you.

    Where shall’i put this code ?

    Plugin Support Ed

    (@erishel)

    Hey there,

    You’ll want to incorporate this into your template. If you’re unsure of how to do this, check out our Themer’s Guide.

    Also, WP docs might help you here > https://codex.wordpress.org/Custom_Fields

    Take care,
    Ed 🤟

    Thank you.

    Plugin Support Ed

    (@erishel)

    You’re welcome!

    Let us know if you need any other help.

    Take care,
    Ed 🤟

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.