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 Tag: categories http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Wed, 27 May 2015 13:47:18 +0000 helgatheviking on "category drop down in custom primary menu?" http://forums.themeshaper.com/topic/category-drop-down-in-custom-primary-menu#post-24681 Fri, 06 Jan 2012 00:31:33 +0000 helgatheviking 24681@http://forums.themeshaper.com/ <p>never understood your question. but you can add things to the primary menu by filtering</p> <p>see:<br /> <a href="http://wpfirstaid.com/2010/10/extend-the-wordpress-menu/" rel="nofollow">http://wpfirstaid.com/2010/10/extend-the-wordpress-menu/</a> </p> maren.m on "category drop down in custom primary menu?" http://forums.themeshaper.com/topic/category-drop-down-in-custom-primary-menu#post-24679 Fri, 06 Jan 2012 00:00:46 +0000 maren.m 24679@http://forums.themeshaper.com/ <p>alright, i now see this question is worded incorrectly. marking this as resolved. </p> maren.m on "category drop down in custom primary menu?" http://forums.themeshaper.com/topic/category-drop-down-in-custom-primary-menu#post-24678 Thu, 05 Jan 2012 23:55:32 +0000 maren.m 24678@http://forums.themeshaper.com/ <p>Upon closer inspection, I see that sub pages and sub categories are not even being generated when I use my own menu they way they are when using the default navigation..? </p> maren.m on "category drop down in custom primary menu?" http://forums.themeshaper.com/topic/category-drop-down-in-custom-primary-menu#post-24677 Thu, 05 Jan 2012 23:23:38 +0000 maren.m 24677@http://forums.themeshaper.com/ <p>Hi there - </p> <p>So I've searched the forum and I'm still really confused about this. Is there any easy way to insert the category drop down functionality into the "Primary Menu"? I've included categories in the menu I created but am not sure how to show the children in the drop down.</p> <p>Also trying to get a drop down list of all tags...</p> <p>thanks! </p> helgatheviking on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24281 Tue, 13 Dec 2011 15:11:44 +0000 helgatheviking 24281@http://forums.themeshaper.com/ <p>does that mean you've solved it? if so, can you mark the thread as resolved. </p> kim4true on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24280 Tue, 13 Dec 2011 14:14:27 +0000 kim4true 24280@http://forums.themeshaper.com/ <p>Ignore my last post... I tried it, red23, and yes, that worked! Thank you. </p> kim4true on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24279 Tue, 13 Dec 2011 13:41:15 +0000 kim4true 24279@http://forums.themeshaper.com/ <p>Hi red 23, I modified just the loop for the home page, but the alternate stylesheet should NOT be associated with the homepage, only with the category 3.</p> <p>I am thinking the confusion is because the home page stylesheet is determined by an options panel. </p> <p>How would I make this say is NOT front page?</p> <p>&#38;&#38; !is_front_page()) </p> red23 on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24263 Tue, 13 Dec 2011 06:26:11 +0000 red23 24263@http://forums.themeshaper.com/ <p>u modified your loop for the whole site or just for the blog page? if the look works normal in other pages u could do this</p> <p><code>if (in_category('3') &#38;&#38; !is_front_page()) {</code> </p> kim4true on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24262 Tue, 13 Dec 2011 05:06:30 +0000 kim4true 24262@http://forums.themeshaper.com/ <p>One problem seems always to lead to another!</p> <p>in_category() actually worked! but it also changes my home page, which is set up to work with an options panel.</p> <p>I know I need to tell it that if it's the home page, to use the blue stylesheet - but I'm not sure of the syntax.</p> <p>=========================</p> <p>// custom homepage loop<br /> function authorsite_indexloop() {</p> <p>// load the custom options<br /> global $childoptions;<br /> foreach ($childoptions as $value) {<br /> $$value['id'] = get_option($value['id'], $value['std']);<br /> }</p> <p> query_posts("posts_per_page=4&#38;cat=" . $authorsite_feature_cat);<br /> $counter = 1;<br /> if (have_posts()) : while (have_posts()) : the_post(); ?&gt;<br /> &lt;div id="post-&lt;?php the_ID() ?&gt;" class="&lt;?php thematic_post_class() ?&gt;"&gt;<br /> &lt;?php thematic_postheader();<br /> if ($counter == 1 &#38;&#38; has_post_thumbnail() &#38;&#38; !is_paged()) {<br /> the_post_thumbnail('homepage-thumbnail');<br /> } ?&gt;<br /> &lt;div class="entry-content"&gt;<br /> &lt;?php the_excerpt(); ?&gt;<br /> <a>" class="more"&gt;&lt;?php echo more_text() ?&gt;</a><br /> &lt;?php $counter++; ?&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;&lt;!-- .post --&gt;<br /> &lt;?php endwhile; else: ?&gt;<br /> &lt;h2&gt;Eek&lt;/h2&gt;<br /> &lt;p&gt;There are no posts to show!&lt;/p&gt;<br /> &lt;?php endif;<br /> wp_reset_query();<br /> }</p> <p>//alternate stylesheet for blog page<br /> function my_stylesheet($content) {<br /> if (in_category('3')) {<br /> $content = "\t";<br /> $content .= "&lt;link rel=\"stylesheet\" type=\"text/css\" href=\"";<br /> $content .= get_bloginfo('stylesheet_directory') . "/style-blog.css";<br /> $content .= "\" /&gt;";<br /> $content .= "\n\n";<br /> }<br /> return $content;<br /> }<br /> add_filter ('thematic_create_stylesheet', 'my_stylesheet');</p> <p>================================</p> <p>I'd still like to get this one category into the options panel as well... The website owner is now saying "just leave it all blue," but I'm determined! I've gone this far with it, I want to get it completely done.</p> <p>Thanks so much for your help helgatheviking. </p> helgatheviking on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24261 Tue, 13 Dec 2011 00:30:19 +0000 helgatheviking 24261@http://forums.themeshaper.com/ <p><a href="http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/" rel="nofollow">http://programming.thematic4you.com/2010/01/how-to-use-a-different-layout-for-a-certain-page/</a></p> <p>though it seems like you are already all over the thematic_create_stylesheet filter.</p> <p>why not use is_category() and/or in_category() as your conditionals? </p> kim4true on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24259 Mon, 12 Dec 2011 23:14:49 +0000 kim4true 24259@http://forums.themeshaper.com/ <p>Here's my code for the one page I have working with the alternate stylesheet:</p> <p>==========================================</p> <p>//alternate stylesheet for blog page<br /> function my_stylesheet($content) {<br /> global $wp_query;<br /> if (is_page()) {<br /> $pageID = $wp_query-&gt;post-&gt;ID;<br /> $pagelist = array('658');<br /> if (in_array($pageID, $pagelist)) {<br /> $content = "\t";<br /> $content .= "&lt;link rel=\"stylesheet\" type=\"text/css\" href=\"";<br /> $content .= get_bloginfo('stylesheet_directory') . "/style-blog.css";<br /> $content .= "\" /&gt;";<br /> $content .= "\n\n";<br /> }<br /> }<br /> return $content;<br /> }<br /> add_filter ('thematic_create_stylesheet', 'my_stylesheet');</p> <p>======================================</p> <p>Have been trying to get this to work, but am missing something vital:</p> <p>======================================</p> <p>//alternate stylesheet for blog single page<br /> add_filter('single_template', create_function('$t', 'foreach( (array)<br /> get_the_category() as $cat ) { if ( file_exists(STYLESHEETPATH . "/single-{$cat-&gt;slug}.php") ) return STYLESHEETPATH . "/single-{$cat-&gt;slug}.php"; } return $t;' )); </p> kim4true on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24256 Mon, 12 Dec 2011 22:46:52 +0000 kim4true 24256@http://forums.themeshaper.com/ <p>I created a page using the alternate stylesheet to displays her blog, <a href="http://debraclopton.com/w/?page_id=658," rel="nofollow">http://debraclopton.com/w/?page_id=658,</a> and that would almost do the job, but I can't get the other regular links to the category and category single posts to display using this stylesheet. </p> <p>Also, this page is displaying ALL posts, and I have not yet been successful in making it display only the 'blog' category. </p> kim4true on "How best to create a separate style for one specific category and all it's post?" http://forums.themeshaper.com/topic/how-best-to-create-a-separate-style-for-one-specific-category-and-all-its-post#post-24255 Mon, 12 Dec 2011 22:43:30 +0000 kim4true 24255@http://forums.themeshaper.com/ <p>I've created a theme for an author. She asked for just the books to appear on the home page with bluebonnets for the style and colors. (see <a href="http://www.debraclopton.com/w" rel="nofollow">www.debraclopton.com/w</a>)</p> <p>I managed to do that and in the process created a custom home page loop and an options panel in the back end that will allow her to switch to a different pink/purple style if she changes her mind.</p> <p>Now she wants to be able to have her personal blog pages ONLY display using the pink style sheet. I'm scratching my head over the best way to approach this. I'd like to be able to create a dummy proof way for her to switch just this category and all its associated single post pages back and forth between styles.</p> <p>Suggestions? </p> helgatheviking on "Displaying only one category in a blog page" http://forums.themeshaper.com/topic/displaying-only-one-category-in-a-blog-page#post-22591 Wed, 10 Aug 2011 04:09:20 +0000 helgatheviking 22591@http://forums.themeshaper.com/ <p>why not just duplicate that template so that you have 2? one template for Blog, one for News</p> <p>or you could also just use the category archive </p> joolz84 on "Displaying only one category in a blog page" http://forums.themeshaper.com/topic/displaying-only-one-category-in-a-blog-page#post-22586 Tue, 09 Aug 2011 22:23:20 +0000 joolz84 22586@http://forums.themeshaper.com/ <p>Hello all,</p> <p>I'm new to WP and Thematic...</p> <p>I'm looking to create 2 pages (Blog and News).<br /> Blog should only post entries from a category called 'blog' — News should only post entries from a category called 'news'</p> <p>I'm trying to modify my template-page-blog.php to only display posts from each of these categories. </p> helgatheviking on "filtering category from loop breaks page navigation" http://forums.themeshaper.com/topic/filtering-category-from-loop-breaks-page-navigation#post-22186 Thu, 07 Jul 2011 03:58:38 +0000 helgatheviking 22186@http://forums.themeshaper.com/ <p>yup, b/c query_posts('cat=-3'); means you've killed the other bits in your query... that tell WP what paginated page you are on. so you should either include the pagination parts (which i think might be shown on the blog template... i dont remember) </p> <p>OR<br /> safely tack your args on to the query instead of completely replacing it</p> <pre><code>global $wp_query; $args = array_merge( $wp_query-&gt;query, array( &#39;cat&#39;=&gt;-3 ) ); query_posts( $args );</code></pre> <p>which is straight out of the Codex<br /> <a href="http://codex.wordpress.org/Function_Reference/query_posts" rel="nofollow">http://codex.wordpress.org/Function_Reference/query_posts</a> </p> flippingtires on "filtering category from loop breaks page navigation" http://forums.themeshaper.com/topic/filtering-category-from-loop-breaks-page-navigation#post-22184 Thu, 07 Jul 2011 03:47:20 +0000 flippingtires 22184@http://forums.themeshaper.com/ <p>Hi,</p> <p>We need to display our news category posts on their own separate page. So I filtered the category from the main index as Chris described here:</p> <p><a href="http://forums.themeshaper.com/topic/filtering-one-category-from-index-loop" rel="nofollow">http://forums.themeshaper.com/topic/filtering-one-category-from-index-loop</a></p> <p>'<br /> //Remove news category from blog page to avoid double posting<br /> function no_news_in_loop() {<br /> //test if we are on the blog page<br /> if(is_home())</p> <p> {<br /> global $query_string;<br /> query_posts('cat=-3');<br /> }<br /> }<br /> add_action('thematic_indexloop', 'no_news_in_loop');<br /> '</p> <p>It works great, almost. It causes my pagination links to stop working. They load the appropriate page, i.e. blog/page/2/ and blog/page/3/, but the posts on every page are the same.</p> <p>I'm hoping there's a quick and easy fix for it? I just can't seem to locate one.</p> <p>I suppose I should also mention that I've put the news category posts on their own page by copying page.php, renaming in to page-news.php, and creating a page template with it. I then filter the index loop on that page with this function:</p> <p>'<br /> //filter news category posts to only show on news page template</p> <p>function news_in_loop () {<br /> if(is_page_template('page-news.php'))</p> <p> {<br /> query_posts( $query_string . "&#38;cat=26");<br /> }<br /> }</p> <p> add_action('thematic_indexloop', 'news_in_loop');<br /> '</p> <p>This also works as needed, except for the same pagination issue.</p> <p>Thanks for your help. </p> ash.matadeen on "How to display posts from categories on pages using a second loop" http://forums.themeshaper.com/topic/how-to-display-posts-from-categories-on-pages-using-a-second-loop#post-20238 Sat, 02 Apr 2011 13:25:37 +0000 ash.matadeen 20238@http://forums.themeshaper.com/ <p>Just in case anyone wants to refer to the page name and category name rather than the number:<br /> <code><br /> if (is_page(pagename)) {<br /> query_posts('category_name=categoryname&#38;showposts=10');<br /> thematic_index_loop();<br /> }<br /> </code><br /> Simply replace pagename and categoryname with your own. </p> JeffPeppers on "How to display posts from categories on pages using a second loop" http://forums.themeshaper.com/topic/how-to-display-posts-from-categories-on-pages-using-a-second-loop#post-19996 Sat, 26 Mar 2011 03:08:09 +0000 JeffPeppers 19996@http://forums.themeshaper.com/ <p>this is what is in my functions.php now (and thank you for the help!):</p> <p><code><br /> //<br /> // Separate Cat to Page + Working Nav w/ Default<br /> //<br /> function childtheme_second_loop() {</p> <p>$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;</p> <p> if (is_page(509)) {<br /> query_posts("cat=25&#38;showposts=4&#38;paged=" . $paged);<br /> thematic_index_loop();<br /> thematic_navigation_below();<br /> } elseif (is_page(507)) {<br /> query_posts("cat=24&#38;showposts=4&#38;paged=" . $paged);<br /> thematic_index_loop();<br /> thematic_navigation_below();<br /> } else {<br /> return;<br /> }<br /> }<br /> add_action('thematic_abovepagebottom', 'childtheme_second_loop' );<br /> </code> </p> helgatheviking on "How to display posts from categories on pages using a second loop" http://forums.themeshaper.com/topic/how-to-display-posts-from-categories-on-pages-using-a-second-loop#post-19713 Mon, 14 Mar 2011 16:46:12 +0000 helgatheviking 19713@http://forums.themeshaper.com/ <p>while this is perhaps not in line w/ the original topic (well not completely anyway) for everyone wanting to put loops of things outside of the normal loop please read:</p> <p>codex.wordpress.org/Function_Reference/get_posts</p> <p>there is a nice working example at the bottom and you can hack away from there and never worry about monkeying w/ your actual query. </p> vamban on "How to display posts from categories on pages using a second loop" http://forums.themeshaper.com/topic/how-to-display-posts-from-categories-on-pages-using-a-second-loop#post-19712 Mon, 14 Mar 2011 15:00:15 +0000 vamban 19712@http://forums.themeshaper.com/ <p>How do i show the corresponding post thumbnails for each post? </p> khester on "Pages/Categories navigation" http://forums.themeshaper.com/topic/pagescategories-navigation#post-18856 Mon, 31 Jan 2011 21:30:36 +0000 khester 18856@http://forums.themeshaper.com/ <p>Hello everyone. I am creating a menu that has 5 or 6 pages and a couple of categories as drop downs. I have it all working great right now. I also have a dynamic page name block that reads the name of the page you are currently on. That is almost working perfect. The problem I am having is when the user is on the categories page it shows the name of the most recent post. So my question is, is there anyway of making the page and category names appear? And not the most recent post?</p> <p>Thanks in advance. I appreciate any help.<br /> Khester </p> napalm on "Viewing Older Posts when using a category template" http://forums.themeshaper.com/topic/viewing-older-posts-when-using-a-category-template#post-18836 Mon, 31 Jan 2011 12:02:31 +0000 napalm 18836@http://forums.themeshaper.com/ <p>I have put the function used to create the index under an example template in this Pastebin..if that helps</p> <p><a href="http://pastebin.com/tkfS3950" rel="nofollow">http://pastebin.com/tkfS3950</a> </p> napalm on "Viewing Older Posts when using a category template" http://forums.themeshaper.com/topic/viewing-older-posts-when-using-a-category-template#post-18835 Mon, 31 Jan 2011 11:14:16 +0000 napalm 18835@http://forums.themeshaper.com/ <p>Hi All,<br /> I have created 2 categories for my blog, so I can display 2 different index pages.<br /> This is working fine.</p> <p>The issue I'm having is when the amount of posts exceed the limit to display.<br /> I get the 'Older Posts' link at the bottom, which is to be expected, but the link doesn't do anything except for refresh the page. However the URL does change site.com/page/2/.</p> <p>I'm wondering if this is this because the thematic_nav_below function (below) will need to be told to check the relevant categories for the older posts? I'm assuming that because no categories have been passed through, it does'nt know where to look.</p> <p>Has anyone had experience with this, and be willing to help me out?</p> <p>Thanks in advance</p> <pre><code>// Action to create the below navigation function thematic_nav_below() { if (is_single()) { ?&gt; &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt; &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php thematic_previous_post_link() ?&gt;&lt;/div&gt; &lt;div class=&quot;nav-next&quot;&gt;&lt;?php thematic_next_post_link() ?&gt;&lt;/div&gt; &lt;/div&gt; &lt;?php } else { ?&gt; &lt;div id=&quot;nav-below&quot; class=&quot;navigation&quot;&gt; &lt;?php if(function_exists(&#39;wp_pagenavi&#39;)) { ?&gt; &lt;?php wp_pagenavi(); ?&gt; &lt;?php } else { ?&gt; &lt;div class=&quot;nav-previous&quot;&gt;&lt;?php next_posts_link(__(&#39;&lt;span class=&quot;meta-nav&quot;&gt;�&lt;/span&gt; Older posts&#39;, &#39;thematic&#39;)) ?&gt;&lt;/div&gt; &lt;div class=&quot;nav-next&quot;&gt;&lt;?php previous_posts_link(__(&#39;Newer posts &lt;span class=&quot;meta-nav&quot;&gt;�&lt;/span&gt;&#39;, &#39;thematic&#39;)) ?&gt;&lt;/div&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;?php } } add_action(&#39;thematic_navigation_below&#39;, &#39;thematic_nav_below&#39;, 2);</code></pre> napalm on "Multiple blog indexes. Issue with page title" http://forums.themeshaper.com/topic/multiple-blog-indexes-issue-with-page-title#post-18809 Sun, 30 Jan 2011 01:31:29 +0000 napalm 18809@http://forums.themeshaper.com/ <p>Hi Everyone.</p> <p>I have created 2 different blog indexes on my site using categories.</p> <p>I have a blog index named 'News' and another called 'Careers'.</p> <p>The blog indexes are working fine.<br /> I duplicated the 'catagory.php' template (news-catagory.php + careers-catagory.php) and added a query to pull out the right catagory posts on both. </p> <p>My issue is, when I view the full article of a Career post by clicking on it's title, the title of the page reads 'News' instead of 'Careers'.</p> <p>When you view the 'News' index and then a 'News article', the page title stays as 'News' which is expected.</p> <p>How can I modify the templates to keep the same page title the two catagories?</p> <p>Do I need to create another 'single.php' template just for careers? If so, how would I tell the index loop to use that template if the Careers category has been chosen?</p> <p>Any help is appreciated.<br /> Thanks in advance </p> moncho on "Use the Categories Menu global" http://forums.themeshaper.com/topic/use-the-categories-menu-global#post-18385 Sat, 15 Jan 2011 00:54:47 +0000 moncho 18385@http://forums.themeshaper.com/ <p>hi! in this moment i found the thread ;-)</p> <p>but im not verry a coder so i have got some trouble yet with integrating the code.....</p> <p>can you help me a bit? this is my functions.php from the child theme (powerblog) where i have to put your source when i unterstand it right. but i dont know exactly where....</p> <p> <code>`&lt;?php</p> <p>// Load Child Theme scripts<br /> // <a href="http://www.cssnewbie.com/example/equal-heights/" rel="nofollow">http://www.cssnewbie.com/example/equal-heights/</a><br /> function childtheme_scripts() { ?&gt;<br /> &lt;script type="text/javascript"&gt;<br /> jQuery.noConflict();<br /> function equalHeight(group) {<br /> tallest = 0;<br /> group.each(function() {<br /> thisHeight = jQuery(this).height();<br /> if(thisHeight &gt; tallest) {<br /> tallest = thisHeight;<br /> }<br /> });<br /> group.height(tallest);<br /> }<br /> jQuery(document).ready(function() {<br /> equalHeight(jQuery(".main-aside"));<br /> });<br /> &lt;/script&gt;</p> <p>&lt;?php }<br /> add_action('wp_head','childtheme_scripts');</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>// Add a drop down category menu<br /> function childtheme_category_menu() { ?&gt;<br /> &lt;div id="category-access"&gt;<br /> &lt;div id="category-menu" class="menu"&gt;<br /> &lt;div class="menu-title"&gt;&lt;?php _e('Categories:', 'thematic'); ?&gt;&lt;/div&gt;<br /> &lt;ul id="category-nav" class="sf-menu"&gt;<br /> &lt;?php wp_list_categories('title_li='); ?&gt;</p> <p> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;?php }<br /> add_action('thematic_belowheader','childtheme_category_menu', 5);</p> <p>// Add a widgetized aside just below the header<br /> function childtheme_leaderasides() { ?&gt;</p> <p> &lt;?php if ( is_sidebar_active('1st-leader-aside') || is_sidebar_active('2nd-leader-aside') || is_sidebar_active('3rd-leader-aside') ) { // one of the leader asides has a widget ?&gt;<br /> &lt;div id="leader"&gt;<br /> &lt;div id="leader-container"&gt;</p> <p> &lt;?php if ( function_exists('dynamic_sidebar') &#38;&#38; is_sidebar_active('1st-leader-aside') ) { // there are active widgets for this aside<br /> echo '&lt;div id="first-leader" class="aside sub-aside"&gt;'. "\n" . '&lt;ul class="xoxo"&gt;' . "\n";<br /> dynamic_sidebar('1st-leader-aside');<br /> echo '' . "\n" . '&lt;/div&gt;&lt;!-- #first-leader .aside --&gt;'. "\n";<br /> } ?&gt; </p> <p> &lt;?php if ( function_exists('dynamic_sidebar') &#38;&#38; is_sidebar_active('2nd-leader-aside') ) { // there are active widgets for this aside<br /> echo '&lt;div id="second-leader" class="aside sub-aside"&gt;'. "\n" . '&lt;ul class="xoxo"&gt;' . "\n";<br /> dynamic_sidebar('2nd-leader-aside');<br /> echo '' . "\n" . '&lt;/div&gt;&lt;!-- #second-leader .aside --&gt;'. "\n";<br /> } ?&gt; </p> <p> &lt;?php if ( function_exists('dynamic_sidebar') &#38;&#38; is_sidebar_active('3rd-leader-aside') ) { // there are active widgets for this aside<br /> echo '&lt;div id="third-leader" class="aside sub-aside"&gt;'. "\n" . '&lt;ul class="xoxo"&gt;' . "\n";<br /> dynamic_sidebar('3rd-leader-aside');<br /> echo '' . "\n" . '&lt;/div&gt;&lt;!-- #third-leader .aside --&gt;'. "\n";<br /> } ?&gt; </p> <p> &lt;/div&gt;&lt;!-- #leader-container --&gt;<br /> &lt;/div&gt;&lt;!-- #leader --&gt;<br /> &lt;?php } ?&gt;</p> <p>&lt;?php }<br /> add_action('thematic_belowheader','childtheme_leaderasides',6);</p> <p>// Add a widgetized aside above the main asides with the start of a wrapper: #sidebar<br /> function childtheme_sidebarstart() { ?&gt;<br /> &lt;div id="sidebar"&gt;<br /> &lt;div id="crown" class="aside crown-aside"&gt;<br /> &lt;ul class="xoxo"&gt;<br /> &lt;?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('crown-aside') ) : // begin sidebar crown widgets ?&gt;</p> <p> &lt;li id="thematic-power-blog-subscribe" class="widgetcontainer widget_thematic_power_blog_subscribe"&gt;<br /> &lt;h3 class="widget-title"&gt;&lt;?php _e('Subscribe', 'thematic'); ?&gt;&lt;/h3&gt;</p> <ul> <li><a>" title="&lt;?php echo wp_specialchars(get_bloginfo('name'), 1) ?&gt; &lt;?php _e('Site RSS feed', 'thematic'); ?&gt;" rel="alternate nofollow" type="application/rss+xml"&gt;&lt;?php _e('Site RSS Feed', 'thematic') ?&gt;</a></li> </ul> <p> &lt;?php endif; // end sidebar crown widgets ?&gt;</p> <p> &lt;/div&gt;&lt;!-- #crown .aside --&gt;<br /> &lt;?php }<br /> add_action('thematic_abovemainasides','childtheme_sidebarstart');</p> <p>// Close div#sidebar<br /> function childtheme_sidebarend() { ?&gt;<br /> &lt;/div&gt;&lt;!-- #sidebar --&gt;<br /> &lt;?php }<br /> add_action('thematic_belowmainasides','childtheme_sidebarend');</p> <p>// Add breadcrumbs above the footer if Yoast Breadcrumbs are installed<br /> // <a href="http://yoast.com/wordpress/breadcrumbs/" rel="nofollow">http://yoast.com/wordpress/breadcrumbs/</a><br /> function childtheme_breadcrumbs() {<br /> if ( function_exists('yoast_breadcrumb') ) { ?&gt;<br /> &lt;div id="breadcrumb-nav"&gt;<br /> &lt;div id="breadcrumb-nav-container"&gt; </p> <p> &lt;?php yoast_breadcrumb('&lt;p id="breadcrumbs"&gt;','&lt;/p&gt;'); ?&gt;</p> <p> &lt;/div&gt;&lt;!-- #breadcrumb-nav-container --&gt;<br /> &lt;/div&gt;&lt;!-- #breadcrumb-nav-container --&gt;<br /> &lt;?php }<br /> }<br /> add_action('thematic_abovefooter','childtheme_breadcrumbs',5);</p> <p>// Add Thematic Power Blog Subscribe Widget<br /> function thematic_power_blog_subscribe() { ?&gt;<br /> &lt;li id="thematic-power-blog-subscribe" class="widgetcontainer widget_thematic_power_blog_subscribe"&gt;<br /> &lt;h3 class="widget-title"&gt;&lt;?php _e('Subscribe', 'thematic'); ?&gt;&lt;/h3&gt;</p> <ul> <li><a>" title="&lt;?php echo wp_specialchars(get_bloginfo('name'), 1) ?&gt; &lt;?php _e('Site RSS feed', 'thematic'); ?&gt;" rel="alternate nofollow" type="application/rss+xml"&gt;&lt;?php _e('Site RSS Feed', 'thematic') ?&gt;</a></li> </ul> <p>&lt;?php }</p> <p>// Register new widgetized areaa and the new widgets<br /> function childtheme_widgets_init() {</p> <p> // Register new widgetized areaa<br /> register_sidebar(array(<br /> 'name' =&gt; 'Crown Aside',<br /> 'id' =&gt; 'crown-aside',<br /> 'before_widget' =&gt; '&lt;li id="%1$s" class="widgetcontainer %2$s"&gt;',<br /> 'after_widget' =&gt; "",<br /> 'before_title' =&gt; "&lt;h3 class=\"widgettitle\"&gt;",<br /> 'after_title' =&gt; "&lt;/h3&gt;\n",<br /> )); </p> <p> register_sidebar(array(<br /> 'name' =&gt; '1st leader Aside',<br /> 'id' =&gt; '1st-leader-aside',<br /> 'before_widget' =&gt; '&lt;li id="%1$s" class="widgetcontainer %2$s"&gt;',<br /> 'after_widget' =&gt; "",<br /> 'before_title' =&gt; "&lt;h3 class=\"widgettitle\"&gt;",<br /> 'after_title' =&gt; "&lt;/h3&gt;\n",<br /> )); </p> <p> register_sidebar(array(<br /> 'name' =&gt; '2nd leader Aside',<br /> 'id' =&gt; '2nd-leader-aside',<br /> 'before_widget' =&gt; '&lt;li id="%1$s" class="widgetcontainer %2$s"&gt;',<br /> 'after_widget' =&gt; "",<br /> 'before_title' =&gt; "&lt;h3 class=\"widgettitle\"&gt;",<br /> 'after_title' =&gt; "&lt;/h3&gt;\n",<br /> )); </p> <p> register_sidebar(array(<br /> 'name' =&gt; '3rd leader Aside',<br /> 'id' =&gt; '3rd-leader-aside',<br /> 'before_widget' =&gt; '&lt;li id="%1$s" class="widgetcontainer %2$s"&gt;',<br /> 'after_widget' =&gt; "",<br /> 'before_title' =&gt; "&lt;h3 class=\"widgettitle\"&gt;",<br /> 'after_title' =&gt; "&lt;/h3&gt;\n",<br /> )); </p> <p> // Register the new widgets<br /> register_sidebar_widget('Thematic Power Blog Subscribe', 'thematic_power_blog_subscribe');</p> <p>}<br /> add_action( 'init', 'childtheme_widgets_init' ); </p> <p>?&gt;`</code> </p> em hr on "Use the Categories Menu global" http://forums.themeshaper.com/topic/use-the-categories-menu-global#post-18384 Sat, 15 Jan 2011 00:42:07 +0000 em hr 18384@http://forums.themeshaper.com/ <p>Hi Moncho,</p> <p>Something similar was discussed in this thread:</p> <p><a href="http://forums.themeshaper.com/topic/create-horizontal-dropdown-child-menu-that-holds-on-subpage" rel="nofollow">http://forums.themeshaper.com/topic/create-horizontal-dropdown-child-menu-that-holds-on-subpage</a></p> <p>That discussion was not specific to the Power Blog Theme but could help you</p> <p>-Gene </p> moncho on "Use the Categories Menu global" http://forums.themeshaper.com/topic/use-the-categories-menu-global#post-18383 Sat, 15 Jan 2011 00:10:57 +0000 moncho 18383@http://forums.themeshaper.com/ <p>take a look at pose.ch there i realised now that the categories menu apears on each menuitem. but there are always the categories from the post. i have some pages as menuitem and would like that there appears the subpages dynamic </p> moncho on "Use the Categories Menu global" http://forums.themeshaper.com/topic/use-the-categories-menu-global#post-18367 Fri, 14 Jan 2011 14:58:37 +0000 moncho 18367@http://forums.themeshaper.com/ <p>i think its verry easy to get this. at least i think i only have to rename a class or something like that! please help me. the themaitc is a great theme but for noobs not very accessible </p> helgatheviking on "a trick for getting category.php to use the_content instead of the_excerpt?" http://forums.themeshaper.com/topic/a-trick-for-getting-categoryphp-to-use-the_content-instead-of-the_excerpt#post-18051 Sun, 02 Jan 2011 14:58:50 +0000 helgatheviking 18051@http://forums.themeshaper.com/ <p>i dont actually know. why don't you try it and report back and we'll go from there. </p>