Skip to content

Niraeth Posts

WordPress the correct way to load jQuery for your plugin or theme

To load a script in wordpress, you have to use the function wp_enqueue_script Often people call the function like this wp_enqueue_script(‘my-script’, get_template_directory_uri() .’/js/my-script.js’); However, you may come across dependency problems if you do it like the above. Hence, it is…
Enjoyed the content ? Share it with your friends !

PHP Parking Page Template Source Code

PHP Parking Page Template Source Code <?php $domain = “”; // You may hardcode it if you wish if( empty($domain) ) { $domain = $_SERVER[‘HTTP_HOST’]; } ?> <!DOCTYPE html> <html> <head> <meta charset=”utf-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0,…
Enjoyed the content ? Share it with your friends !