Site logo

Archived topic

Help with modal windows.

3 replies · Started by Roberto Enrique on June 8, 2015

Viewing posts 1–4 of 4

I would like to know if there's a way to add "modal" windows somehow within generatepress.

Let me explain better, I have this website right now that I would like to "restyle" using generatepress.

http://cdn01.mnemosine-elearning.it/sitodemo/?tipo-di-corso=diplomi-di-specializzazione-biennale-post-laurea-a-a-20142015

Now, there's a lot of pop-upping going on there, we are using bootstrap right now but I would like to change everything to use generatepress' unsemantic grid.

I'm using wp-types and views for generating pretty much everything in that website and I can have pretty clean html output (i'm loving it BTW)

I would like to add similar functionality to that of bootstrap at least in the syntax:
http://getbootstrap.com/javascript/#live-demo

But may be using something like:

http://dimsemenov.com/plugins/magnific-popup/

Any suggestions?

Thanks in advance.

Hi Roberto,

You can integrate any kind of modal windows into GeneratePress - even the bootstrap ones.

All scripts like this give you a few things - a JS file and a CSS file. You can enqueue these into your website using your child theme, or even add them inside GP Hooks. Then you can use the usage instructions to integrate the rest into your site.

In this case though, maybe a simple plugin like this will do the trick?: https://wordpress.org/plugins/bootstrap-modals/

Oh! that's what I call a nice and easy solution :-)

Thanks Tom!

Nice and easy is good!

Glad I could help :)

This archived topic is closed to new replies.