<?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>陶●工作室 &#187; FabThemes</title>
	<atom:link href="http://taoworkshop.com/tag/fabthemes/feed/" rel="self" type="application/rss+xml" />
	<link>http://taoworkshop.com</link>
	<description>站長指南-Web hosting及WordPress設定</description>
	<lastBuildDate>Wed, 13 Mar 2013 11:39:28 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>WP: 在文章加上一篇和下一篇的連結</title>
		<link>http://taoworkshop.com/2011/11/13/add-next-post-link/</link>
		<comments>http://taoworkshop.com/2011/11/13/add-next-post-link/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 12:46:16 +0000</pubDate>
		<dc:creator><![CDATA[陶]]></dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FabThemes]]></category>
		<category><![CDATA[Template修改]]></category>

		<guid isPermaLink="false">http://taoworkshop.com/?p=194</guid>
		<description><![CDATA[上一篇和下一篇的連結可方便繼續瀏覽。 但有的theme卻沒有提供。 以FabThemes的Selen<a href="http://taoworkshop.com/2011/11/13/add-next-post-link/">&#160;&#160;[ Read More ]</a>]]></description>
				<content:encoded><![CDATA[<p>上一篇和下一篇的連結可方便繼續瀏覽。<br />
但有的theme卻沒有提供。</p>
<p>以FabThemes的Selene Template為例，<br />
在 1 外觀–&gt; 2 主題編輯器–&gt; 3 修改single.php<span id="more-194"></span></p>
<blockquote>
<pre>&lt;div class="entry"&gt;
	&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;
	&lt;?php include (TEMPLATEPATH . '/ad1.php'); ?&gt;
	&lt;div class="clear"&gt;&lt;/div&gt;
	&lt;?php wp_link_pages(array('before' =&gt; '&lt;p&gt;&lt;strong&gt;Pages: &lt;/strong&gt; ', 'after' =&gt; '&lt;/p&gt;', 'next_or_number' =&gt; 'number')); ?&gt;
&lt;/div&gt;</pre>
</blockquote>
<p>修改</p>
<blockquote>
<pre>&lt;div class="entry"&gt;
	&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;
	&lt;?php include (TEMPLATEPATH . '/ad1.php'); ?&gt; 
        <strong><span style="color: #993366;">&lt;div class="link up"&gt;&lt;-- &lt;?php previous_post_link('%link') ?&gt; &lt;/div&gt; </span></strong>
        <strong><span style="color: #993366;">&lt;div class="link next"&gt;&lt;?php next_post_link('%link') ?&gt; --&gt;&lt;/div&gt;</span></strong>
	&lt;div class="clear"&gt;&lt;/div&gt;
	&lt;?php wp_link_pages(array('before' =&gt; '&lt;p&gt;&lt;strong&gt;Pages: &lt;/strong&gt; ', 'after' =&gt; '&lt;/p&gt;', 'next_or_number' =&gt; 'number')); ?&gt;
&lt;/div&gt;</pre>
</blockquote>
<p>並在 style.css 未端加上</p>
<blockquote>
<pre>.link{
	display:block
}
.up{
	 float:left;
}
.next{
	float:right;
}</pre>
</blockquote>
<p>修改前:<br />
<img class="alignnone size-full wp-image-195" title="link-before" src="http://taoworkshop.com/wp-content/uploads/2011/11/link-before.jpg" alt="" width="436" height="223" /></p>
<p>修改後:<br />
<img class="alignnone size-full wp-image-197" title="link-add" src="http://taoworkshop.com/wp-content/uploads/2011/11/link-add1.jpg" alt="" width="436" height="223" /></p>
<p>亦可使用圖像來代替&lt;&#8211; 和&#8211;&gt;，<br />
如用繪圖軟件畫了<img src="http://taoworkshop.com/wp-content/themes/Selene/Selene/images/up.png" alt="" width="18" height="16" /><img src="http://taoworkshop.com/wp-content/themes/Selene/Selene/images/next.png" alt="" width="18" height="16" /> (名為up.png和next.png)，<br />
把他們上載到/wp-content/themes/<span style="color: #993366;"><strong>theme的名稱</strong></span>/images/</p>
<p>而 style.css 則改為</p>
<blockquote>
<pre>.link{
	display:block
}
.up{
	float:left;
	padding-left:20px;
	background:url(images/up.png) no-repeat;
}
.next{
	float:right;
	padding-right:20px;
	background:url(images/next.png) no-repeat;
	background-position:right
}</pre>
</blockquote>
<p>修改後:<br />
<a href="http://taoworkshop.com/wp-content/uploads/2011/11/link-addimg.jpg"><img class="alignnone size-full wp-image-207" title="link-addimg" src="http://taoworkshop.com/wp-content/uploads/2011/11/link-addimg.jpg" alt="" width="436" height="223" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://taoworkshop.com/2011/11/13/add-next-post-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP: 在文章加上edit的連結</title>
		<link>http://taoworkshop.com/2011/11/13/wordpress-add-edit-link/</link>
		<comments>http://taoworkshop.com/2011/11/13/wordpress-add-edit-link/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 11:58:01 +0000</pubDate>
		<dc:creator><![CDATA[陶]]></dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FabThemes]]></category>
		<category><![CDATA[Template修改]]></category>

		<guid isPermaLink="false">http://taoworkshop.com/?p=188</guid>
		<description><![CDATA[在文章的加上修改的連結， 方便看到有錯誤時立即可點下連結，去後台更新。 以FabThemes的Sel<a href="http://taoworkshop.com/2011/11/13/wordpress-add-edit-link/">&#160;&#160;[ Read More ]</a>]]></description>
				<content:encoded><![CDATA[<p>在文章的加上修改的連結，<br />
方便看到有錯誤時立即可點下連結，去後台更新。</p>
<p>以FabThemes的Selene Template為例，<br />
在 1 外觀–&gt; 2 主題編輯器–&gt; 3 修改single.php<span id="more-188"></span></p>
<p>找</p>
<blockquote>
<pre>&lt;div&gt;
		&lt;span&gt; Posted by &lt;?php the_author(); ?&gt;&lt;/span&gt;
		&lt;span&gt; On &lt;?php the_time('j / n / Y'); ?&gt;&lt;/span&gt;
		&lt;span&gt; &lt;?php edit_post_link('[Edit]'); ?&gt;&lt;/span&gt;
&lt;/div&gt;</pre>
</blockquote>
<p>然後改為:</p>
<blockquote>
<pre>&lt;div class="hmeta"&gt;
		&lt;span class="author"&gt; Posted by &lt;?php the_author(); ?&gt;&lt;/span&gt;
		&lt;span class="clock"&gt; On &lt;?php the_time('j / n / Y'); ?&gt;&lt;/span&gt;
		<strong><span style="color: #993366;">&lt;span class="clock"&gt; &lt;?php edit_post_link('[Edit]'); ?&gt;&lt;/span&gt;</span></strong>
&lt;/div&gt;</pre>
</blockquote>
<p>重點是加上&lt;?php edit_post_link(&#8216;[Edit]&#8217;); ?&gt; ，<br />
修正前:<br />
<img class="alignnone size-full wp-image-189" title="edit-before" src="http://taoworkshop.com/wp-content/uploads/2011/11/edit-before.jpg" alt="" width="394" height="165" /></p>
<p>修正後:<br />
<img class="alignnone size-full wp-image-190" title="edit-after" src="http://taoworkshop.com/wp-content/uploads/2011/11/edit-after.jpg" alt="" width="394" height="165" /></p>
<p>如不想用出現[edit]也可按需要修改:</p>
<p>&lt;?php edit_post_link(&#8216;<strong><span style="color: #993366;">XXX</span></strong>&#8216;); ?&gt; ， XXX 為需要顯示之字樣。</p>
]]></content:encoded>
			<wfw:commentRss>http://taoworkshop.com/2011/11/13/wordpress-add-edit-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP: 更改日期格式</title>
		<link>http://taoworkshop.com/2011/11/13/date-format/</link>
		<comments>http://taoworkshop.com/2011/11/13/date-format/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 02:37:48 +0000</pubDate>
		<dc:creator><![CDATA[陶]]></dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FabThemes]]></category>
		<category><![CDATA[Template修改]]></category>
		<category><![CDATA[日子格式]]></category>

		<guid isPermaLink="false">http://taoworkshop.com/?p=92</guid>
		<description><![CDATA[本站的隨template來的日子格式為: 十一月 &#8211; 13 &#8211; 2011 實<a href="http://taoworkshop.com/2011/11/13/date-format/">&#160;&#160;[ Read More ]</a>]]></description>
				<content:encoded><![CDATA[<p>本站的隨template來的日子格式為: 十一月 &#8211; 13 &#8211; 2011<br />
實在有點不順眼。<br />
如改做 13 / 11 / 2011，<br />
以FabThemes的Selene Template為例，<br />
只需把single.php, archive.php, search.php 的</p>
<pre>&lt;?php the_time('F - j - Y'); ?&gt;</pre>
<p>修改</p>
<pre>&lt;?php the_time('j / n / Y'); ?&gt;</pre>
<p><span id="more-92"></span></p>
<p>如要99年5月1日顯示為 01-05-99，則修改為</p>
<pre>&lt;?php the_time('d-m-y'); ?&gt;</pre>
<p>&nbsp;</p>
<p>日子:<br />
d: 01-31<br />
j: 1-31</p>
<p>月份:<br />
F: January, February, &#8230;<br />
M: Jan, Feb, &#8230;<br />
m: 01-12<br />
n: 1-12</p>
<p>年份:<br />
Y: 2011<br />
y: 11</p>
<p>而更多的日子格式，可參考 <a href="http://php.net/manual/en/function.date.php">Php Manual</a>。</p>
]]></content:encoded>
			<wfw:commentRss>http://taoworkshop.com/2011/11/13/date-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP: 為每篇文章顯示Tag</title>
		<link>http://taoworkshop.com/2011/11/13/show-tag-in-each-post/</link>
		<comments>http://taoworkshop.com/2011/11/13/show-tag-in-each-post/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 02:13:10 +0000</pubDate>
		<dc:creator><![CDATA[陶]]></dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FabThemes]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Template修改]]></category>

		<guid isPermaLink="false">http://taoworkshop.com/?p=75</guid>
		<description><![CDATA[有的template 在post並不帶有Tag， 感覺便像是欠了什麼。 如要加上tag只要是改一下程<a href="http://taoworkshop.com/2011/11/13/show-tag-in-each-post/">&#160;&#160;[ Read More ]</a>]]></description>
				<content:encoded><![CDATA[<div class="tag-bar">有的template 在post並不帶有Tag，</div>
<div class="tag-bar">感覺便像是欠了什麼。</div>
<p><img title="tag-empty" src="http://taoworkshop.com/wp-content/uploads/2011/11/tag-empty.jpg" alt="" width="436" height="223" /></p>
<p>如要加上tag只要是改一下程式:<br />
以FabThemes的Selene Template為例，<br />
在 1 外觀–&gt; 2 主題編輯器–&gt; 3 修改signle.php<span id="more-75"></span></p>
<p>找</p>
<blockquote>
<pre>&lt;div class="postmeta"&gt;
	&lt;span class="categorys"&gt;Categories: &lt;?php the_category(', '); ?&gt; &lt;/span&gt;
&lt;/div&gt;</pre>
</blockquote>
<p>改為</p>
<blockquote>
<pre>&lt;div class="postmeta"&gt;
	&lt;span class="categorys"&gt;Categories: &lt;?php the_category(', '); ?&gt; &lt;/span&gt;
	&lt;span class="categorys"&gt;Tag: &lt;?php the_tags(' '); ?&gt; &lt;/span&gt;
&lt;/div&gt;</pre>
</blockquote>
<p><a href="http://taoworkshop.com/wp-content/uploads/2011/11/tag-add.png"><img class="alignnone size-full wp-image-98" title="tag-add" src="http://taoworkshop.com/wp-content/uploads/2011/11/tag-add.png" alt="" width="436" height="223" /></a><br />
看&#8230; Tag 加了在Categories 之後了。</p>
<p>而重點的code 是 &lt;?php the_tags(&#8216; &#8216;); ?&gt; ，<br />
放在那位置，便按個人喜好了。</p>
]]></content:encoded>
			<wfw:commentRss>http://taoworkshop.com/2011/11/13/show-tag-in-each-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP: 移除主頁的Thumbnail圖片</title>
		<link>http://taoworkshop.com/2011/11/13/remove-thumbnail-in-index-page/</link>
		<comments>http://taoworkshop.com/2011/11/13/remove-thumbnail-in-index-page/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 01:41:56 +0000</pubDate>
		<dc:creator><![CDATA[陶]]></dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FabThemes]]></category>
		<category><![CDATA[Template修改]]></category>

		<guid isPermaLink="false">http://taoworkshop.com/?p=66</guid>
		<description><![CDATA[很多時WP Theme都設計了在主頁配上一幅圖像， 那是很好的設計，美觀又吸引讀者的眼球。 但不是每<a href="http://taoworkshop.com/2011/11/13/remove-thumbnail-in-index-page/">&#160;&#160;[ Read More ]</a>]]></description>
				<content:encoded><![CDATA[<p>很多時WP Theme都設計了在主頁配上一幅圖像，<br />
那是很好的設計，美觀又吸引讀者的眼球。</p>
<p>但不是每一個post也有圖像的，那時會自動出現了一張dump 圖<span id="more-66"></span>(如下圖)。</p>
<p><img   src="http://taoworkshop.com/wp-content/uploads/2011/11/dumpimage.jpg" alt="" width="427" height="365" /></p>
<p>解決方法是改一下程式:<br />
以FabThemes的Selene Template為例，<br />
在 1 外觀&#8211;> 2 主題編輯器&#8211;> 3 修改functions.php</p>
<p><img  src="http://taoworkshop.com/wp-content/uploads/2011/11/dumpimage1.jpg" alt="" width="500" height="269" /></p>
<p>4 把</p>
<blockquote>
<pre>function sele_post_image(){
if ( has_post_thumbnail() ) {
	 the_post_thumbnail( 'sele_post', array('class' =&gt; 'postimg') );
} else {
?&gt;
&lt;img class="postimg" src="&lt;?php bloginfo('template_directory'); ?&gt;/images/dummy.jpg" alt="" /&gt;
&lt;?php
};
}</pre>
</blockquote>
<p>改為 </p>
<blockquote>
<pre>function sele_post_image(){
if ( has_post_thumbnail() ) {
	 the_post_thumbnail( 'sele_post', array('class' =&gt; 'postimg') );
}
}</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://taoworkshop.com/2011/11/13/remove-thumbnail-in-index-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>免費 WordPress Theme</title>
		<link>http://taoworkshop.com/2011/11/06/free-wordpress-theme/</link>
		<comments>http://taoworkshop.com/2011/11/06/free-wordpress-theme/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 04:20:26 +0000</pubDate>
		<dc:creator><![CDATA[陶]]></dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[FabThemes]]></category>
		<category><![CDATA[免費]]></category>

		<guid isPermaLink="false">http://taoworkshop.com/?p=14</guid>
		<description><![CDATA[開了 WP 便會想用更漂亮的佈景主題，一般叫作Theme / Template。 在WP admin<a href="http://taoworkshop.com/2011/11/06/free-wordpress-theme/">&#160;&#160;[ Read More ]</a>]]></description>
				<content:encoded><![CDATA[<p>開了 WP 便會想用更漂亮的佈景主題，一般叫作Theme / Template。</p>
<p>在WP admin 內也內置了免費下載的，</p>
<p>但只限提交了<a href="http://wp-themes.com/">http://wp-themes.com/</a>的Theme。</p>
<p>其實，現在有很多公司也有提供收費設計Theme 的服務，</p>
<p>做法有三大類:</p>
<ol>
<li>提供一些做好了的Theme賣，同時也有小量免費的，讓人下載。</li>
<li>提供做好了的Theme免費下載，但要改圖的psd檔，則要附費了。</li>
<li>提供做好了的Theme免費下載，但要移除在Footer設計公司的連結，則要附費了。</li>
</ol>
<p>而那些網站的Theme一般也是比較好，也可在論壇問題，請教網主。<span id="more-14"></span></p>
<p>特別推薦:</p>
<ol>
<li><a href="http://www.ezwpthemes.com/">http://www.ezwpthemes.com/</a><br />
這家網主創作了很多theme，種類繁多!</li>
<li><a href="http://www.templatelite.com/themes/">http://www.templatelite.com/themes/</a><br />
這家有同時展出那Theme修後的模樣，<br />
即使是免費用家，每Theme也有專屬的討論區，協助大家修改Theme。</li>
<li><a href="http://www.fabthemes.com/">http://www.fabthemes.com</a><br />
本站現正使用這系列的theme</li>
</ol>
<p>以下是展示網上搜羅的免費Theme，有的和WP內置重複，更多是沒見過的!</p>
<ol>
<li><a href="http://topwpthemes.com/">http://topwpthemes.com/</a></li>
<li><a href="http://www.wpthemesfree.com/">http://www.wpthemesfree.com</a></li>
<li><a href="http://www.freewordpressthemes4u.com/">http://www.freewordpressthemes4u.com</a></li>
</ol>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://taoworkshop.com/2011/11/06/free-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
