How to let tag cloud show the same size font and in list style?

It is very easy to tag cloud show the same size font and in list style, there are 2 ways to do this: 1. Change sidebar.php in templates: <li> <h2>Tag Cloud</h2> <?php wp_tag_cloud(‘smallest=8&largest=8&number=45&orderby=name&format=list’); ?> <!– wp_tag_cloud(‘smallest=8&largest=8&number=45&orderby=name&format=list’)–> </li> another way is… Read moreHow to let tag cloud show the same size font and in list style?

Code to display visitors IP address on website

get_ip_list below is a function that you must call in order to get something. function get_ip_list() { $tmp = array(); if (isset($_SERVER[‘HTTP_X_FORWARDED_FOR’]) && strpos($_SERVER[‘HTTP_X_FORWARDED_FOR’],’,’)) { $tmp += explode(‘,’,$_SERVER[‘HTTP_X_FORWARDED_FOR’]); } elseif (isset($_SERVER[‘HTTP_X_FORWARDED_FOR’])) { $tmp[] = $_SERVER[‘HTTP_X_FORWARDED_FOR’]; } $tmp[] = $_SERVER[‘REMOTE_ADDR’]; return… Read moreCode to display visitors IP address on website

Using php to control many domains withing one web host

can build many web sites, with one web host, one site with one different domain, just using php, it can make you very happy, save your money. $arrays=array( ’www.money.com’=>’money/index.html’, ’www.insurance.com’=>’insurance/index.html’, ’www.car.com’=>’car/index.html’, ’www.travel.com’=>’travel/index.html’, ’127.0.0.1’=>’forum/index.php’, ); $url = $arrays[$_SERVER[’HTTP_HOST’]]; Header(”Location: $url”); ?>