Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Topic: Add a slideshow to a header http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Sat, 30 May 2015 06:21:34 +0000 ScottNix on "Add a slideshow to a header" http://forums.themeshaper.com/topic/add-a-slideshow-to-a-header#post-27500 Fri, 13 Jul 2012 15:32:22 +0000 ScottNix 27500@http://forums.themeshaper.com/ <p>The forum has moved to <a href="http://thematictheme.com/forums" rel="nofollow">http://thematictheme.com/forums</a></p> <p>Although you are probably looking for something like this.</p> <pre><code>function childtheme_add_slider_shortcode() { echo do_shortcode(&quot;[satellite custom=1]&quot;); } add_action(&#39;thematic_header&#39;, &#39;childtheme_add_slider_shortcode&#39;, 6);</code></pre> <p>You will also see a "6" above which is the priority, the "odds - 1,3,5,7 and 9" are already taken, so you will have to move it around to where you want using even numbers. </p> <p>References<br /> <a href="http://themeshaper.com/thematic/guide/?page_id=10" rel="nofollow">http://themeshaper.com/thematic/guide/?page_id=10</a><br /> <a href="http://css-tricks.com/snippets/wordpress/shortcode-in-a-template/" rel="nofollow">http://css-tricks.com/snippets/wordpress/shortcode-in-a-template/</a> </p> Colleen on "Add a slideshow to a header" http://forums.themeshaper.com/topic/add-a-slideshow-to-a-header#post-27480 Wed, 11 Jul 2012 08:32:31 +0000 Colleen 27480@http://forums.themeshaper.com/ <p>Hi<br /> 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.</p> <p>This is what I already have in my functions php page.</p> <p>&lt;?php</p> <p>//<br /> // Custom Child Theme Functions<br /> //</p> <p>// I've included a "commented out" sample function below that'll add a home link to your menu<br /> // More ideas can be found on "A Guide To Customizing The Thematic Theme Framework"<br /> // <a href="http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/" rel="nofollow">http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/</a></p> <p>// Adds a home link to your menu<br /> // <a href="http://codex.wordpress.org/Template_Tags/wp_page_menu" rel="nofollow">http://codex.wordpress.org/Template_Tags/wp_page_menu</a><br /> //function childtheme_menu_args($args) {<br /> // $args = array(<br /> // 'show_home' =&gt; 'Home',<br /> // 'sort_column' =&gt; 'menu_order',<br /> // 'menu_class' =&gt; 'menu',<br /> // 'echo' =&gt; true<br /> // );<br /> // return $args;<br /> //}<br /> //add_filter('wp_page_menu_args','childtheme_menu_args');</p> <p>// Unleash the power of Thematic's dynamic classes<br /> //<br /> // define('THEMATIC_COMPATIBLE_BODY_CLASS', true);<br /> // define('THEMATIC_COMPATIBLE_POST_CLASS', true);</p> <p>// Unleash the power of Thematic's comment form<br /> //<br /> // define('THEMATIC_COMPATIBLE_COMMENT_FORM', true);</p> <p>// Unleash the power of Thematic's feed link functions<br /> //<br /> // define('THEMATIC_COMPATIBLE_FEEDLINKS', true);<br /> function remove_title($posttitle) {<br /> if (is_page() || is_404()) {<br /> return '';<br /> } else {<br /> return $posttitle;<br /> }<br /> }<br /> add_filter('thematic_postheader_posttitle', 'remove_title');<br /> function childtheme_favicon() { ?&gt;<br /> &lt;link rel="shortcut icon" href="&lt;?php echo bloginfo('stylesheet_directory') ?&gt;/favicon.ico"&gt;<br /> &lt;?php }</p> <p>// favicon front-end<br /> add_action('wp_head', 'childtheme_favicon');</p> <p>// favicon back-end<br /> add_action('admin_head', 'childtheme_favicon');</p> <p>// favicon login-page<br /> add_action('login_head', 'childtheme_favicon');</p> <p>?&gt;</p> <p>regards Colleen </p>