Additional Content in List Widget (latest version)

Home Forums Calendar Products Events Calendar PRO Additional Content in List Widget (latest version)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #917549
    gotmuck
    Participant

    Hi,
    I had this setup in an older version but in the new version it seems to be quite different. Can you let me know how to have a field from the additional content section appear in the list widget? Thanks!

    #918688
    Geoff
    Member

    Hi there, Hergen! Welcome back and nice to see you again. 🙂

    Great question. I do want to note first of all, though, that we are fairly limited in terms of helping out with custom development questions like this one. That said, we’d love to point you in the right direction if we can.

    I think the best way to accomplish this is to override the list-widget.php template, then include the additional fields from there. To do this:

    • Make a copy of list-widget.php. It’s located at /plugins/the-events/calendar/views/widgets/list-widget.php
    • Create a new folder in your theme directory called tribe-events
    • Create a new folder inside of that one called widgets
    • Drop your copied file in that folder

    Once the template is in your theme directory, you can modify it to suit your needs. In this case, you can grab the exact additional fields you would like where you want them to display in the template. For example, if you use Custom Fields with the PRO plugin, you can use tribe_get_custom_fields() to fetch an array of your custom fields.

    These steps are more thoroughly outlined in our Themer’s Guide. I’d also suggest checking out our documentation for a full guide on the functions and classes available to you for displaying content.

    Does this help answer your question? Please let me know. 🙂

    Cheers!
    Geoff

    #919332
    gotmuck
    Participant

    Sorted thanks!

    #919866
    Geoff
    Member

    Awesome–great work! I’m glad that worked out.

    I’ll go ahead and close this thread, but please feel free to hit us up with a new one if any other questions pop up. We’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Additional Content in List Widget (latest version)’ is closed to new replies.