Hi
I have installed Satellite Slideshow on my wordpress website and would like to know how I put it into the header please? The code for the slide show is [satellite custom=1]. I have a thematic child theme set up on my site.
This is what I already have in my functions php page.
<?php
//
// Custom Child Theme Functions
//
// I've included a "commented out" sample function below that'll add a home link to your menu
// More ideas can be found on "A Guide To Customizing The Thematic Theme Framework"
// http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/
// Adds a home link to your menu
// http://codex.wordpress.org/Template_Tags/wp_page_menu
//function childtheme_menu_args($args) {
// $args = array(
// 'show_home' => 'Home',
// 'sort_column' => 'menu_order',
// 'menu_class' => 'menu',
// 'echo' => true
// );
// return $args;
//}
//add_filter('wp_page_menu_args','childtheme_menu_args');
// Unleash the power of Thematic's dynamic classes
//
// define('THEMATIC_COMPATIBLE_BODY_CLASS', true);
// define('THEMATIC_COMPATIBLE_POST_CLASS', true);
// Unleash the power of Thematic's comment form
//
// define('THEMATIC_COMPATIBLE_COMMENT_FORM', true);
// Unleash the power of Thematic's feed link functions
//
// define('THEMATIC_COMPATIBLE_FEEDLINKS', true);
function remove_title($posttitle) {
if (is_page() || is_404()) {
return '';
} else {
return $posttitle;
}
}
add_filter('thematic_postheader_posttitle', 'remove_title');
function childtheme_favicon() { ?>
<link rel="shortcut icon" href="<?php echo bloginfo('stylesheet_directory') ?>/favicon.ico">
<?php }
// favicon front-end
add_action('wp_head', 'childtheme_favicon');
// favicon back-end
add_action('admin_head', 'childtheme_favicon');
// favicon login-page
add_action('login_head', 'childtheme_favicon');
?>
regards Colleen