Good afternoon.
Put the layout on Wordpress.
The page loads posts from a specific category. When you click on a post (a post in the tag a), opens a modal window
fancybox. Modal code in the same file page at the top.
In a modal window displays the video and the title of the post.
Video code plan to load using the plugin Advanced Custom Fields(ACF) in the post.
Looking for information and realized that I need to display the data via ajax. Ready examples in my case not, and to collect
other examples are lack of knowledge.
1 - I need when you click on post data (title, videos are of additional fields (ACF) ) was substituted in modal window fancybox.
2 - do I Need to create a separate php file with the code of a modal window?
PLEASE write a working example.
Thank you!