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: title Help In Shaping WordPress Themes en Thu, 28 May 2015 14:01:38 +0000 helgatheviking on "getting blog tagline to show up in browser window" Tue, 10 Jan 2012 23:05:26 +0000 helgatheviking 24799@ <p>tested locally this should add the site title to the beginning of the doctitle everywhere except for the home/front pages where it already is:</p> <pre><code>function childtheme_doctitle($elements) { $site_name = get_bloginfo(&#39;name&#39;); $separator = apply_filters(&#39;thematic_doctitle_separator&#39;, &#39;|&#39;); // and now adding the site name if we&#39;re not on home or front_page if (!( is_home() || is_front_page() )) { array_unshift($elements, $site_name, $separator); } return $elements; } add_filter(&#39;thematic_doctitle&#39;, &#39;childtheme_doctitle&#39;);</code></pre> drewdavid on "getting blog tagline to show up in browser window" Tue, 10 Jan 2012 22:00:11 +0000 drewdavid 24796@ <p>I also found this post which has some different code at: <a href="" rel="nofollow"></a></p> <p>For the most part it seems to work just fine, except my home page has no separator. The blog title and the tagline run straight together...</p> <p>Either solution would be great to get working... Thanks. </p> drewdavid on "getting blog tagline to show up in browser window" Tue, 10 Jan 2012 21:24:46 +0000 drewdavid 24793@ <p>Here are lines 19-22:</p> <pre><code>function childtheme_doctitle() {    // You don&#39;t want to change this one.  $site_name = get_bloginfo(&#39;name&#39;);</code></pre> <p>Thanks. :) </p> helgatheviking on "getting blog tagline to show up in browser window" Tue, 10 Jan 2012 01:31:44 +0000 helgatheviking 24776@ <p>well what is line 21 and just prior? though i see this double semi-colon right away</p> <pre><code>$content .= &#39; &#39; . single_cat_title(&quot;&quot;, false);;</code></pre> drewdavid on "getting blog tagline to show up in browser window" Mon, 09 Jan 2012 23:14:19 +0000 drewdavid 24773@ <p>Hi Helga,</p> <p>I can't seem to figure out where the offender is! Here is my functions.php code as shown on the theme filters page:</p> <pre><code>function childtheme_doctitle() { // You don&#39;t want to change this one. $site_name = get_bloginfo(&#39;name&#39;);   // But you like to have a different separator $separator = &#39;&amp;raquo;&#39;;   // We will keep the original code if ( is_single() ) { $content = single_post_title(&#39;&#39;, FALSE); } elseif ( is_home() || is_front_page() ) { $content = get_bloginfo(&#39;description&#39;); } elseif ( is_page() ) { $content = single_post_title(&#39;&#39;, FALSE); } elseif ( is_search() ) { $content = __(&#39;Search Results for:&#39;, &#39;thematic&#39;); $content .= &#39; &#39; . wp_specialchars(stripslashes(get_search_query()), true); } elseif ( is_category() ) { $content = __(&#39;Category Archives:&#39;, &#39;thematic&#39;); $content .= &#39; &#39; . single_cat_title(&quot;&quot;, false);; } elseif ( is_tag() ) { $content = __(&#39;Tag Archives:&#39;, &#39;thematic&#39;); $content .= &#39; &#39; . thematic_tag_query(); } elseif ( is_404() ) { $content = __(&#39;Not Found&#39;, &#39;thematic&#39;); } else { $content = get_bloginfo(&#39;description&#39;); } if (get_query_var(&#39;paged&#39;)) { $content .= &#39; &#39; .$separator. &#39; &#39;; $content .= &#39;Page&#39;; $content .= &#39; &#39;; $content .= get_query_var(&#39;paged&#39;); } // until we reach this point. You want to have the site_name everywhere? // Ok .. here it is. $my_elements = array( &#39;site_name&#39; =&gt; $site_name, &#39;separator&#39; =&gt; $separator, &#39;content&#39; =&gt; $content ); // and now we&#39;re reversing the array as long as we&#39;re not on home or front_page if (!( is_home() || is_front_page() )) { $my_elements = array_reverse($my_elements); } // And don&#39;t forget to return your new creation return $my_elements; } // Add the filter to the original function add_filter(&#39;thematic_doctitle&#39;, &#39;childtheme_doctitle&#39;);</code></pre> helgatheviking on "getting blog tagline to show up in browser window" Mon, 09 Jan 2012 20:09:27 +0000 helgatheviking 24769@ <p>syntax error means exactly that... error in your syntax. likely missing a ) , ; ' } or something some where. i can also mean you have some punctuation where you shouldn't but since it says unexpected string, you are probs not closing something right </p> drewdavid on "getting blog tagline to show up in browser window" Mon, 09 Jan 2012 19:27:16 +0000 drewdavid 24768@ <p>Hi so I found some information on this page:</p> <p><a href="" rel="nofollow"></a></p> <p>Under the heading 'thematic_doctitle()'</p> <p>However by using that code I got the following error.</p> <p>Parse error: syntax error, unexpected T_STRING in /home/content/x/r/o/xroox/html/24hrknight/wp-content/themes/tuxedo/functions.php on line 21</p> <p>Thanks. :) </p> drewdavid on "getting blog tagline to show up in browser window" Mon, 09 Jan 2012 19:20:52 +0000 drewdavid 24767@ <p>Hi,</p> <p>I'd like the blog tagline/description to be placed in the title before or after the blog title, as well as individual post/page titles.</p> <p>Right now I only get the blog title on the home page, and only the page/post title.</p> <p>Thanks! :)</p> <p>Drew </p> helgatheviking on "Question about "the loop"" Sun, 27 Nov 2011 21:26:27 +0000 helgatheviking 23954@ <p>if you look at the index.php you'll see that "the loop" is being created by the thematic_indexloop() function/hook. then if you go digging around in the extensions folder (the meat and potatoes) you'll find this function in content-extensions.php. turns out it is a hook, since it is defined as</p> <pre><code>function thematic_indexloop() { do_action(&#39;thematic_indexloop&#39;); } // end thematic_indexloop</code></pre> <p>later on in the same file you'll see that thematic_index_loop() is added to this hook and it is, in fact, this function that creates the loop. </p> <p>keep in mind that you don't want to go hacking around in this file, but it sure helps to see what you should be doing in your own functions.php to make changes. </p> <p>for instance you could either copy the entire thematic_index_loop() function into your child theme and rename it childtheme_override_index_loop(). or you could take note of the thematic_abovepost() and thematic_belowpost() hooks that are in the loop and see if adding something to those might be enough. </p> <p>if you need help understanding how to add something take a look at this post i wrote:<br /> <a href="" rel="nofollow"></a> </p> drewdavid on "Question about "the loop"" Sun, 27 Nov 2011 19:57:01 +0000 drewdavid 23951@ <p>Hi there. I'd like to create an effect where the post title and meta has a background that comes from the left edge of the page and surrounds it, but I'm a novice with this sort of thing.</p> <p>I'd like to add a div around the post title and meta to accomplish this, but I'm unclear where this is found. It seems that "the loop" is being called, does this get created in archives.php?</p> <p>Thanks I would love to hear some helpful advice on achieving this effect. My other stumbling block is that the title and meta divs are inside the content div, but this background would (again) travel all the way to the edge of the page.</p> <p>I hope this makes sense. You can see how I'm doing so far at <a href="" rel="nofollow"></a></p> <p>Thanks! </p> simonafilote on "anyfont plugin" Fri, 11 Nov 2011 15:13:38 +0000 simonafilote 23785@ <p>I've just installed AnyFont plugin on my Thematic child theme, but when trying to use a new font for the blog title I get the " rel="home"&gt; text displayed along with the title.</p> <p>What should I do to prevent the bit of code from showing in the title?</p> <p>My blog:<br /> <a href="" rel="nofollow"></a></p> <p>Anyfont plugin:<br /> <a href="" rel="nofollow"></a> </p> Duke on "How do I add meta title and description tags to this theme ?" Tue, 04 Oct 2011 19:32:17 +0000 Duke 23342@ <p>This is an old post but I will write a short response for any future readers who might encounter the same problem.</p> <p>To setup keyword and description meta in the Thematic template, simply add the following code into your child theme functions.php. And don't forget to insert your keywords! ;)</p> <p>function child_meta_keywords($description) {<br /> if(is_front_page())<br /> {<br /> $keywords_meta = "\t" . '&lt;meta name="keywords" content="Your keywords go here!" /&gt;' . "\n\n";<br /> $description_meta = "\t" . '&lt;meta name="description" content="Your description goes here!" /&gt;' . "\n\n";<br /> $child_meta = $description . $keywords_meta . $description_meta;<br /> return $child_meta;<br /> }<br /> return $description;<br /> }<br /> add_filter ('thematic_create_description','child_meta_keywords'); </p> helgatheviking on "Adding Title to whole Loop, as distinct from individual posts" Wed, 06 Apr 2011 07:19:41 +0000 helgatheviking 20344@ <p>separate the IF and WHILE and insert your title between them:</p> <pre><code>// Add Latest News loop underneath the featured posts function LFS_Latest_News() { get_posts(&quot;posts_per_page=3&#38;cat=31&quot;); if (have_posts()) : echo &quot;&lt;h2&gt;Build a Bacon Fortress to Keep the Haters Away&lt;/h2&gt;&quot;; while (have_posts()) : the_post(); ?&gt; &lt;div id=&quot;post-&lt;?php the_ID() ?&gt;&quot; class=&quot;&lt;php thematic_post_class() ?&gt;&quot;&gt; &lt;h3&gt;Latest News&lt;/h3&gt; &lt;?php thematic_postheader(); if (has_post_thumbnail()) { the_post_thumbnail(&#39;latest-news-image&#39;); }?&gt;&lt;/div&gt; &lt;div class=&quot;entry-content&quot;&gt; &lt;?php the_excerpt(); ?&gt; &quot; class=&quot;more&quot;&gt;&lt;?php echo more_text() ?&gt; &lt;/div&gt;&lt;!; &lt;?php endwhile; else: ?&gt; &lt;h2&gt;Oh dear!&lt;/h2&gt; &lt;p&gt; Nothing&#39;s happening here right now, call again later.&lt;/p&gt; &lt;?php endif; wp_reset_query(); }</code></pre> RichardB on "Adding Title to whole Loop, as distinct from individual posts" Tue, 05 Apr 2011 16:10:53 +0000 RichardB 20306@ <p>Hi everyone. </p> <p>I've got a couple of loops working on my test site home page (, and would like the second one to have a title: 'Latest News', as Ian has for the 'recent items from the blog' bit of this: <a href="" rel="nofollow"></a> I'd also like to style these posts separately to the featured posts above. Is there a way of doing these things? Thank you. </p> <p>For reference, here's the code for the loops in my child theme functions.php:</p> <p>// Add featured posts to the frontpage underneath the featured content slideshow<br /> function LFS_indexloop() {<br /> get_posts("showposts=3&#38;cat=349");<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<br /> if (has_post_thumbnail()) {<br /> the_post_thumbnail('homepage-featured-image');<br /> } thematic_postheader();?&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>// Add Latest News loop underneath the featured posts<br /> function LFS_Latest_News() {<br /> get_posts("posts_per_page=3&#38;cat=31");<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;h3&gt;Latest News&lt;/h3&gt;<br /> &lt;?php thematic_postheader();<br /> if (has_post_thumbnail()) {<br /> the_post_thumbnail('latest-news-image');<br /> }?&gt;&lt;/div&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;/div&gt;&lt;!;<br /> &lt;?php endwhile; else: ?&gt;<br /> &lt;h2&gt;Oh dear!&lt;/h2&gt;<br /> &lt;p&gt; Nothing's happening here right now, call again later.&lt;/p&gt;<br /> &lt;?php endif;<br /> wp_reset_query();<br /> } </p> helgatheviking on "How to change my blog title?" Thu, 03 Mar 2011 12:08:53 +0000 helgatheviking 19482@ <p>some functions didn't have the add_action outside of the override.. but that has been mostly fixed in the updates. </p> jevets on "How to change my blog title?" Thu, 03 Mar 2011 01:55:52 +0000 jevets 19476@ <p>It DOES work with thematic, however. </p> jevets on "How to change my blog title?" Thu, 03 Mar 2011 01:41:02 +0000 jevets 19475@ <p>I'm just starting to use thematic. I'm very comfortable with WP, hooks, themes, etc. </p> <p>When placing an override in my child theme's functions.php file, the output is not generated. </p> <p>For example, this code doesn't do anything:<br /> <pre><code>function childtheme_override_blogdescription() { echo &quot;this blog WILL be described by bacon and i dont care if you like it&quot;; }</code></pre> <p>But this does:<br /> <pre><code>function childtheme_override_access() { echo &quot;this blog WILL be described by bacon and i dont care if you like it&quot;; }</code></pre> <p>Am I missing something?</p> <p>EDIT: Thematic | WP 3.1 </p> helgatheviking on "How to change my blog title?" Wed, 02 Mar 2011 22:51:48 +0000 helgatheviking 19472@ <p>you can do this w/ overrides now:</p> <pre><code>function childtheme_override_blogtitle() { ?&gt; &lt;div id=&quot;blog-title&quot;&gt;&lt;span&gt;This is your blog title&lt;/span&gt;&lt;/div&gt; &lt;?php }</code></pre> <p>you can override the blog description in the same manner. the trick is to look in the extensions folder of thematic to see WHAT function is generating the content to you know what to override (if an override exists for that function)</p> <p>for example:</p> <pre><code>childtheme_override_blogdescription(){ echo &quot;this blog WILL be described by bacon and i dont care if you like it&quot;; }</code></pre> johnflower on "How to change my blog title?" Wed, 02 Mar 2011 19:15:21 +0000 johnflower 19462@ <p>I agree with julianntrott. Wordpress handles document structure horribly. Thanks for this fix. Works a treat. Now, would it be possible to change the tagline to something else? I now have my website title in h1, as well as the tagline.<br /> Is there some sort of reference table somewhere?</p> <p>Thanks! </p> steve.c on "Customizing the site title" Sat, 19 Feb 2011 22:28:56 +0000 steve.c 19289@ <p>This explains everything. Just installed thematic through WP and started trying to create a child theme and I was tearing my eyes out trying to figure out why the simple changes to my functions.php file werent working. </p> cmurockstar on "Customizing the site title" Mon, 17 Jan 2011 18:10:10 +0000 cmurockstar 18427@ <p>The add_action('thematic_header','thematic_brandingopen',1); and others are still within the if statements in the public build. </p> chromaloop on "Editing the 'Widget Title' script" Tue, 21 Dec 2010 13:56:25 +0000 chromaloop 17871@ <p>Hello,</p> <p>I have a similar question about adding classes to the widget title. What I am looking to do is add the widget title as a class name.</p> <p>Something like the following where Foobar is the widget title and added dynamically as the title class:</p> <p><code><br /> &lt;li class="widgetcontainer widget_text" id="text-5"&gt;&lt;h3 class="widgettitle Foobar"&gt;Foobar&lt;/h3&gt;<br /> &lt;div class="textwidget"&gt;Widget content goes in here...&lt;/div&gt;</p> <p></code></p> <p>I was looking at the following, but wasn't quite sure where the "%2$s" came from in the code:</p> <p><code><br /> // CSS markup before the widget<br /> function thematic_before_widget() {<br /> $content = '&lt;li id="%1$s" class="widgetcontainer %2$s"&gt;';<br /> return apply_filters('thematic_before_widget', $content);<br /> }<br /> </code></p> <p>Any thoughts would be appreciated! </p> Jonny Janiero on "Permalink my thumbnails & Title" Sun, 05 Dec 2010 04:49:45 +0000 Jonny Janiero 17516@ <pre><code>function search_google_and_be_nice() { ?&gt; &lt;blockquote&gt; I AGREE WITH HELGA &lt;/blockquote&gt; &lt;?php { add_action(&#39;google&#39;,&#39;search_google_and_be_nice&#39;);</code></pre> helgatheviking on "Permalink my thumbnails & Title" Sat, 04 Dec 2010 17:04:36 +0000 helgatheviking 17503@ <p>WOW. php does stay php.... but that is not the type of comment that engenders generosity in those you are hoping who will answer your question FOR FREE out fo the goodness of their hearts. wordpress stays wordpress, too and there is even a HUGE codex full of answers plus a wordpress forum that gene gracefully posted a link too. </p> <p>as gene said this is a forum for support of the 'Thematic Theme' which is run and frequented by volunteers. they're super nice w/ their help, but they can't and shouldn't support everything under the sun b/c you couldn't be bothered to use google to find a more appropriate forum to ask in. </p> <p>/end rant </p> peterpan on "Permalink my thumbnails & Title" Sat, 04 Dec 2010 16:17:34 +0000 peterpan 17501@ <p>Php stays php </p> em hr on "Permalink my thumbnails & Title" Sat, 04 Dec 2010 03:19:53 +0000 em hr 17477@ <p>Hi peterpan,</p> <p>This forum is for Themeshaper Themes and you have posted in the Thematic Theme section of it. Shaken Grid is not a theme supported here. You can find more help <a href="" rel="nofollow"></a> or try the theme or theme author's website.</p> <p>-Gene </p> peterpan on "Permalink my thumbnails & Title" Fri, 03 Dec 2010 23:19:16 +0000 peterpan 17467@ <p>^ </p> peterpan on "Permalink my thumbnails & Title" Thu, 02 Dec 2010 19:15:54 +0000 peterpan 17436@ <p>I need help getting my thumbnails, and also the post title, link to the permalink. The title are now unclickable, and the thumbnails are set to enlarge itself in a lightbox.</p> <p>I make use of the Shaken Grid theme.<br /> Which is found here <a href="" rel="nofollow"></a></p> <p>Can someone help me out on this one?<br /> To clear out;<br /> Im having a blog, the main page shows several boxes of posts. The posts contains some text and a thumbnail above it. The thumbnail needs to link to the full post. And the title has to do the same.</p> <p>Hope you can help me,<br /> Thanks in advance,</p> <p>Peter </p> elderberry on "How to change the title of each page?" Fri, 12 Nov 2010 15:21:08 +0000 elderberry 16944@ <p>My pleasure-- Don't forget to mark this post "resolved". :-) </p> neonbible on "How to change the title of each page?" Fri, 12 Nov 2010 09:41:45 +0000 neonbible 16936@ <p>Cool thanks, works well.</p> <p>Also fixed my Simple Press forum problem where it won't display the topic title in the browser! </p>