0

Is it possible to include a page content into a popup to login users when they click in a specific button ? Thanks

1
  • Please try to be more specific - what content do you want in the popup ( is it the login form ? ) - what button, what pages is it shown on etc.? – Q Studio Dec 29 '20 at 9:02
0

Yes, you need to create a custom template without get_header and get_footer. Copy page.php to custom.php. on top write the template name.

Than make an Ajax call (register an Ajax action first). Requesting the url with your custom template.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.