i make the popup in html but i don't know how to integrate it in the wordpress...
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'>
Are you 18 years of age or older?
You have to include wp-load.php to use WordPress API, and its location is relative to your plugin path.
check this out : Wordpress wp-load.php
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.