function theme_wp_head() { global $fp_config; echo "\n<!-- FP STD HEADER -->\n"; echo "\n<meta name=\"generator\" content=\"FlatPress " . system_ver() . "\" />\n"; echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Get RSS 2.0 Feed\" href=\"" . theme_feed_link('rss2') . "\" />\n"; echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"Get Atom 1.0 Feed\" href=\"" . theme_feed_link('atom') . "\" />\n"; echo "<!-- EOF FP STD HEADER -->\n"; }
<?php // Example of use require_once 'defaults.php'; require_once INCLUDES_DIR . 'includes.php'; /* backward compatibility */ @utils_status_header(301); @utils_redirect(str_replace('&', '&', theme_feed_link()) . '&' . $_SERVER['QUERY_STRING'], true);