Using Advanced Custom Fields with Events Calendar Pro

Home Forums Calendar Products Events Calendar PRO Using Advanced Custom Fields with Events Calendar Pro

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #879909
    fjorge
    Participant

    Hello,
    I have my dev site here: http://medinaentertainment.com.l01.project-qa.com/events/ with the events calendar pro using a custom template I created. You can see the calendar on the bottom – however – on the top part of the template I have an ACF repeater that is not displaying. The top portion appears if I am not using the calendar so I know it can display the data – which means there must be a conflict with using the calendar as well as having a separate ACF repeater in one template…I’m new to the plugin so any help would be appreciated!

    #882622
    Brook
    Participant

    Howdy fjorge,

    I apologize for the slow response. I typed on up yesterday but must have closed the window too quickly after clicking submit.

    I bet this is related to the JavaScript error you can see on that page. It can be hard to debug minified JS files. You might try setting the wp-config.php constant SCRIPT_DEBUG to true. That will deminify the scripts in use and allow us to debug further. Although, sometimes the best way to debug even with readable files is to just disable a script or more at a time until it is working, then we can have a closer look at the conflict. You could try renaming the the-events-calendar/resources/ folder to resources-bak. Do the same thing with PRO. This will break more than a few things on your site, so be prepared to name it back to the original.

    If ACF starts working then it’s a JS error that we are looking for. If it does not start working, then I bet ACF is in the wrong place. If you put it inside of the events loop, it will have all the wrong data and will not be able to display. It would need to be moved outside of the loop/events template. It might work better inside of a page template. Don’t worry about this until we have checked if it is a JS error though.

    Please let me know if that helps isolate the problem. Thanks!

    – Brook

    #882772
    fjorge
    Participant

    Hey thanks for your response – it wasn’t a JS issue but with your advice I did discover that my ACF fields were not getting reached by the template I had created since they were specific to a page and not “global”.

    So issue resolved and thanks for your help!

    #888749
    Brook
    Participant

    Awesome, glad to hear you got it resolved. Thanks for the update fjorge.

    – Brook

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Using Advanced Custom Fields with Events Calendar Pro’ is closed to new replies.