site_url(); bloginfo("wpurl"); //check this!
Returns Root Domain URL without trailing slash.
home_url();
Returns URL of the WordPress Home target without trailing slash. Usually is the same as the root domain, but needn’t be!
admin_url();
Returns the URL leading to the WP Admin directory including trailing slash.
includes_url();
Returns the WP includes URL with trailing slash.
content_url();
Returns the URL leading to the WP content directory.
plugins_url();
Returns the URL leading to the WP plugin directory.
dirname(get_bloginfo('stylesheet_url'));
Returns current active theme directory without trainling slash.
bloginfo("stylesheet_url");
Returns path to current main Stylesheet.
bloginfo("template_url"); get_template_directory_uri(); bloginfo("template_directory");
Returns the current main template url without trailing slash.
array_pop(array_filter(explode("/", $_SERVER['REQUEST_URI']), function ($val){return (strlen($val) > 0);}));
Return the last URL Slug that contains characters without leading or trailing slashes.