php获取来源地址
function referrer_link() { $refer = $_SERVER['HTTP_REFERER']; if ($refer) { echo '<a href="' . $refer . '">Go back</a>'; } } add_action('thesis_hook_before_content', 'referrer_link');
php获取来源地址
function referrer_link() { $refer = $_SERVER['HTTP_REFERER']; if ($refer) { echo '<a href="' . $refer . '">Go back</a>'; } } add_action('thesis_hook_before_content', 'referrer_link');