Sunday, 31 March 2013

How to get full url link in PHP?

$_SERVER['HTTP_HOST']  = This will return server name from the URL.

$_SERVER['REQUEST_URI'] = This will return the full path of your directory.

The following example will give you clear idea,
<?php
$url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
echo $url;
?>

Monday, 25 March 2013

How to customize WordPress login page

Hi friends, certainly you have felt when you make WordPress kind web development, WordPress login page can be better if we can customize with our logo and css. Yes, we could customize the wp whatever you like without any plugins.

Today i am gonna show you how to change default wp logo and some css in login page.

If you go to http://YOUR WP PATH/wp-login, by default the page shows like this, to change this read below..


wordpress-default-login-screen

Ok, First we can change logo, by doing that, open your functions.php in your activated theme by using any editor like notepad, notepad++, etc. whatever you use.

Saturday, 23 March 2013

Wordpress - How to customize your wordpress admin dashboard.

Customize WordPress Dashboard according to your needs.


Hi friends, Here I am going to talk about how to customize WordPress dashboard because many of the client does not like to see some blah blah things on his administrator page. so we need some concentration to get that.

WordPress has beautiful structures for developers to do something on specific areas. Let's move on to do that.

First, have a look about WP dashboard page something like this below image,

wordpress-dashboard

In this see lot of information there like Plugins, right now, incoming links, WordPress development blog etc. we do not want all these bunch info.