Okay
  Public Ticket #2989200
Event shortcode for Tag not working
Closed

Comments

  •  5
    DesignBurst started the conversation

    I have got events with tag 'family days out'. Please refer to pic to show the events created in Amelia and then the second pic to see the tags applied to teh event in question.  


    I have created pages in the website with a special section to add the shortcode for the Amelia event feed. I used Advanced Custom fields to do so - please look at pic showing the wordpress page with the spot to add my amelia shortcode. 

    I paste this code in there:

    [ameliaevents tag='family days out']

    but nothing shows.

    I have added the Amelia calendar to the Divi Builder by selecting family days out to the right of the top of the page. Please look at orange section on the pic - this calendar displays no problem.


     So the tags work when put in direct to divi module or as a wordpress module but they wont work as advanced custom field. The advanced custom field is useful to us because this client has many different services with many pages and we would like to style one page in divi builder and setup a section to call on the short code denoted in the pages Advanced Custom Field (ACF). In ACF I have setup the field as regular text. Please look at ACF setup in attached pic. 

    When I remove the tag filter in the shortcode the events show so I know ACF is working but it is just when I try filter by tag that it doesn't work. Is there something I can do to get tags working in the shortcode when applied through advanced custom fields?

  •  5
    DesignBurst replied

    ACF Settings attached and also visual of it not displaying correct on front end. 


    Thanks in advance and apologies for long way of asking question just want you to see it is just the 'tag' that stops the events displaying.

  •  5
    DesignBurst replied

    Hello I have found a solution!!!

    So in the Advanced Custom Fields settings I had set the field as text. When adding to Divi Builder I selected "Enable raw HTML". This allowed the custom field see the tag in the shortcode!Whoop. Hope this helps someone else :-) Image attached to show the checkbox.

  • [deleted] replied

    Hello

    Glad you were able to resolve your issuesmile.png

    If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.