Not working in a modal
-
I am using a portfolio custom post type containing some custom email custom fields with all posts opening on an ajax modal but also they are available as single posts(is a non modal separate page). I have successfully encoded the email addresses while the post is loaded as a separate page but when the ajax modal function is called, the modal seems to be stuck on the spinning wheel and the page does not load.
From the console, I seem to be getting a 500 Internal Server Error on the jQuery that is included with WordPress(obviously I need that file to load) but I don’t know what to make of it. It seems that there is a class with the modal javascript and the encryption code. The encoding of the custom field happens inside a custom php template olike this: eeb_email( $organiser_contact_email, $organiser_contact_email )
Can anyone advise?
- The topic ‘Not working in a modal’ is closed to new replies.