<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
>
	<channel>
		<title>Theme Hybrid Support &#187; Topic: add date time in recent post function</title>
		<link>http://themehybrid.com/support/topic/add-date-time-in-recent-post-function</link>
		<description>WordPress theme club support forums</description>
		<language>en-US</language>
		<pubDate>Mon, 15 Mar 2010 15:16:13 +0000</pubDate>
		<generator>bbpress 1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://themehybrid.com/support/search.php</link>
		</textInput>
		<atom:link href="http://themehybrid.com/support/rss/topic/add-date-time-in-recent-post-function" rel="self" type="application/rss+xml" />

		<item>
			<title>8207h32 on "add date time in recent post function"</title>
			<link>http://themehybrid.com/support/topic/add-date-time-in-recent-post-function#post-23060</link>
			<pubDate>Thu, 25 Jun 2009 10:10:56 +0000</pubDate>
			<dc:creator>8207h32</dc:creator>
			<guid isPermaLink="false">23060@http://themehybrid.com/support/</guid>
			<description>&#60;p&#62;Thanks for your suggestion and explanation..&#60;br /&#62;
Ok I will start from make own widget..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Justin Tadlock on "add date time in recent post function"</title>
			<link>http://themehybrid.com/support/topic/add-date-time-in-recent-post-function#post-23018</link>
			<pubDate>Wed, 24 Jun 2009 19:26:22 +0000</pubDate>
			<dc:creator>Justin Tadlock</dc:creator>
			<guid isPermaLink="false">23018@http://themehybrid.com/support/</guid>
			<description>&#60;p&#62;I think the way you're going about this is wrong.  Instead of trying to hook code there, why not just create a widget?  I've written a tutorial on how to do this:&#60;br /&#62;
&#60;a href=&#34;http://justintadlock.com/archives/2009/05/26/the-complete-guide-to-creating-widgets-in-wordpress-28&#34; rel=&#34;nofollow&#34;&#62;http://justintadlock.com/archives/2009/05/26/the-complete-guide-to-creating-widgets-in-wordpress-28&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;As far as using &#60;code&#62;get_the_time()&#60;/code&#62; here, you can't.  You're using the &#60;code&#62;wp_get_archives()&#60;/code&#62; function, which doesn't allow that.  Otherwise, I'd just recommend you using the Archives widget.&#60;/p&#62;
&#60;p&#62;You'll need to create a loop with &#60;code&#62;get_posts()&#60;/code&#62; or &#60;code&#62;query_posts()&#60;/code&#62;:&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Template_Tags/get_posts&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Template_Tags/get_posts&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Template_Tags/query_posts&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Template_Tags/query_posts&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>8207h32 on "add date time in recent post function"</title>
			<link>http://themehybrid.com/support/topic/add-date-time-in-recent-post-function#post-22980</link>
			<pubDate>Wed, 24 Jun 2009 09:27:18 +0000</pubDate>
			<dc:creator>8207h32</dc:creator>
			<guid isPermaLink="false">22980@http://themehybrid.com/support/</guid>
			<description>&#60;p&#62;I am beginner in php.. so I have this trouble to customize code that what I want..&#60;/p&#62;
&#60;p&#62;I want to display recent post with date &#38;#38; time in after primary sidebar and display only in frontpage .. so I put this code below to function.php in child theme&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;hybrid_before_primary&#38;#39;, &#38;#39;myrecentposts&#38;#39;);

function myrecentposts() {
	if(!is_home() &#124;&#124; !is_front_page())
	$args = array(
		&#38;#39;type&#38;#39; =&#38;gt; &#38;#39;postbypost&#38;#39;,
		&#38;#39;limit&#38;#39; =&#38;gt; 5,
		&#38;#39;echo&#38;#39; =&#38;gt; false,
	);
	$args = apply_filters(&#38;#39;myrecentposts&#38;#39;, $args);
	$archives = &#38;#39;&#38;lt;div id=&#38;quot;recentlypost&#38;quot; class=&#38;quot;widget widget_recentlypost widget-widget_recentlypost&#38;quot;&#38;gt; &#38;lt;div class=&#38;quot;widget-inside&#38;quot;&#38;gt;&#38;lt;h3 class=&#38;quot;widget-title&#38;quot;&#38;gt;Berita Terbaru&#38;lt;/h3&#38;gt;&#38;lt;ul&#38;gt;&#38;#39;;
	$archives .= str_replace(array(&#38;quot;\r&#38;quot;, &#38;quot;\n&#38;quot;, &#38;quot;\t&#38;quot;), &#38;#39;&#38;#39;, wp_get_archives($args));
	$archives .= &#38;#39;&#38;lt;/ul&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;#39;;
	echo $archives;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that's code it just worked.. but my problem is .. where I should put the get_the_time function so widget will display date time before title &#38;#38; url permalink..&#60;/p&#62;
&#60;p&#62;Thanks for any help..
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
