groups

name language licence
Display Gravatars (WordPress 2.5+ Only) PHP BSD
404 PHP GPL 2
Untitled Snippet Other Other
Adding a Mini-Loop PHP Other
Untitled Snippet PHP Other
translations of CSS3 selectors for SocialMe PHP Other
last.fm PHP BSD
profile 4 Other Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >



language: PHP
licence: Other

Untitled Snippet

options: view full snippetsend to code collector
<?php
$homepage = get_option('siteurl')."/home/"; global $wp; $wp_received_argument = false; foreach ($wp->query_vars as $k=>$v) if ($v) $wp_received_argument = true;

if ($wp_received_argument) require(TEMPLATEPATH . "/index.php"); else { wp_redirect($homepage); exit(); }

?>
	
(Continues...)