Can You Make a Pop Up on WordPress?

Making a pop up on WordPress is not as hard as one might think. All you need is a little bit of know-how and a few simple plugins.

If you’re looking to create a popup that will only show on specific pages or posts, you can use the WP_Query object to create a query that returns just the posts you want to show the popup.

To create a popup that will show on all pages, you can use the WP_Popup_Controller class. This class will create a temporary page that you can control using the WP_Popup_Controller_Settings object.

The final step is to add the WP_Popup_Controller_Settings object to the desired page or post. In here, you can specify the popup content, the time it will remain open, and whether or not it should be closed automatically.

If you’re looking to create a popup that will show on all pages, posts, or both, you can use the WP_Popup_Controller class.