<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mai.in.th &#187; Wordpress</title>
	<atom:link href="http://mai.in.th/category/php/wordpress-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://mai.in.th</link>
	<description></description>
	<lastBuildDate>Fri, 27 Jan 2012 23:18:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Timeline-WP 1.1 Release</title>
		<link>http://mai.in.th/2011/10/04/timeline-wp-1-1-release/</link>
		<comments>http://mai.in.th/2011/10/04/timeline-wp-1-1-release/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 22:30:45 +0000</pubDate>
		<dc:creator>IaMMaI</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[timeline-wp]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mai.in.th/?p=4109</guid>
		<description><![CDATA[Release Archive fix bug about logo image fix bug about timeline scrubber added switch comment FB or native WP added ID Fan Box in theme options added ID Track Google Analytics in theme options added info box about timeline news &#8230; <a href="http://mai.in.th/2011/10/04/timeline-wp-1-1-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://mai.in.th/wp/wp-content/uploads/2011/10/timeline-wp-1.1.jpg" rel="lightbox[4109]" title="timeline-wp-1.1"><img class="aligncenter size-medium wp-image-4110" title="timeline-wp-1.1" src="http://mai.in.th/wp/wp-content/uploads/2011/10/timeline-wp-1.1-430x123.jpg" alt="" width="430" height="123" /></a><strong>Release Archive</strong></p>
<ul>
<li>fix bug about logo image</li>
<li>fix bug about timeline scrubber</li>
<li>added switch comment FB or native WP</li>
<li>added ID Fan Box in theme options</li>
<li>added ID Track Google Analytics in theme options</li>
<li>added info box about timeline news release</li>
</ul>
<p>Download : <a href="http://www.timeline-wp.com/release-archive/" target="_blank">http://www.timeline-wp.com/release-archive/</a></p>
<footer class="entry-meta">คำค้น : <a href="http://mai.in.th/2011/10/04/timeline-wp-1-1-release/" title="TIMELINE WP">TIMELINE WP</a> (9) | <a href="http://mai.in.th/2011/10/04/timeline-wp-1-1-release/" title="wp timeline box-scroll-bar">wp timeline box-scroll-bar</a> (8) | <a href="http://mai.in.th/2011/10/04/timeline-wp-1-1-release/" title="theme timeline wp">theme timeline wp</a> (2) | <a href="http://mai.in.th/2011/10/04/timeline-wp-1-1-release/" title="timeline wp 1 1">timeline wp 1 1</a> (2) | <a href="http://mai.in.th/2011/10/04/timeline-wp-1-1-release/" title="download timeline wp theme mirrors">download timeline wp theme mirrors</a> (1) |</footer><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://mai.in.th/2011/10/04/timeline-wp-1-1-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix Timeline-WP 1.0 Theme</title>
		<link>http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/</link>
		<comments>http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/#comments</comments>
		<pubDate>Sat, 01 Oct 2011 13:03:40 +0000</pubDate>
		<dc:creator>IaMMaI</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[timeline-wp]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mai.in.th/?p=4063</guid>
		<description><![CDATA[Fix timeline-scroll-bar For Timeline-WP 1.0 WordPress Theme From http://www.timeline-wp.com Header.php Change Line 114 anchor_href = $("#"+id).attr('href'); // #mm_yyyy if($(anchor_href).length==false){ location.href='/date/'+anchor_href.substring(4)+'/'+anchor_href.substring(1,3) to anchor_href = $("#"+id).attr('href'); // #mm_yyyy if($(anchor_href).length==false){ location.href='/'+anchor_href.substring(4)+'/'+anchor_href.substring(1,3) Change Line 189 $sql = "SELECT distinct date_format(post_date,'%M %Y') date, date_format(post_date,'%m_%Y') as &#8230; <a href="http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://mai.in.th/wp/wp-content/uploads/2011/10/timeline-wordpress-theme.jpg" rel="lightbox[4063]" title="timeline-wordpress-theme"><img class="aligncenter size-full wp-image-4089" title="timeline-wordpress-theme" src="http://mai.in.th/wp/wp-content/uploads/2011/10/timeline-wordpress-theme.jpg" alt="" width="510" height="250" /></a><br />
Fix timeline-scroll-bar For Timeline-WP 1.0 WordPress Theme From <a title="http://www.timeline-wp.com" href="http://www.timeline-wp.com" target="_blank">http://www.timeline-wp.com</a> <span id="more-4063"></span></p>
<p><strong>Header.php</strong> Change Line 114</p>
<pre class="brush: js; first-line: 112;highlight: [114]">			anchor_href = $("#"+id).attr('href'); // #mm_yyyy
			if($(anchor_href).length==false){
				location.href='/date/'+anchor_href.substring(4)+'/'+anchor_href.substring(1,3)</pre>
<p>to</p>
<pre class="brush: php; first-line: 112;highlight: [114]">			anchor_href = $("#"+id).attr('href'); // #mm_yyyy
			if($(anchor_href).length==false){
				location.href='/'+anchor_href.substring(4)+'/'+anchor_href.substring(1,3)</pre>
<p>Change Line 189</p>
<pre class="brush: php; first-line: 187;highlight: [189]">                $sql = "SELECT distinct date_format(post_date,'%M %Y') date,
                date_format(post_date,'%m_%Y')  as link
                FROM wp_posts order by date_format(post_date,'%Y/%m')desc";
                $results = $wpdb-&gt;get_results($sql);</pre>
<p>to</p>
<pre class="brush: php; first-line: 187;highlight: [189]">                $sql = "SELECT distinct date_format(post_date,'%M %Y') date,
                date_format(post_date,'%m_%Y')  as link
                FROM $wpdb-&gt;posts order by date_format(post_date,'%Y/%m')desc";
                $results = $wpdb-&gt;get_results($sql);</pre>
<p>&nbsp;</p>
<footer class="entry-meta">คำค้น : <a href="http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/" title="Timeline theme">Timeline theme</a> (5) | <a href="http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/" title="anchor_href = $(# id) attr(\href\); // #mm_yyyy">anchor_href = $(# id) attr(\href\); // #mm_yyyy</a> (3) | <a href="http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/" title="fb timeline scrubber">fb timeline scrubber</a> (3) | <a href="http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/" title="timeline wordpress template">timeline wordpress template</a> (3) | <a href="http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/" title="wordpress timeline theme">wordpress timeline theme</a> (2) |</footer><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://mai.in.th/2011/10/01/fix-timeline-wp-1-0-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Thumbnail for Facebook social plugin (Recommendations)</title>
		<link>http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/</link>
		<comments>http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 17:54:38 +0000</pubDate>
		<dc:creator>IaMMaI</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[facebook plugin]]></category>
		<category><![CDATA[facebook social plugin]]></category>

		<guid isPermaLink="false">http://mai.in.th/?p=2924</guid>
		<description><![CDATA[โค๊ด PHP ใช้แสดง meta image_src เพื่อให้  Facebook plugin ตัว Recommend อ่านค่าแล้วแสดงเป็น Icon โดยจะเรียงลำดับการเรียกถ้าไม่พบก็จะข้ามไปลำดับต่อไป 1. Feature Thumbnail 2. 1st Post Image 3. Preset &#60;?php if(is_single()) { global $wp_query; $post_id = $wp_query-&#62;post-&#62;ID; $thumb_id = get_post_thumbnail_id( $post-&#62;ID ); $thumb_url = wp_get_attachment_image_src($thumb_id,'thumbnail'); $thumb_url = &#8230; <a href="http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>โค๊ด PHP ใช้แสดง meta image_src เพื่อให้  Facebook plugin ตัว Recommend อ่านค่าแล้วแสดงเป็น Icon โดยจะเรียงลำดับการเรียกถ้าไม่พบก็จะข้ามไปลำดับต่อไป<br />
1. Feature Thumbnail<br />
2. 1st Post Image<br />
3. Preset</p>
<p><span id="more-2924"></span>&lt;?php if(is_single()) {</p>
<pre class="brush: php">
global $wp_query;
$post_id = $wp_query-&gt;post-&gt;ID;

$thumb_id = get_post_thumbnail_id( $post-&gt;ID );
$thumb_url = wp_get_attachment_image_src($thumb_id,'thumbnail');
$thumb_url = $thumb_url[0];
if($thumb_url){ echo '&lt;link rel="image_src" type="image/jpeg" href="'. $thumb_url.'" /&gt;';}
if(!$thumb_url){
$arrImages =&amp; get_children('post_type=attachment&amp;post_mime_type=image&amp;post_parent=' . $wp_query-&gt;post-&gt;ID );
if($arrImages) {
$arrKeys = array_keys($arrImages);
$iNum = $arrKeys[0];
$sThumbUrl = wp_get_attachment_thumb_url($iNum);
echo '&lt;link rel="image_src" type="image/jpeg" href="'. $sThumbUrl .'" /&gt;';
} else {
echo '&lt;link rel="image_src" type="image/jpeg" href="DEFAULT" /&gt;';
}
}
}?&gt;
</pre>
<p>ใส่ระหว่าง Tag Head</p>
<footer class="entry-meta">คำค้น : <a href="http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/" title="wordpress to facebook">wordpress to facebook</a> (2) | <a href="http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/" title="thumbnail wordpress plugin">thumbnail wordpress plugin</a> (2) | <a href="http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/" title="&lt;link rel=\image_src\ type=\image/jpeg\">&lt;link rel=\image_src\ type=\image/jpeg\</a> (1) | <a href="http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/" title="wordpress thumbnail">wordpress thumbnail</a> (1) | <a href="http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/" title="thumbnail facebook recommendations wordpress">thumbnail facebook recommendations wordpress</a> (1) |</footer><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://mai.in.th/2010/06/08/wordpress-thumbnail-for-facebook-social-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

