Download source code (min.js and css): https://github.com/dimsemenov/Magnific-Popup/tree/master/dist

Create folder js and css in Child theme, insert code to function.php:

HTML:

  • Link button or <a> to

  •  Insert to footer :

 

CSS

 

Tags: