How to get url segment / address bar data from js and php
1. get url infomation via php <?php $uri_path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); $uri_segments = explode('/', $uri_path);…
Read Article5 articles found
1. get url infomation via php <?php $uri_path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); $uri_segments = explode('/', $uri_path);…
Read Article1. Create html form <form class="fpd-upload-form" enctype="multipart/form-data" method="POST"> <div class="fpd-upload-zone"> <input type="file" multiple="multiple" class="fpd-input-image"…
Read Article1. Copy the below code and paste into footer.php or any js file. jQuery('.show-more-posts-btn').on('click',function(){ …
Read Article1. Open function.php file and paste the below code to deined wordpress ajaxurl /*defined ajax url*/ add_action('wp_head', 'wordpress_frontend_ajaxurl'); function wordpress_frontend_ajaxurl()…
Read ArticleAdvertisement
Create a New WordPress user without admin login through function.php file. Follow the below steps to create a user –…
Read Article