<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://wiki.lifetype.org.tw/skins/common/feed.css?164"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-tw">
		<id>http://wiki.lifetype.org.tw/index.php?action=history&amp;feed=atom&amp;title=LifeType_1.0%2FPlugins%2Fstickyposts</id>
		<title>LifeType 1.0/Plugins/stickyposts - 修訂沿革</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.lifetype.org.tw/index.php?action=history&amp;feed=atom&amp;title=LifeType_1.0%2FPlugins%2Fstickyposts"/>
		<link rel="alternate" type="text/html" href="http://wiki.lifetype.org.tw/index.php?title=LifeType_1.0/Plugins/stickyposts&amp;action=history"/>
		<updated>2026-05-08T18:13:06Z</updated>
		<subtitle>本站上此頁的修訂沿革</subtitle>
		<generator>MediaWiki 1.13.2</generator>

	<entry>
		<id>http://wiki.lifetype.org.tw/index.php?title=LifeType_1.0/Plugins/stickyposts&amp;diff=1576&amp;oldid=prev</id>
		<title>Markwu在2005年12月19日 (一) 11:24</title>
		<link rel="alternate" type="text/html" href="http://wiki.lifetype.org.tw/index.php?title=LifeType_1.0/Plugins/stickyposts&amp;diff=1576&amp;oldid=prev"/>
				<updated>2005-12-19T11:24:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修訂&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2005年12月19日 (一) 11:24所做的修訂版本&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Plugins]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第39行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第40行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;這是一個非常簡單的樣版檔範例，用來展示 Sticky Posts Plugin 的用法。它是以 'blueish' 樣版為例做修改。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;這是一個非常簡單的樣版檔範例，用來展示 Sticky Posts Plugin 的用法。它是以 'blueish' 樣版為例做修改。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;smarty&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{include file=&amp;quot;$blogtemplate/header.template&amp;quot;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{include file=&amp;quot;$blogtemplate/header.template&amp;quot;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第65行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第66行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{include file=&amp;quot;$blogtemplate/panel.template&amp;quot;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{include file=&amp;quot;$blogtemplate/panel.template&amp;quot;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{include file=&amp;quot;$blogtemplate/footer.template&amp;quot;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{include file=&amp;quot;$blogtemplate/footer.template&amp;quot;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;smarty&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;如果只要在首頁顯示置頂文章與最新消息，只要在相關的樣版程式碼：(第 3 行的'''{if $stickyposts-&amp;gt;isEnabled()}'''到倒數第 6 行的'''{/if}''')前後加上 $showAll 變數的判斷即可。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;如果只要在首頁顯示置頂文章與最新消息，只要在相關的樣版程式碼：(第 3 行的'''{if $stickyposts-&amp;gt;isEnabled()}'''到倒數第 6 行的'''{/if}''')前後加上 $showAll 變數的判斷即可。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;smarty&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{if empty($showAll)}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{if empty($showAll)}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{if $stickyposts-&amp;gt;isEnabled()}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{if $stickyposts-&amp;gt;isEnabled()}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第74行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第75行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{/if}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{/if}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{/if}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{/if}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;smarty&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= 注意事項 =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= 注意事項 =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第87行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第88行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;這裡有一個使用stickyposts實作「[[Previous_Next_in_Same_Category|在單篇彙整頁面中顯示同類別上下篇連結]]」的範例&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;這裡有一個使用stickyposts實作「[[Previous_Next_in_Same_Category|在單篇彙整頁面中顯示同類別上下篇連結]]」的範例&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Plugins]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-05-08 18:13:06 --&gt;
&lt;/table&gt;</summary>
		<author><name>Markwu</name></author>	</entry>

	<entry>
		<id>http://wiki.lifetype.org.tw/index.php?title=LifeType_1.0/Plugins/stickyposts&amp;diff=1524&amp;oldid=prev</id>
		<title>Ajer001在2005年12月15日 (四) 05:53</title>
		<link rel="alternate" type="text/html" href="http://wiki.lifetype.org.tw/index.php?title=LifeType_1.0/Plugins/stickyposts&amp;diff=1524&amp;oldid=prev"/>
				<updated>2005-12-15T05:53:43Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修訂&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2005年12月15日 (四) 05:53所做的修訂版本&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第5行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第5行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''版本'''： 1.0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''版本'''： 1.0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''下載連結'''： http://prdownloads.sourceforge.net/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;plog&lt;/del&gt;/stickyposts.zip?download&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''下載連結'''： http://prdownloads.sourceforge.net/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;lifetype&lt;/ins&gt;/stickyposts.zip?download&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''程式授權'''： GPL&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''程式授權'''： GPL&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-05-08 18:13:06 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ajer001</name></author>	</entry>

	<entry>
		<id>http://wiki.lifetype.org.tw/index.php?title=LifeType_1.0/Plugins/stickyposts&amp;diff=1346&amp;oldid=prev</id>
		<title>James在2005年11月27日 (日) 17:00</title>
		<link rel="alternate" type="text/html" href="http://wiki.lifetype.org.tw/index.php?title=LifeType_1.0/Plugins/stickyposts&amp;diff=1346&amp;oldid=prev"/>
				<updated>2005-11-27T17:00:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
'''名稱'''： 文章置頂及公告&lt;br /&gt;
&lt;br /&gt;
'''版本'''： 1.0&lt;br /&gt;
&lt;br /&gt;
'''下載連結'''： http://prdownloads.sourceforge.net/plog/stickyposts.zip?download&lt;br /&gt;
&lt;br /&gt;
'''程式授權'''： GPL&lt;br /&gt;
&lt;br /&gt;
'''作者'''： lss&lt;br /&gt;
&lt;br /&gt;
= 用途 =&lt;br /&gt;
&lt;br /&gt;
提供網誌做文章置頂及用文章做為網站公告。&lt;br /&gt;
&lt;br /&gt;
= 設定 =&lt;br /&gt;
&lt;br /&gt;
後台管理部份：&lt;br /&gt;
&lt;br /&gt;
# 首先請建立兩個文章分類存放公告及置頂文章。&lt;br /&gt;
# 你可以在 '''個人網誌設定''' &amp;gt;&amp;gt; '''置頂及公告文章設定''' 進行各項設定。&lt;br /&gt;
# 預設的'''置頂文章數目'''及'''公告文章數目'''是 5 篇文章，你可以修改成你要顯示的數目。&lt;br /&gt;
# 在選單中選擇存放置頂文章及公告文章的分類。&lt;br /&gt;
&lt;br /&gt;
在樣版檔案裡，你可以使用：&lt;br /&gt;
&lt;br /&gt;
# '''$stickyposts-&amp;gt;isEnabled()''' 檢查 plugin 是否已經啟用。 &lt;br /&gt;
# '''$stickyposts-&amp;gt;getArticles( 'sticky' )''' 傳回置頂文章的 article 陣列，最多傳回所設定的置頂文章數目。&lt;br /&gt;
# '''$stickyposts-&amp;gt;getArticles( 'announce' )''' 傳回公告文章的 article 陣列，最多傳回所設定的公告文章數目。&lt;br /&gt;
# '''$stickyposts-&amp;gt;getArticles( 12 )''' 傳回指定'''文章分類 ID''' 的所有文章 article 陣列。本例中的 12 為文章分類 ID。&lt;br /&gt;
# '''$stickyposts-&amp;gt;getCategory( 'sticky' )''' 傳回用於置頂文章的 category 物件，可用來做成'''更多置頂文章'''超連結。&lt;br /&gt;
# '''$stickyposts-&amp;gt;getCategory( 'announce' )''' 傳回用於公告文章的 category 物件，可用來做成'''更多公告文章'''超連結。&lt;br /&gt;
# '''$stickyposts-&amp;gt;getCategory( 12 )''' 傳回'''指定文章分類 ID''' 的 category 物件。&lt;br /&gt;
&lt;br /&gt;
其中 ''''sticky'''' 和 ''''announce'''' 是 plugin 的保留字。&lt;br /&gt;
&lt;br /&gt;
樣版檔範例：&lt;br /&gt;
&lt;br /&gt;
這是一個非常簡單的樣版檔範例，用來展示 Sticky Posts Plugin 的用法。它是以 'blueish' 樣版為例做修改。&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{include file=&amp;quot;$blogtemplate/header.template&amp;quot;}&lt;br /&gt;
&amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
{if $stickyposts-&amp;gt;isEnabled()}&lt;br /&gt;
  &amp;lt;h2&amp;gt;Sticky Posts&amp;lt;/h2&amp;gt;&lt;br /&gt;
  {assign var=stickys value=$stickyposts-&amp;gt;getArticles('sticky')}&lt;br /&gt;
  {foreach from=$stickys item=post}&lt;br /&gt;
      &amp;lt;h2 class=&amp;quot;title&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;{$url-&amp;gt;postPermalink($post)}&amp;quot;&amp;gt;{$post-&amp;gt;getTopic()}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;&lt;br /&gt;
  {/foreach}&lt;br /&gt;
  {assign var=stickyCategory value=$stickyposts-&amp;gt;getCategory('sticky')}&lt;br /&gt;
  &amp;lt;h4&amp;gt;&amp;lt;a href=&amp;quot;{$url-&amp;gt;categoryLink($stickyCategory)}&amp;quot;&amp;gt;more sticky posts&amp;lt;/a&amp;gt;&amp;lt;/h4&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;h2&amp;gt;Announce Posts&amp;lt;/h2&amp;gt;&lt;br /&gt;
  {assign var=stickys value=$stickyposts-&amp;gt;getArticles('announce')}&lt;br /&gt;
  {foreach from=$stickys item=post}&lt;br /&gt;
      &amp;lt;h2 class=&amp;quot;title&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;{$url-&amp;gt;postPermalink($post)}&amp;quot;&amp;gt;{$post-&amp;gt;getTopic()}&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;&lt;br /&gt;
  {/foreach}&lt;br /&gt;
  {assign var=announceCategory value=$stickyposts-&amp;gt;getCategory('announce')}&lt;br /&gt;
  &amp;lt;h4&amp;gt;&amp;lt;a href=&amp;quot;{$url-&amp;gt;categoryLink($announceCategory)}&amp;quot;&amp;gt;more announce posts&amp;lt;/a&amp;gt;&amp;lt;/h4&amp;gt;&lt;br /&gt;
{/if}  &lt;br /&gt;
  {foreach from=$posts item=post}&lt;br /&gt;
    {include file=&amp;quot;$blogtemplate/post.template&amp;quot;}&lt;br /&gt;
  {/foreach}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{include file=&amp;quot;$blogtemplate/panel.template&amp;quot;}&lt;br /&gt;
{include file=&amp;quot;$blogtemplate/footer.template&amp;quot;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
如果只要在首頁顯示置頂文章與最新消息，只要在相關的樣版程式碼：(第 3 行的'''{if $stickyposts-&amp;gt;isEnabled()}'''到倒數第 6 行的'''{/if}''')前後加上 $showAll 變數的判斷即可。&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{if empty($showAll)}&lt;br /&gt;
{if $stickyposts-&amp;gt;isEnabled()}&lt;br /&gt;
.....&lt;br /&gt;
{/if}&lt;br /&gt;
{/if}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 注意事項 =&lt;br /&gt;
&lt;br /&gt;
上面的樣版檔範例是一個很差的範例，請樣版高手製作又好又漂亮的樣版，並請隨手將這個範例換掉。&lt;br /&gt;
&lt;br /&gt;
'''2005-05-18 更新：'''上面的範例倒數第 6 行少了一個'''{/if}'''，已更正。&lt;br /&gt;
&lt;br /&gt;
'''2005-05-18 更新：'''加入只在首頁顯示置頂與最新消息的方法。&lt;br /&gt;
&lt;br /&gt;
= 其他範例 =&lt;br /&gt;
&lt;br /&gt;
這裡有一個使用stickyposts實作「[[Previous_Next_in_Same_Category|在單篇彙整頁面中顯示同類別上下篇連結]]」的範例&lt;br /&gt;
&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>James</name></author>	</entry>

	</feed>