<?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 Topic: Theme options - footer</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sat, 18 May 2013 08:01:31 +0000</pubDate>

<item>
<title>helgatheviking on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27215</link>
<pubDate>Tue, 29 May 2012 11:48:32 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">27215@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i disagree that textareas should support shortcodes by default.  imo, textareas shouldn't support anything by default... and leave the ability to add any type of filter to the saved option.&#60;/p&#62;
&#60;p&#62;you could &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;echo apply_filters(&#38;#39;the_content&#38;#39;, of_get_option(&#38;#39;footer_text&#38;#39;));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;which will recreate all the filters that are attached to the_content, such as wpautop (auto paragraphs) etc.  or for only the shortcode filter you could &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;echo apply_filters(&#38;#39;options_content&#38;#39;, of_get_option(&#38;#39;footer_text&#38;#39;));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and somewhere else in functions.php&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;options_content&#38;#39;,&#38;#39;do_shortcode&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>bogh on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27202</link>
<pubDate>Mon, 28 May 2012 19:29:30 +0000</pubDate>
<dc:creator>bogh</dc:creator>
<guid isPermaLink="false">27202@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Actually I am using the old OP v2.2. And I think here you are talking about the latest version. Now I am updating it for Thematic 1.0.&#60;/p&#62;
&#60;p&#62;My problem with shorcodes is that I have to add do_shortcode() on every option I want to use them, so I was thinking that would've been better if the textarea would support shortcodes by default. But maybe this one was already included in the latest version, I haven't tested.
&#60;/p&#62;</description>
</item>
<item>
<title>Jagst3r15 on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27199</link>
<pubDate>Mon, 28 May 2012 15:44:09 +0000</pubDate>
<dc:creator>Jagst3r15</dc:creator>
<guid isPermaLink="false">27199@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Most of them work in all areas already.
&#60;/p&#62;</description>
</item>
<item>
<title>bogh on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27190</link>
<pubDate>Mon, 28 May 2012 06:59:12 +0000</pubDate>
<dc:creator>bogh</dc:creator>
<guid isPermaLink="false">27190@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I was wondering if in the OP we can make the shortcodes to be supported in all textareas, not just in the one for the footer.&#60;br /&#62;
What do you think, how this can be done?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27185</link>
<pubDate>Mon, 28 May 2012 05:14:15 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">27185@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;we won't be. i'm pretty sure we did away with constants in the 1.0 release.  if you want the legacy classes i think you'll have to use add_theme_support.  someone should drum up a tutorial on that... maybe when it gets approved through theme review.  &#60;/p&#62;
&#60;p&#62;less sure about comment handling and comment form.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27184</link>
<pubDate>Mon, 28 May 2012 05:14:15 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">27184@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;we won't be. i'm pretty sure we did away with constants in the 1.0 release.  if you want the legacy classes i think you'll have to use add_theme_support.  someone should drum up a tutorial on that... maybe when it gets approved through theme review.  &#60;/p&#62;
&#60;p&#62;less sure about comment handling and comment form.
&#60;/p&#62;</description>
</item>
<item>
<title>Jagst3r15 on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27181</link>
<pubDate>Mon, 28 May 2012 04:00:01 +0000</pubDate>
<dc:creator>Jagst3r15</dc:creator>
<guid isPermaLink="false">27181@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;thanks a bunch, although that was dumb on my part for not looking at the parentheses! *smacks forehead*&#60;/p&#62;
&#60;p&#62;BTW: Do we even need these anymore? &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;THEMATIC_COMPATIBLE_BODY_CLASS&#38;#39;, true);
define(&#38;#39;THEMATIC_COMPATIBLE_POST_CLASS&#38;#39;, true);
define(&#38;#39;THEMATIC_COMPATIBLE_COMMENT_HANDLING&#38;#39;, true);
define(&#38;#39;THEMATIC_COMPATIBLE_COMMENT_FORM&#38;#39;, true);
define(&#38;#39;THEMATIC_COMPATIBLE_FEEDLINKS&#38;#39;, true);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>helgatheviking on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27180</link>
<pubDate>Mon, 28 May 2012 03:43:02 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">27180@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;unpexpected whatevers are just syntax errors... it just means i have a typo or forgot something that should come before the ;&#60;/p&#62;
&#60;p&#62;looks like there are 4 opening parens ( and only 3 ) closing parens.  &#60;/p&#62;
&#60;p&#62;still no guarantee b/c i haven't tested it&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_siteinfo(){
  echo do_shortcode(_(stripslashes(of_get_option(&#38;#39;footer_text&#38;#39;))));
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Jagst3r15 on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27178</link>
<pubDate>Mon, 28 May 2012 00:12:56 +0000</pubDate>
<dc:creator>Jagst3r15</dc:creator>
<guid isPermaLink="false">27178@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks gene I never knew that ;). This&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_siteinfo(){
  echo do_shortcode(_(stripslashes(of_get_option(&#38;#39;footer_text&#38;#39;)));
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;did not work. It says I am getting a syntax error with an unexpected &#34;;&#34; . Sorry for asking so many questions - I know you help for free and that I am a total php noob :).
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27177</link>
<pubDate>Sun, 27 May 2012 23:14:04 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">27177@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Note that init is not the best action hook for removing the theme options. By hooking into init you're  trying to remove the action on every page load on the front end as well. Since you only need to remove the action on the admin pages admin_menu is the best hook to use.&#60;/p&#62;
&#60;p&#62;Try this in the future:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_remove_theme_options(){
	remove_action( &#38;#39;admin_menu&#38;#39;, &#38;#39;thematic_opt_add_page&#38;#39; );
}

add_action(&#38;#39;admin_menu&#38;#39;,&#38;#39;childtheme_remove_theme_options&#38;#39;, 9);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;A priority of less than 10 is needed to make it queue properly.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27174</link>
<pubDate>Sun, 27 May 2012 21:01:27 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">27174@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;well copying from footer-extensions.php, try adding:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_siteinfo(){
  echo do_shortcode(_(stripslashes(of_get_option(&#38;#39;footer_text&#38;#39;)));
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Jagst3r15 on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27171</link>
<pubDate>Sun, 27 May 2012 20:44:02 +0000</pubDate>
<dc:creator>Jagst3r15</dc:creator>
<guid isPermaLink="false">27171@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;thanks, worked like a charm.&#60;/p&#62;
&#60;p&#62;Edit: the only problem is the shortcodes don't work this way
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27166</link>
<pubDate>Sun, 27 May 2012 18:58:10 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">27166@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;are you sure that your of_get_option is returning anything?  &#60;/p&#62;
&#60;p&#62;you could also try :&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_siteinfo(){
  echo of_get_option(&#38;#39;footer_text&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Jagst3r15 on "Theme options - footer"</title>
<link>http://themeshaper.com/forums/topic/theme-options-footer#post-27155</link>
<pubDate>Sat, 26 May 2012 14:53:15 +0000</pubDate>
<dc:creator>Jagst3r15</dc:creator>
<guid isPermaLink="false">27155@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This is for Kathy probably - I am updating Devin's thematic options (he updated them to work with the plugin now if you didn't know), but I am getting them ready for thematic 1.0. You already helped me with removing the panel with this&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_remove_theme_options(){
	remove_action( &#38;#39;admin_menu&#38;#39;, &#38;#39;thematic_opt_add_page&#38;#39; );
}
add_action(&#38;#39;init&#38;#39;,&#38;#39;childtheme_remove_theme_options&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but now I am trying to get the footer to work. I have tried for a couple hours looking at the theme-options in thematic 1.0 but cannot figure out how to get the footer option to work properly (yes that is sad lol). Here is the code for reference: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function thematicoptions_footer($thm_footertext) {
	$footertext = of_get_option(&#38;#39;footer_text&#38;#39;);
    return $footertext;
}

add_filter(&#38;#39;thematic_footertext&#38;#39;, &#38;#39;thematicoptions_footer&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I tried really hard to figure this out, but alas php has got me again - any idea what to change?&#60;/p&#62;
&#60;p&#62;BTW: I'm going to send devin a pull request on these options and will tell him you helped me update them. We should add a link on thematictheme.com to the options too - they are a good starting point for people :)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
