<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Tag: bloginfo</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 17:38:13 +0000</pubDate>

<item>
<title>ahoereth on "bloginfo('template_directory') returns the thematic-directory"</title>
<link>http://themeshaper.com/forums/topic/bloginfotemplate_directory-returns-the-thematic-directory#post-12211</link>
<pubDate>Fri, 07 May 2010 12:38:45 +0000</pubDate>
<dc:creator>ahoereth</dc:creator>
<guid isPermaLink="false">12211@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Works fine. Thanks :)
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "bloginfo('template_directory') returns the thematic-directory"</title>
<link>http://themeshaper.com/forums/topic/bloginfotemplate_directory-returns-the-thematic-directory#post-12192</link>
<pubDate>Thu, 06 May 2010 21:58:01 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">12192@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Try &#60;code&#62;bloginfo(&#38;#39;stylesheet_directory&#38;#39;)&#60;/code&#62; to lead you to the active child theme.&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>ahoereth on "bloginfo('template_directory') returns the thematic-directory"</title>
<link>http://themeshaper.com/forums/topic/bloginfotemplate_directory-returns-the-thematic-directory#post-12189</link>
<pubDate>Thu, 06 May 2010 20:54:56 +0000</pubDate>
<dc:creator>ahoereth</dc:creator>
<guid isPermaLink="false">12189@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#60;code&#62;function test_blogtitle() { ?&#38;gt;&#60;br /&#62;
	&#38;lt;div id=&#34;blog-title&#34;&#38;gt;&#60;a&#62;/&#34; title=&#34;&#38;lt;?php bloginfo('name') ?&#38;gt;&#34; rel=&#34;home&#34;&#38;gt;&#38;lt;img src=&#34;&#38;lt;?php bloginfo('template_directory'); ?&#38;gt;/img/test_1.jpg&#34; alt=&#34;&#38;lt;?php bloginfo('name') ?&#38;gt;&#34; title=&#34;&#38;lt;?php bloginfo('name') ?&#38;gt;&#34; /&#38;gt;&#60;/a&#62;&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
function remove_title_desc() {&#60;br /&#62;
remove_action('thematic_header','thematic_blogtitle',3);&#60;br /&#62;
remove_action('thematic_header','thematic_blogdescription',5);&#60;br /&#62;
}&#60;br /&#62;
add_action('init', 'remove_title_desc');&#60;br /&#62;
add_action('thematic_header','test_blogtitle',3);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;It works just fine in general. It just puts the wrong template_directory in the link. How to make it link to my child template?&#60;/p&#62;
&#60;p&#62;Thanks already!
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Thematic Blogtitle"</title>
<link>http://themeshaper.com/forums/topic/thematic-blogtitle#post-3290</link>
<pubDate>Fri, 17 Apr 2009 14:24:07 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">3290@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Problem fixed in current SVN version.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>kirkegaard on "Thematic Blogtitle"</title>
<link>http://themeshaper.com/forums/topic/thematic-blogtitle#post-3287</link>
<pubDate>Fri, 17 Apr 2009 12:43:13 +0000</pubDate>
<dc:creator>kirkegaard</dc:creator>
<guid isPermaLink="false">3287@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The Thematic Blogtitle (in hooks-filter.php) uses the get_option template tag:&#60;/p&#62;
&#60;p&#62;     &#60;code&#62;&#38;lt;div id=&#38;quot;blog-title&#38;quot;&#38;gt;&#38;lt;span&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php echo get_option(&#38;#39;home&#38;#39;) ?&#38;gt;/&#38;quot;&#60;/code&#62;...&#60;/p&#62;
&#60;p&#62;This resets the language selection in multilingual blogs.&#60;/p&#62;
&#60;p&#62;Using the bloginfo tag instead solves this problem:&#60;/p&#62;
&#60;p&#62;     &#60;code&#62;&#38;lt;div id=&#38;quot;blog-title&#38;quot;&#38;gt;&#38;lt;span&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php echo get_option(&#38;#39;home&#38;#39;) ?&#38;gt;/&#38;quot;&#60;/code&#62;...&#60;/p&#62;
&#60;p&#62;PS: Note that the trailing slash has also been removed.&#60;/p&#62;
&#60;p&#62;Maybe something to change in the next version?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
