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: widgets http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Sat, 30 May 2015 12:27:55 +0000 em hr on "add a new sidebar and have a specific widget" http://forums.themeshaper.com/topic/add-a-new-sidebar-and-have-a-specific-widget#post-27729 Sat, 15 Dec 2012 17:55:53 +0000 em hr 27729@http://forums.themeshaper.com/ <p>Please <a href="http://forums.themeshaper.com/topic/please-read-this-before-adding-new-topics-thematic-has-moved"> read this</a> and come to then new <a href="http://thematictheme.com/forums/">ThematicTheme Forums</a> for support. </p> janimal on "add a new sidebar and have a specific widget" http://forums.themeshaper.com/topic/add-a-new-sidebar-and-have-a-specific-widget#post-27665 Thu, 01 Nov 2012 09:29:21 +0000 janimal 27665@http://forums.themeshaper.com/ <p>If the sidebar is going to be in the same place using the same css why would you need a new sidebar?</p> <p>You can use the plug-in "Widget Context" to display a specific widget on a specific page. </p> rashanoureldin on "add a new sidebar and have a specific widget" http://forums.themeshaper.com/topic/add-a-new-sidebar-and-have-a-specific-widget#post-27595 Thu, 23 Aug 2012 14:15:21 +0000 rashanoureldin 27595@http://forums.themeshaper.com/ <p>Hi, i am trying to create a new sidebar for a specific page , and have a specific widget<br /> but i want it to be look like the old sidebar in css and place<br /> any help please how i can do that<br /> Thanks </p> candregg on "Something new 'bout widgetized areas" http://forums.themeshaper.com/topic/something-new-bout-widgetized-areas/page/3#post-26883 Tue, 08 May 2012 20:22:54 +0000 candregg 26883@http://forums.themeshaper.com/ <p>Thanks Helga. I will move this to a new thread, since I remain confused about how the several widget areas will generate in the admin area. Will try some things and see how they go and then continue the discussion later if the problems persist. </p> helgatheviking on "Something new 'bout widgetized areas" http://forums.themeshaper.com/topic/something-new-bout-widgetized-areas/page/3#post-26880 Tue, 08 May 2012 20:12:10 +0000 helgatheviking 26880@http://forums.themeshaper.com/ <p>please make a new thread for this sort of thing. it'll be easier for other people to find in the future should they be doing the same thing. but nothing is really different except for the condition:</p> <p>create a sidebar with id = "bacon-category" per the instructions/samples in this thread and adjust the callback function's conditionals to check for category<br /> <pre><code>if (is_active_sidebar(&#39;bacon-category&#39;) &#38;&#38; is_category(&#39;bacon&#39;)) {</code></pre> candregg on "Something new 'bout widgetized areas" http://forums.themeshaper.com/topic/something-new-bout-widgetized-areas/page/3#post-26879 Tue, 08 May 2012 19:43:17 +0000 candregg 26879@http://forums.themeshaper.com/ <p>Greetings. I have a client who wants the Primary widget area to be able to display completely different content based on different categories (and children). Hence the admin area is going to have to include at least six DIFFERENT new widget areas to handle the content, and also six different conditionals to handle the sidebar display.</p> <p>I've been trying to figure out the conditional syntax from this thread's previous posts, but I get stopped at the problem of different specific categories.</p> <p>I know this is vague, but I'm a little stumped. Any help or direction would be appreciated. </p> saaqi on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26639 Wed, 25 Apr 2012 19:23:26 +0000 saaqi 26639@http://forums.themeshaper.com/ <p>Ok that worked amazingly thank you so much for your support. God Bless You</p> <p>You can close this thread if you want. thank you again </p> helgatheviking on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26637 Wed, 25 Apr 2012 18:59:33 +0000 helgatheviking 26637@http://forums.themeshaper.com/ <p>try putting a background image on .cat-links and .tag-links. you won't want to text-indent all of that away, but you'll need to add a little left padding to accommodate the image's width. </p> <pre><code>.cat-links { background: url(image.gif) no-repeat middle left; padding-left: 20px; }</code></pre> saaqi on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26632 Wed, 25 Apr 2012 15:50:10 +0000 saaqi 26632@http://forums.themeshaper.com/ <p>Ok great thanks. here is the link I was actually making it offline. Just uploaded.</p> <p><a href="http://reviews-tech.com/" rel="nofollow">http://reviews-tech.com/</a></p> <p>Now I have found almost all of the ones I want except for the two. The text before category links (posted in) and (Tagged) tag links. I have over ride the funtions form content-extentions.php to my functions with childtheme-overrider fucntions. I can change the text fine can also add icons inside functions.php like Mr. @colfelt said. For that all I need to do is break the icons imagesinto different small individual icons.</p> <p>But every thing I have tried in css failed. I have successfully changed the icon with the text but the links get scrambled I have tried inline-block, float, padding every thing I know of but the links get scrambled any way.</p> <p>Here I is a screenshot of the same link I have mentioned above. I have the ones I want to find the classes of.</p> <p><a href="http://i356.photobucket.com/albums/oo7/saaqi/screenshot.jpg" rel="nofollow">http://i356.photobucket.com/albums/oo7/saaqi/screenshot.jpg</a></p> <p>And about the widgets don't worry about it. I'll edit single.php or find another way. I want to add a script to add galleries there you know like kotaku[dot]com does. But then again that is not important. </p> helgatheviking on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26628 Wed, 25 Apr 2012 13:24:52 +0000 helgatheviking 26628@http://forums.themeshaper.com/ <p>can you not call me sir? :) nice job getting the icons up. if you have a link to a live URL maybe we can help you find the remaining classes. </p> <p>like i said before, actually creating widgets inside entry-content will be very hard. what exactly are you trying to add there? </p> saaqi on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26625 Wed, 25 Apr 2012 09:06:03 +0000 saaqi 26625@http://forums.themeshaper.com/ <p>hello sir @helgatheviking thank you for the explanation. I have successfully added the icons. Though I can not find some classes but I am certain I'll find them. Now can you help me with my other request. I want to add two widget.</p> <p>Just before and after the .entry-content.</p> <p>Thank you again for your help, I am very grateful. </p> helgatheviking on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26603 Tue, 24 Apr 2012 16:47:13 +0000 helgatheviking 26603@http://forums.themeshaper.com/ <p>i understand your english just fine, though you might not get mine. i suggested that you do a little work on your own to find the appropriate CSS classes to target. you can either look in content-extensions.php for the original functions (which will show the html markup) or you can use <a href="http://www.getfirebug.com" rel="nofollow">www.getfirebug.com</a> to investigate the markup of a web page. </p> <p>for example the markup for the "By:" is</p> <pre><code>&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;By &lt;/span&gt;</code></pre> <p>so the CSS you'd want to target it would be<br /> <pre><code>.meta-prep-author { background: pink; }</code></pre> saaqi on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26602 Tue, 24 Apr 2012 15:47:55 +0000 saaqi 26602@http://forums.themeshaper.com/ <p>thank you very much sir @helgatheviking that is pretty much what I was looking for But I want to change $tagtext, $postcategory, $authorlink $entrydate this stuff with icons. So in Css what do I start with for $tagtext or $entrydate.</p> <p>Sorry for my bad English. If want to add icon to $tagtext according to your code instead of ".post-author" what should I type there.</p> <p>Thank you again. </p> saaqi on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26601 Tue, 24 Apr 2012 15:09:14 +0000 saaqi 26601@http://forums.themeshaper.com/ <p>Thank you very much for the reply sir,how ever that did not work. But I did find a solution. I used override function added this code in functions.php and it worked for Tagged.</p> <p><code>// Create post tags<br /> function childtheme_override_postfooter_posttags() {</p> <p> if (is_single()) {<br /> $tagtext = __('&lt;img src="Icon Link" alt="Tagged"&gt;', 'thematic');<br /> $posttags = get_the_tag_list("&lt;span class=\"tag-links\"&gt; $tagtext ",', ','&lt;/span&gt;');<br /> } elseif ( is_tag() &#38;&#38; $tag_ur_it = thematic_tag_ur_it(', ') ) { /* Returns tags other than the one queried */<br /> $posttags = '&lt;span class="tag-links"&gt;' . __(' Also tagged ', 'thematic') . $tag_ur_it . '&lt;/span&gt; &lt;span class="meta-sep meta-sep-comments-link"&gt;|&lt;/span&gt;';<br /> } else {<br /> $tagtext = __('Tagged', 'thematic');<br /> $posttags = get_the_tag_list("&lt;span class=\"tag-links\"&gt; $tagtext ",', ','&lt;/span&gt; &lt;span class="meta-sep meta-sep-comments-link"&gt;|&lt;/span&gt;');<br /> }<br /> return apply_filters('childtheme_override_postfooter_posttags',$posttags); </p> <p> }<br /> // end postfooter_posttag</code></p> <p>Now please tell me if there is a way to syle $tagtext command with css. Because if it is possible that'll make things way smoother. I have tried #tagtext and .tagtext and every thing I could think of.</p> <p>Thank you again sir </p> helgatheviking on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26600 Tue, 24 Apr 2012 15:08:14 +0000 helgatheviking 26600@http://forums.themeshaper.com/ <p>a pretty good explanation. filters change something without moving it. colfelt's suggest code should. i'm wondering why you can apply a background image w/ CSS? i'm pretty sure everything in the postmeta has specific spans you can target. i can't look up the appropriate css selector right now, just use firebug to find it. something like this might work?</p> <pre><code>.post-author /*not sure this is correct selector*/ { height: 32px; width: 32px; background: url(images/your-icon.png) no-repeat; display: block; text-indent: -9999999px; }</code></pre> colfelt on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26593 Tue, 24 Apr 2012 11:41:49 +0000 colfelt 26593@http://forums.themeshaper.com/ <p>Hi Saaqi, I'm no expert either, but for what it's worth...</p> <p>Starting with your first question, you probably need to look at using a filter to change how your theme displays the post meta. You add filters into your childtheme's functions.php (or if you want to keep it neat, create a separate 'my-filters.php' file that you can then pull into your childtheme's functions.php with an include).</p> <p>The process of filtering as far as I understand it, is to find the function(s) responsible for displaying what you want to change, then copy it into your functions file, then alter the code and apply a special action called "add_filter". Perhaps someone more knowledgable than I may refine this definition here.</p> <p>It can be a process of trial and error to find the code, but to give you a leg-up, the code you're looking for is in thematic/library/extensions/content-extensions.php around line 687. Find the bit that deals with author meta data, and copy/paste it into your functions file.</p> <p>Then alter the code and add the 'add_filter' action at the end.</p> <p>So... I'll give this a try, but can't guarantee it'll work as I'm still getting to grips with this myself. Hopefully someone clever will come and correct me.</p> <pre><code>function saaqi_thematic_postmeta_authorlink() { global $authordata; $authorlink = &#39;&lt;span class=&quot;meta-prep meta-prep-author&quot;&gt;&#39; . __(&#39;&lt;img src=&quot;REPLACE THIS WITH THE PATH TO YOUR ICON&quot; alt=&quot;An author icon&quot;&gt; &#39;, &#39;thematic&#39;) . &#39;&lt;/span&gt;&#39;; $authorlink .= &#39;&lt;span class=&quot;author vcard&quot;&gt;&#39;. &#39;&lt;a class=&quot;url fn n&quot; href=&quot;&#39;; $authorlink .= get_author_posts_url($authordata-&gt;ID, $authordata-&gt;user_nicename); $authorlink .= &#39;&quot; title=&quot;&#39; . __(&#39;View all posts by &#39;, &#39;thematic&#39;) . get_the_author_meta( &#39;display_name&#39; ) . &#39;&quot;&gt;&#39;; $authorlink .= get_the_author_meta( &#39;display_name&#39; ); $authorlink .= &#39;&lt;/a&gt;&lt;/span&gt;&#39;; } add_filter (&#39;thematic_postheader_authorlink&#39;, &#39;saaqi_thematic_postmeta_authorlink&#39;);</code></pre> <p>The second question you have about widgets is pretty well documented, but you could try starting here: <a href="http://forums.themeshaper.com/topic/how-to-add-widget-areas" rel="nofollow">http://forums.themeshaper.com/topic/how-to-add-widget-areas</a> </p> saaqi on "Need Help with Thematic Child Theme Please!" http://forums.themeshaper.com/topic/need-help-with-thematic-child-theme-please#post-26542 Sun, 22 Apr 2012 16:10:14 +0000 saaqi 26542@http://forums.themeshaper.com/ <p>Hello Every one, This is my first post on the forum. I am developing a child theme for thematic. Every thing has gone pretty well for me but I am stuck on a couple of things that I can't understand.</p> <p>First one is I want to replace the meta text by which I mean "By (Author)" and "Published: (Date)" and in the bottom of the content "Posted in" "Comments" and "Tagged" with images icons. Can I do it and how.</p> <p>And the second problem is I want to add two new widgets 1 on just the start of the content. By which I mean after the title and meta information and just before the actual post starts. Which means I want to add a widget just before .entry-content according to this structure.<br /> <a href="http://bluemandala.com/thematic/thematic-structure.html" rel="nofollow">http://bluemandala.com/thematic/thematic-structure.html</a></p> <p>Second widget I want is to add just after the .entry-content.</p> <p>And I want to add these widgets only on the single page.</p> <p>Please if any one can help I'll be very grateful. Thank you </p> helgatheviking on "Widget padding question" http://forums.themeshaper.com/topic/widget-padding-question#post-26216 Fri, 06 Apr 2012 21:32:43 +0000 helgatheviking 26216@http://forums.themeshaper.com/ <p>live link for sure. i'm sure there is a better way to get that background thing going w/ putting the image into a text widget. for what it's worth. </p> bogh on "Widget padding question" http://forums.themeshaper.com/topic/widget-padding-question#post-26214 Fri, 06 Apr 2012 18:26:05 +0000 bogh 26214@http://forums.themeshaper.com/ <p>I think I can help you with this but I have to see the website live. </p> teamphysx on "Widget padding question" http://forums.themeshaper.com/topic/widget-padding-question#post-26213 Fri, 06 Apr 2012 17:40:20 +0000 teamphysx 26213@http://forums.themeshaper.com/ <p>Im new to this so im sure this is a dumb question, but i can't figure it out.</p> <p>I have a text widget in the "index top" , i put some HTML in there, an image and there appears to be 18 px of padding between the image and the first post in the loop.</p> <p>how do i make that go away, ive looked through the style sheets and i can't find it.</p> <p>heres a pic of what i mean </p> <p><a href="http://i41.tinypic.com/2zs9r1k.jpg" rel="nofollow">http://i41.tinypic.com/2zs9r1k.jpg</a> </p> sylvainww on "Set newly created widget as a standard widget in Primary Aside" http://forums.themeshaper.com/topic/set-newly-created-widget-as-a-standard-widget-in-primary-aside#post-26176 Thu, 05 Apr 2012 19:51:35 +0000 sylvainww 26176@http://forums.themeshaper.com/ <p>Thanks for helping me out !</p> <p>So you mean that when you activated the them, the custom widget areas were not filled with the usual thematic widgets (like meta, links, search, etc.) ? Because it keeps happening to me and although it's kinda getting me crazy ! </p> helgatheviking on "Set newly created widget as a standard widget in Primary Aside" http://forums.themeshaper.com/topic/set-newly-created-widget-as-a-standard-widget-in-primary-aside#post-26127 Mon, 02 Apr 2012 14:44:28 +0000 helgatheviking 26127@http://forums.themeshaper.com/ <p>i just activated your theme locally. the active widgets are definitely NOT the thematic defaults, so your attempt to set default widgets appears to be working just fine. </p> sylvainww on "Set newly created widget as a standard widget in Primary Aside" http://forums.themeshaper.com/topic/set-newly-created-widget-as-a-standard-widget-in-primary-aside#post-26126 Mon, 02 Apr 2012 11:55:42 +0000 sylvainww 26126@http://forums.themeshaper.com/ <p>Hi, Thanks for the answer. The problem that still remains for me is that for any new installation of my theme (available here : <a href="http://www.apptamin.com/websites-mobile-apps/apptamin-a-more/" rel="nofollow">http://www.apptamin.com/websites-mobile-apps/apptamin-a-more/</a>) the widgets in the widget-areas are not the ones I want, but the default (thematic ?) ones : search, meta, etc. </p> helgatheviking on "Set newly created widget as a standard widget in Primary Aside" http://forums.themeshaper.com/topic/set-newly-created-widget-as-a-standard-widget-in-primary-aside#post-26084 Tue, 27 Mar 2012 18:32:07 +0000 helgatheviking 26084@http://forums.themeshaper.com/ <p>i'm confused, b/c middlesister's code solved the problem for me. what isn't it doing for you?</p> <p>the isset( $_GET['activated'] ) is there to only run the code on theme activation. if you remove it, it will run every time and as you have discovered, any changes to your widget set up will be lost. </p> sylvainww on "Set newly created widget as a standard widget in Primary Aside" http://forums.themeshaper.com/topic/set-newly-created-widget-as-a-standard-widget-in-primary-aside#post-26083 Tue, 27 Mar 2012 14:36:30 +0000 sylvainww 26083@http://forums.themeshaper.com/ <p>Hi again,</p> <p>Any ideas on how I can solve this problem ? Thanks ! </p> helgatheviking on "Change order of widgets in settings, Change description of Thematic Widgets" http://forums.themeshaper.com/topic/change-order-of-widgets-in-settings-change-description-of-thematic-widgets#post-26048 Wed, 21 Mar 2012 21:48:54 +0000 helgatheviking 26048@http://forums.themeshaper.com/ <p>filter thematic_widgetized_areas instead. you can see the full array in library/extensions/widget-extensions.php</p> <p>put this in your child's functions.php</p> <pre><code>function kia_change_widgets($widgets){ $widgets[&#39;Primary Aside&#39;][&#39;args&#39;][&#39;description&#39;] = &quot;This widget loves bacon&quot;; return $widgets; } add_filter(&#39;thematic_widgetized_areas&#39;,&#39;kia_change_widgets&#39;);</code></pre> <p>the second part... not so sure of. you can make it so that the other users aren't admins </p> hlynnt on "Change order of widgets in settings, Change description of Thematic Widgets" http://forums.themeshaper.com/topic/change-order-of-widgets-in-settings-change-description-of-thematic-widgets#post-26046 Wed, 21 Mar 2012 18:59:27 +0000 hlynnt 26046@http://forums.themeshaper.com/ <p>I also want to make it so that the end user can't delete the Thematic theme from the themes folder... </p> hlynnt on "Change order of widgets in settings, Change description of Thematic Widgets" http://forums.themeshaper.com/topic/change-order-of-widgets-in-settings-change-description-of-thematic-widgets#post-26045 Wed, 21 Mar 2012 18:41:47 +0000 hlynnt 26045@http://forums.themeshaper.com/ <p>I want to make the child theme user friendly so...</p> <p>I have created a couple custom widgets and I want them to display in the widgets settings area above the Thematic widgets, in the order that they apear on the page. I would also like to customize the widget description of a couple Thematic widgets. </p> <p>"The primary widget area, most often used as a sidebar." and change to something a bit more relavent to how the widget is actually being used. </p> <p>this is my starting point...<br /> <code>childtheme_override_init_presetwidgets()</code></p> <p>any suggestions? If there is a post out there somewhere on how to do this point the way! </p> <p>Otherwise, I'll figure out how to do it and post the solution.</p> <p>Thanks! </p> sylvainww on "Set newly created widget as a standard widget in Primary Aside" http://forums.themeshaper.com/topic/set-newly-created-widget-as-a-standard-widget-in-primary-aside#post-26044 Wed, 21 Mar 2012 13:55:31 +0000 sylvainww 26044@http://forums.themeshaper.com/ <p>Hi !</p> <p>After several hours of struggle I managed to make middlesister's code work. With one exception, which gave trouble in the first place : to make it work I have to remove the <code>if ( isset( $_GET['activated'] ) ) {&lt;/code in the widget-extensions.php of the thematic framework :</p> <p></code><code><br /> if ( isset( $_GET['activated'] ) ) {<br /> thematic_presetwidgets();<br /> update_option( 'sidebars_widgets', apply_filters('thematic_preset_widgets',$preset_widgets ));<br /> }<br /> </code></p> <p>Only then my own preset widgets appear (and not the default one) when I install my theme from scratch Of course I realize that's not the right solution since now nothing I put in my widgets is saved. But do you have any idea where that could come from ?</p> <p>Thanks ! And sorry if my question seems stupid </p> webmakerholly on "Thematic Structure Diagram - widget areas included" http://forums.themeshaper.com/topic/thematic-structure-diagram-widget-areas-included/page/2#post-25794 Thu, 08 Mar 2012 20:32:29 +0000 webmakerholly 25794@http://forums.themeshaper.com/ <p>Thanks! I wish I saw this post a year ago when i started using Thematic. It would have spared me a LOT of frustration. </p>