<?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: childtheme_override_postfooter_postconnect()</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Fri, 24 May 2013 07:27:03 +0000</pubDate>

<item>
<title>umberto on "childtheme_override_postfooter_postconnect()"</title>
<link>http://themeshaper.com/forums/topic/childtheme_override_postfooter_postconnect-1#post-20711</link>
<pubDate>Tue, 19 Apr 2011 21:15:38 +0000</pubDate>
<dc:creator>umberto</dc:creator>
<guid isPermaLink="false">20711@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Yes, that works Helga. Great stuff. Thank you both for your help.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "childtheme_override_postfooter_postconnect()"</title>
<link>http://themeshaper.com/forums/topic/childtheme_override_postfooter_postconnect-1#post-20690</link>
<pubDate>Tue, 19 Apr 2011 11:03:57 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20690@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;good point kwight.  you have to return something or echo something, though i think returning is better here b/c the postfooter_postconnect is echoed out by a different function... thematic_postfooter &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_postfooter_postconnect() {// Display edit link on single posts
	    if (current_user_can(&#38;#39;edit_posts&#38;#39;)) {
	        $postconnect = &#38;#39; &#38;#39; . thematic_postfooter_posteditlink();
	    }
	    	    return $postconnect;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;should work?
&#60;/p&#62;</description>
</item>
<item>
<title>kwight on "childtheme_override_postfooter_postconnect()"</title>
<link>http://themeshaper.com/forums/topic/childtheme_override_postfooter_postconnect-1#post-20680</link>
<pubDate>Tue, 19 Apr 2011 03:21:13 +0000</pubDate>
<dc:creator>kwight</dc:creator>
<guid isPermaLink="false">20680@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I think the part you're missing in the first example is the &#34;return&#34;, to actually get your variable out of the function. I can't test it at the moment, but if all you want is the Edit link, this should work too:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_postfooter_postconnect() {
    if (current_user_can(&#38;#39;edit_posts&#38;#39;)) {
        thematic_postfooter_posteditlink();
    }
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>helgatheviking on "childtheme_override_postfooter_postconnect()"</title>
<link>http://themeshaper.com/forums/topic/childtheme_override_postfooter_postconnect-1#post-20678</link>
<pubDate>Tue, 19 Apr 2011 02:10:49 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20678@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;hmmm... could be one that got missed.  not sure if that is correct or not.
&#60;/p&#62;</description>
</item>
<item>
<title>umberto on "childtheme_override_postfooter_postconnect()"</title>
<link>http://themeshaper.com/forums/topic/childtheme_override_postfooter_postconnect-1#post-20677</link>
<pubDate>Tue, 19 Apr 2011 00:58:53 +0000</pubDate>
<dc:creator>umberto</dc:creator>
<guid isPermaLink="false">20677@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Helga - had tried that with no change. &#60;/p&#62;
&#60;p&#62;On a hunch I added the apply filters line and it actually worked (with or without the period) which was unexpected as I was under the impression that this wasn't necessary with an override:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_postfooter_postconnect() {// Display edit link on single posts
	    if (current_user_can(&#38;#39;edit_posts&#38;#39;)) {
	        $postconnect .= &#38;#39; &#38;#39; . thematic_postfooter_posteditlink();
	    }
	    	    return apply_filters(&#38;#39;thematic_postfooter_postconnect&#38;#39;,$postconnect);
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Is that standard procedure or is something amiss elsewhere?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "childtheme_override_postfooter_postconnect()"</title>
<link>http://themeshaper.com/forums/topic/childtheme_override_postfooter_postconnect-1#post-20674</link>
<pubDate>Mon, 18 Apr 2011 23:57:27 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20674@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;try removing the period just before the equal sign&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$postconnect = &#38;#39; &#38;#39; . thematic_postfooter_posteditlink();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;typically that means 'add this to the end' but you usually have to start w/ a simple =
&#60;/p&#62;</description>
</item>
<item>
<title>umberto on "childtheme_override_postfooter_postconnect()"</title>
<link>http://themeshaper.com/forums/topic/childtheme_override_postfooter_postconnect-1#post-20651</link>
<pubDate>Mon, 18 Apr 2011 08:23:39 +0000</pubDate>
<dc:creator>umberto</dc:creator>
<guid isPermaLink="false">20651@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi - I'm trying to get this override to work. Just wanting the edit link, but code below seems to remove everything including the link.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_postfooter_postconnect() {
	    if (current_user_can(&#38;#39;edit_posts&#38;#39;)) {
	        $postconnect .= &#38;#39; &#38;#39; . thematic_postfooter_posteditlink();
	    }
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Appreciate any tips
&#60;/p&#62;</description>
</item>

</channel>
</rss>
