Custom / Additional fields class

Home Forums Calendar Products Events Calendar PRO Custom / Additional fields class

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22377
    David
    Participant

    Having added a couple of ‘additional fields’, it would be incredibly useful if they were generated with a unique class, so they could be styled more easily.

    #22436
    Jonah
    Participant

    Hi David,

    That’s a good idea and you can actually accomplish this by simply echoing individual custom fields (or all custom fields) and wrapping them in whatever HTML and classes/ID’s you want. More information on the specific custom field functions you can use in your templates can be found here: https://theeventscalendar.com/support/documentation/events-calendar-pro-template-tags/#functiontribe_get_custom_field

    Here’s a couple examples of echoing a custom field within your own HTML: https://gist.github.com/2901504

    I hope that helps!

    – Jonah

    #22459
    David
    Participant

    Thanks! Much appreciated.

    #22472
    Jonah
    Participant

    No problem David, closing out this thread 🙂

    #977396
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Custom / Additional fields class’ is closed to new replies.