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: custom Help In Shaping WordPress Themes en Tue, 26 May 2015 11:43:21 +0000 meevil on "Custom sidebars" Mon, 13 Feb 2012 13:56:57 +0000 meevil 25359@ <p>Thanks! Works a treat! :D </p> helgatheviking on "Custom sidebars" Sun, 12 Feb 2012 19:13:37 +0000 helgatheviking 25352@ <p>yes. please see this for how to set up a new widget area<br /> <a href="" rel="nofollow"></a></p> <p>the important things you will need to change are the action_hook (which will decide the location of your widget area)... and then the function... which is where you can elaborate the conditional logic </p> meevil on "Custom sidebars" Sun, 12 Feb 2012 18:47:00 +0000 meevil 25351@ <p>How would I go about that Helga?</p> <p>New Widget areas sounds good. Would I be able to define these areas to show up only certain versions of the following pages?</p> <p>- Category </p> <p>- Author </p> <p>- Single Post (by a certain Author / In a certain Category) </p> fwunder on "Custom sidebars" Sun, 12 Feb 2012 15:42:18 +0000 fwunder 25349@ <p>@helgatheviking, the widget idea is a good one and reminded me of something I've used successfully and easily in the past:</p> <p>Conditional Widgets</p> <p><a href="" rel="nofollow"></a> </p> helgatheviking on "Custom sidebars" Sun, 12 Feb 2012 15:13:53 +0000 helgatheviking 25347@ <p>you can create new widget areas and conditionally define what pages/sections they appear on. no need for body classes. </p> <p>or you can hard code the same conditional stuff into some functions that latch onto thematic_abovemainasides, thematic_belowmainasides, or thematic_betweenmainasides </p> fwunder on "Custom sidebars" Sun, 12 Feb 2012 14:59:51 +0000 fwunder 25345@ <p>Hi @meevil,</p> <p>You might want to consider using custom fields and/or body classes.</p> <p>I'm playing around with similar ideas in my sandbox. *disclaimer* -- This is a pretty radical and probably a bit naive approach to some Thematic mods and should not be considered "standard". It's just a sandbox, but might give you some ideas...</p> <p><a href="" rel="nofollow"></a></p> <p>**double disclaimer** read the first disclaimer! </p> meevil on "Custom sidebars" Sun, 12 Feb 2012 14:40:17 +0000 meevil 25342@ <p>Hey guys, me again.</p> <p>Just wondering how possible is it to have custom sidebars, or having some way to put custom content within a sidebar depending on which category or Author page is currently being displayed?</p> <p>For example, on my homepage I want to have the sites Facebook like box in the sidebar, but in the author page I want the authors category box there instead.</p> <p>Thanks a lot guys for your continued support! </p> LizaValero on "Different CSS for a custom page template" Thu, 29 Dec 2011 20:10:46 +0000 LizaValero 24512@ <p>THANK YOU!!! I will get this all to make sense one day </p> ScottNix on "Different CSS for a custom page template" Thu, 29 Dec 2011 20:09:50 +0000 ScottNix 24511@ <pre><code>.page-template-template-page-listingsite-php #footer { background:#000000; }</code></pre> <p>Is what you are looking for since the footer is inside the body tag. ;) </p> LizaValero on "Different CSS for a custom page template" Thu, 29 Dec 2011 19:39:32 +0000 LizaValero 24509@ <p>Thanks so much. That would be easier, but I can't get it to work. What am I doing wrong? Here is what I added to my style.css</p> <pre><code>#footer .page-template-template-page-listingsite-php { background:#000000; }</code></pre> <p>It is at the bottom of the style sheet but the color of normal footer still shows on that page<br /> The regular style sheet/page template is at<br /><br /> and the page I am trying to work with is at<br /> <a href="" rel="nofollow"></a> </p> ScottNix on "Different CSS for a custom page template" Thu, 29 Dec 2011 19:23:13 +0000 ScottNix 24508@ <p>The answer is yes.</p> <p>For loading a different style sheet, reference <a href="" rel="nofollow"></a></p> <p>For the Conditional Tags to use, reference <a href="" rel="nofollow"></a></p> <p>Now, as a follow up, how much are the styles really changing? With WordPress/Thematic, they do use body classes, so if you check in your body tag you will see</p> <pre><code>&lt;body class=&quot;page page-id-11 page-template page-template-template-page-fullpage-php layout-2cr&quot;&gt;</code></pre> <p>So if you are needing minimal style changes, you could actually target the class of .page-template-template-page-fullpage-php (which is my full page template) and override the styles of other pages, this will be by far easier than adding another style sheet. Just depends on what you are trying to accomplish and how different the page is. </p> LizaValero on "Different CSS for a custom page template" Thu, 29 Dec 2011 16:56:05 +0000 LizaValero 24507@ <p>I have created a custom page template in my child theme of Thematic and named it page-template-listingsite.php. It shows as an option for a template when I make a new page.<br /> I have seen how a alternate stylesheet can be used for a specific page, whether it is by ID number, or page name, but can the stylesheet be used whenever the page-template-listingsite.php is used? </p> elleburst on "custom postheader and postmeta" Sat, 24 Dec 2011 01:46:03 +0000 elleburst 24466@ <p>I must've been using the wrong keywords when I googled. Anyway, thanks a lot helgatheviking and Merry Christmas :) </p> helgatheviking on "custom postheader and postmeta" Fri, 23 Dec 2011 13:53:45 +0000 helgatheviking 24462@ <p>really? b/c when i google filter thematic post meta the several of the items on the first page are super useful.</p> <p>ian stewart (original author of thematic) on filters:<br /> <a href="" rel="nofollow"></a></p> <p>my own explanation of filters and hooks:<br /> <a href="" rel="nofollow"></a></p> <p>an example post header filter:<br /> <a href="" rel="nofollow"></a></p> <p>you can find the name of any of thematic's filters by digging around in the code... particularly the library/extensions folder. don't change anything there, but it is important to see what is generating what, what functions have childtheme_overides and what the apply_filters are called </p> elleburst on "custom postheader and postmeta" Fri, 23 Dec 2011 03:22:45 +0000 elleburst 24455@ <p>Hello :)</p> <p>I would like to know how I can make the my post titles look like this: 'mm.dd.yy:post title'. Can anyone please show me how? I've searched google and this forum but I can't get a clear idea of what to do. Plus, I don't really know much about php :D</p> <p>thanks in advance,<br /> Jenelle </p> helgatheviking on "Creating a custom homepage with multiple category search fields" Wed, 30 Nov 2011 15:55:26 +0000 helgatheviking 24018@ <p>why are you are manually calling the widget. the readme.txt (always a good idea to check out) says to do so if your theme doesn't support widgets. thematic has something like 13 widget areas and in my very first reply i mentioned how to add another. regardless, glad you have solved it. </p> MrChase on "Creating a custom homepage with multiple category search fields" Wed, 30 Nov 2011 15:17:16 +0000 MrChase 24017@ <p>Thanks Helga for your usefull reply and the tricks.<br /> I'm using the .home class now, thanks for mention it.</p> <p>Well, I'm a bit of a noob when it comes to PHP but the problem was the following:<br /> <pre><code>&lt;div class=&quot;home&quot;&gt; &lt;?php ctf_widget() ?&gt; &lt;/div&gt;</code></pre> <p>I replaced the ctf_widget line with the this<br /> <pre><code>&lt;div class=&quot;home&quot;&gt; &lt;?php the_widget(&#39;cat_tag_filter&#39;, $instance, $args); ?&gt; &lt;/div&gt;</code></pre> <p>The solution was in de readme.txt in the plugin folder:</p> <blockquote><p> If your theme doesn't support widgets, you can use this code:<br /> &lt;?php the_widget('cat_tag_filter', $instance, $args); ?&gt; </p></blockquote> <p>Lesson learned! From now on I'll always read readme files ;) </p> helgatheviking on "Creating a custom homepage with multiple category search fields" Wed, 30 Nov 2011 13:48:46 +0000 helgatheviking 24016@ <p>are you using firebug? or the chrome/safari equivalent developer tools? if you aren't you absolutely NEED to be, as these types of questions are rendered extraordinarily simple.</p> <p>for instance, thematic's default style is </p> <pre><code>.aside #searchsubmit { display: none; }</code></pre> <p>which is probably hiding your submit button. (by the by, you can wrap code with two ` backtick marks... if you have a US keyboard that is usually up next to the 1. so you'd need to override that somehow</p> <pre><code>.filter-cat .ctf-submit{ border-style:solid; border-width:1px; border-color:#000; display: block; }</code></pre> <p>that might not be specific enough, i'm not sure w/o actually testing it, but hopefully you get the point.</p> <p>where did this ".home-only" class come from? did you add it to the dynamic body classes or is it a place holder b/c you don't know what to actually put there? if the later, you can again use firebug to read all the dynamic thematic body classes</p> <p>home page page-id-62 page-template-default logged-in admin-bar windows chrome ch15</p> <p>and the first one happens to be home so in lieu of .home-only you'd just use .home</p> <pre><code>.home .filter-cat{ font-size:24px; border-style:solid; border-width:8px; }</code></pre> <p>if you have hidden selects i'm not sure what the problem is. but you can probably sort it out w/ firebug. </p> MrChase on "Creating a custom homepage with multiple category search fields" Wed, 30 Nov 2011 08:53:35 +0000 MrChase 24010@ <p>Ok, some screenshots:<br /> <a href="" rel="nofollow"></a><br /> <a href="" rel="nofollow"></a> </p> MrChase on "Creating a custom homepage with multiple category search fields" Wed, 30 Nov 2011 08:44:00 +0000 MrChase 24009@ <p>Ok, it's kind of working. Now I've got another problem:<br /> I want to have one plugin ( with two styles: one style for the homepage, one style for the other pages. Let's say I want the form at the homepage having bigger fields than on the other pages. (Sorry for my bad english.)</p> <p>Is this possible?</p> <p>This is in the plugin functions PHP file:<br /> Note the form within the "filter-cat" div.</p> <p><code><br /> function ctf_widget(){<br /> global $ctf_options; ?&gt;<br /> &lt;div class="filter-cat"&gt;<br /> &lt;form action="&lt;?php echo get_bloginfo('wpurl') . '/' . PLUGINDIR . '/' . dirname(plugin_basename(__FILE__)) . '/cat-tag-filter.php'; ?&gt;" method="post"&gt;<br /> &lt;?php if ($ctf_options['cat_list_label']) echo '&lt;label for="ctf-cat-select"&gt;' . $ctf_options['cat_list_label'] . '&lt;/label&gt;'; ?&gt;<br /> &lt;select name="cat" class="ctf-cat-select" &gt;<br /> &lt;option value="-1"&gt;<br /> &lt;?php if ($ctf_options['all_cats_text'] != '') echo $ctf_options['all_cats_text']; else _e('Any category', 'cat-tag-filter'); ?&gt;<br /> &lt;/option&gt;<br /> &lt;?php echo cat_options(); ?&gt;<br /> &lt;/select&gt;<br /> &lt;?php if ($ctf_options['tag_list_label']) echo '&lt;label for="ctf-tag-select"&gt;' . $ctf_options['tag_list_label'] . '&lt;/label&gt;'; ?&gt;<br /> &lt;select name="tag" class="ctf-tag-select" &gt;<br /> &lt;option value="-1"&gt;<br /> &lt;?php if ($ctf_options['all_tags_text'] != '') echo $ctf_options['all_tags_text']; else _e('Any tag', 'cat-tag-filter'); ?&gt;<br /> &lt;/option&gt;<br /> &lt;?php echo tag_options(); ?&gt;<br /> &lt;/select&gt;<br /> &lt;input type="hidden" name="ctf_submit" value="1" /&gt;<br /> &lt;input type="hidden" name="home_url" value="&lt;?php bloginfo('url'); ?&gt;" /&gt;<br /> &lt;input class="ctf-submit" class="button" type="submit" value="&lt;?php echo $ctf_options['button_title']; ?&gt;"/&gt;<br /> &lt;/form&gt; &lt;/div&gt;<br /> </code></p> <p>This is in the style.css in the childtheme folder:<br /> <code><br /> /* =Cat Tag Filter<br /> -------------------------------------------------------------- */</p> <p>.filter-cat{<br /> font-size:12px;<br /> border-style:solid;<br /> border-width:3px;<br /> }<br /> .filter-cat .ctf-tag-select,.ctf-cat-select,.ctf-submit{<br /> width: 130px;<br /> }<br /> .filter-cat .ctf-submit{<br /> border-style:solid;<br /> border-width:1px;<br /> border-color:#000;<br /> } </p> <p>/* =Cat Tag Filter Home Only<br /> -------------------------------------------------------------- */</p> <p>.home-only .filter-cat{<br /> font-size:24px;<br /> border-style:solid;<br /> border-width:8px;<br /> }<br /> .home-only .filter-cat .ctf-tag-select,.ctf-cat-select,.ctf-submit{<br /> width: 200px;<br /> }<br /> .home-only .filter-cat .ctf-submit{<br /> border-style:solid;<br /> border-width:5px;<br /> border-color:#FFF;<br /> }<br /> }<br /> </code></p> <p>Styles are just an example.<br /> I've got a different homepage calling the Cat Tag Filter widget within the "class="home-only" div.</p> <p>It's working, only the<br /> .ctf-tag-select, .ctf-cat-select and the .ctf-submit aren't visible at the homepage.</p> <p>I hope you'll understand this problem. Thanks in advance for your replie! </p> danromanchik on "Custom Menu not showing in home side bar" Tue, 29 Nov 2011 05:17:04 +0000 danromanchik 23986@ <p>I'm having the exact same problem. Did you ever find a fix for this? </p> MrChase on "Creating a custom homepage with multiple category search fields" Mon, 28 Nov 2011 18:42:11 +0000 MrChase 23977@ <p>Thanks for your reply Helga! That widget area looks nice and quite simple. I'll go figure it out! </p> helgatheviking on "Creating a custom homepage with multiple category search fields" Mon, 28 Nov 2011 16:57:56 +0000 helgatheviking 23973@ <p>you can add any amount of divs you'd like to the header. that part is easy, but thematic does not have that type of search ability built in. in lieu of writing it yourself, i'd go w/ the plugin. why re-invent the wheel? </p> <p>you can always add a widget area in the header and drop it in there. </p> <p><a href="" rel="nofollow"></a></p> <p>if the plugin is loading its own stylesheet, but you'd rather that it didn't... assuming that it is well-written you should be able to deregister it's stylesheet and then handle all of its styles in your own style.css</p> <p>see Devin's post on deregistering stuff<br /> <a href="" rel="nofollow"></a> </p> MrChase on "Creating a custom homepage with multiple category search fields" Mon, 28 Nov 2011 16:05:40 +0000 MrChase 23970@ <p>Here's a sketch: <a href="" rel="nofollow"></a> </p> MrChase on "Creating a custom homepage with multiple category search fields" Mon, 28 Nov 2011 15:49:57 +0000 MrChase 23969@ <p>Hi there! This is my first post. I'm from the Netherlands so my english isn't that good. I'm sorry for that! First thing I want to say: Thematic rocks!</p> <p>Okay, here's the deal: I want to make a custom homepage (frontpage) with an extra area below the header section. In this custom area, I want to have a multiple category search widget. (See: <a href="" rel="nofollow"></a> and <a href="" rel="nofollow"></a> )</p> <p>In other words: I want a huge header with a nice background image and a div containing the multiple cat search, so visitors can filter categories.</p> <p>My questions:<br /> 1) Is there already a kind of "Thematic multiple category search filter" ready to use?<br /> 2) If not: Do you guys and girls know a tutorial so I can create this multi-cat-search box straight into my custome homepage / frontpage?</p> <p>I just don't like to add lots of non-thematic plugins to my wp theme and want to have a clean childtheme with only one stylesheet.</p> <p>Is there any kind of solution, or should I keep dreaming?<br /> I'm kind of a noob with PHP, but I'm familiar with HTML and CSS.<br /> Thanks for your replies! </p> lastraw on "Adding a widget to thematic_before()" Thu, 13 Oct 2011 18:26:38 +0000 lastraw 23460@ <p>atomhead this might be more basic than what you're asking for but in case it's not<br /> go to Appearance &gt; Widgets and drag and drop to the sidebar you want. </p> ravenousravendesign on "Adding a widget to thematic_before()" Tue, 11 Oct 2011 01:13:16 +0000 ravenousravendesign 23409@ <p>You have to learn PHP. Once you can undestand and edit PHP it will be easier for you to know whats going on. I'm not a pro at PHP, but do realize you should have that basic understanding. I copy and paste when I can too. hehe</p> <p>I don't know the answer to your question, but hope these links help out.</p> <p>Thematic Resources<br /> <a href="" rel="nofollow"></a></p> <p>PHP Resources<br /> <a href="" rel="nofollow"></a><br /> <a href="" rel="nofollow"></a></p> <p>Purchasing a good book on Wordpress helps too. I have this one and find it very useful.<br /> <a href=";qid=1318296457&#38;sr=8-2" rel="nofollow">;qid=1318296457&#38;sr=8-2</a> </p> helgatheviking on "Custom Post Type Loop - Child Theme" Fri, 30 Sep 2011 00:55:37 +0000 helgatheviking 23279@ <p>"a white page" probably means you borked your syntax.</p> <p>you might want to check out this tip to see where you went wrong:<br /> <a href="" rel="nofollow"></a> </p> <p>custom post type archives are now native to WP3.1 and can be activated when declaring your post type.... i'm inclined to think it is automatic, but i can't remember exactly. </p> <p>custom post type archives are then auto generated by the first template that WP finds according to it's established naming convention, see the Codex </p> <p><a href="" rel="nofollow"></a></p> <p>thematic has an archives.php so <em>that</em> is what thematic uses to display the archive for your post type. </p> <p>but you could copy archives.php and rename it to archive-intranet.php to create a custom template for only your particular post type. you won't need to modify the query at all as WP will know exactly what to do. </p> <p>but if you need an actual page, page template then make sure your syntax is correct (no missing ; , } ) etc ) and that your post_type name is exactly as you have declared it when defining the post type. </p> <p>hope that helps. </p> <p>btw- there's no hard and fast rule, but bumping yourself after 3 hours seems a little pushy to me. remember this is a free forum and all help is volunteer. if you want premium support in the form of immediate help, you should pay for it.</p> <p>cheers. </p> Omegakenshin on "Custom Post Type Loop - Child Theme" Thu, 29 Sep 2011 20:00:38 +0000 Omegakenshin 23274@ <p>Anyone???<br /> This must be simple for a Thematic Guru! </p> Omegakenshin on "Custom Post Type Loop - Child Theme" Thu, 29 Sep 2011 17:28:59 +0000 Omegakenshin 23272@ <p>Hi, I'm new to Thematic, but I really like it,</p> <p>I want to know what I'm doing wrong,<br /> I got this custom post type (CPT) called "Intranet"<br /> and in a page I want to load a custom template to run the loop with the query for showing these.</p> <p>But when I try to change the loop code directly on the page template, I only got a white page.</p> <p>I try it in diferent ways:</p> <p>&lt;?php $intranet = new WP_Query( array( 'paged' =&gt; get_query_var('paged'), 'post_type' =&gt; 'intranet', 'posts_per_page' =&gt; 8 ) ); ?&gt;<br /> &lt;?php while ( $intranet-&gt;have_posts() ) : $intranet-&gt;the_post(); ?&gt;</p> <p>and like this</p> <p>&lt;?php global $wp_query;<br /> query_posts("post_type=intranet");<br /> while ( have_posts()) : the_post(); ?&gt;</p> <p>What's the right way to do this in Thematic?? </p>