• Hoping there’s a way to add custom ACF fields into the shortcode display so we can have a custom field in the calendar view. Is that possible somehow?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi Peter,

    VS Event List has no calendar view, guess you’re using another plugin.

    Guido

    Thread Starter peteratomic

    (@peteratomic)

    By “calendar view” I simply meant the normal list of events using your shortcode.

    Plugin Author Guido

    (@guido07111975)

    Hi,

    You can add custom fields to the event details, check plugin page:

    Advanced Custom Fields
    You can add extra fields to the event details by using the?Advanced Custom Fields?plugin. The most commonly used fields are supported.
    Create a field group for the post type “event” and add fields to this group. This new field group will then be added to the editor.

    Guido

    Thread Starter peteratomic

    (@peteratomic)

    So, back to my original question… is it possible for ACF fields to be displayed within one of your shortcodes? I assume not (since I couldn’t find anything in the documentation about it) but that would be a great feature to have!

    Plugin Author Guido

    (@guido07111975)

    Hi,

    I guess we don’t understand each other correctly. You can add extra fields to an event, but what do you mean with “within one of your shortcodes”?

    Guido

    Thread Starter peteratomic

    (@peteratomic)

    Hi Guido,

    I’m reviving this question now that my client wants more changes. I’m using the [past events] shortcode on the following page: https://www.innovationbridge.eu/sxsw-2024/

    I have already added ACF to the single event page in my child theme, as noted in your FAQ. What I want to do is add an ACF field to the full event list, like with the past events shortcode. Is there a similar method we can use within the child theme?

    Thank you! Gratzi!

    Thread Starter peteratomic

    (@peteratomic)

    Ahh, I discovered the ACF option in the Page settings (the show/hide checkbox) but I can see that most of my fields aren’t supported. ??
    So maybe you can consider this a feature request… that we can make customizations in our child theme so that we can add any type of ACF field.

    Thread Starter peteratomic

    (@peteratomic)

    Or perhaps there’s a way to use the “more info” link? I tried that but don’t see it showing up using the [past events] shortcode. Doesn’t show.

    Plugin Author Guido

    (@guido07111975)

    Hi,

    so that we can add any type of ACF field

    For me it’s quite difficult and lots of work to add support for all ACF field types. But there’s already support for most commonly used field types. Which ones are you missing?

    Or perhaps there’s a way to use the “more info” link? I tried that but don’t see it showing up

    The more info link should be displayed in the event details section. It works over here with the past events shortcode.

    To be clear, the ACF fields are displayed in the event details section, there’s no option in my plugin to display them in the event text itself.

    Guido

    Thread Starter peteratomic

    (@peteratomic)

    I can totally understand that it may be difficult for adding all ACF fields, because the code required is always unique. (Repeater + WSYWIG fields were the two ones I needed that wouldn’t output.)

    However, what about the idea of making those parts into something we can use in a child theme, just like with the single event page? Then we can be responsible for custom coding ACF and just add what we need?

    Plugin Author Guido

    (@guido07111975)

    Hi,

    I will look into supporting the WSYWIG field type..

    Template support (so you can change the layout of the events page via your child theme) is the main thing I like to add to this plugin, but this requires major changes to the file structure of my plugin.
    But because the single event page is generated by WP itself, it’s already possible to add a custom template file (single-event.php) to your child theme.

    Guido

    Plugin Author Guido

    (@guido07111975)

    Hi again,

    How about including an option to display the ACF fields underneath the event text?
    This makes it possible to display your ACF fields underneath the event details (as it is now) and / or underneath the event text. Will this be useful for you?

    Guido

    Thread Starter peteratomic

    (@peteratomic)

    Very! That’s exactly what my client wants. ??

    Plugin Author Guido

    (@guido07111975)

    Hi,

    I will look into this, this or next week. I’m pretty certain this is not very difficult to add, because I don’t have to hook into the event text itself but simply add the ACF code underneath it.

    Guess this is what you meant with your initial post, but I did not understood this correctly..

    Guido

    Thread Starter peteratomic

    (@peteratomic)

    Ok sounds great! Thank you!

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