This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'after_setup_theme', 'theme_setup' ); | |
function theme_setup() { | |
global $wp_version; | |
//Compare wp_version to know which way to add custom header support | |
if (version_compare($wp_version, '3.4' , '>=')){ | |
add_theme_support( 'custom-header', array( | |
// Header image default | |
'default-image' => get_template_directory_uri() . '/images/headers/header.jpg', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Simple Press to bbPress | |
Plugin URI: http://www.4-14.org.uk/ | |
Description: Import Simple Press forums to bbPress | |
Author: Mark Barnes | |
Version: 0.1 | |
Author URI: http://www.4-14.org.uk/ | |
*/ |
NewerOlder