<?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>社群分享按鈕 &#8211; 小豬日常</title>
	<atom:link href="https://piglife.tw/tag/%e7%a4%be%e7%be%a4%e5%88%86%e4%ba%ab%e6%8c%89%e9%88%95/feed/" rel="self" type="application/rss+xml" />
	<link>https://piglife.tw</link>
	<description>Hello World，一個紀錄生活與學習的地方</description>
	<lastBuildDate>Fri, 12 Dec 2025 14:45:04 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://piglife.tw/wp-content/uploads/2017/10/cropped-logo-1-32x32.png</url>
	<title>社群分享按鈕 &#8211; 小豬日常</title>
	<link>https://piglife.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>AddToAny 外掛快速建立 WordPress 社群分享按鈕教學</title>
		<link>https://piglife.tw/technical-notes/addtoany-wordpress-share-buttons/</link>
					<comments>https://piglife.tw/technical-notes/addtoany-wordpress-share-buttons/#respond</comments>
		
		<dc:creator><![CDATA[小豬]]></dc:creator>
		<pubDate>Tue, 31 Oct 2017 18:45:25 +0000</pubDate>
				<category><![CDATA[技術筆記]]></category>
		<category><![CDATA[AddToAny]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[外掛設定]]></category>
		<category><![CDATA[浮動按鈕]]></category>
		<category><![CDATA[社群分享按鈕]]></category>
		<category><![CDATA[網站導流]]></category>
		<guid isPermaLink="false">https://piglife.tw/?p=245</guid>

					<description><![CDATA[介紹如何透過 AddToAny 外掛快速在 WordPress 網站建立社群分享按鈕，包含安裝、設定...]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading">前言</h2>
<p>社群分享按鈕是每個部落格網站不可或缺的功能，能讓使用者輕鬆將喜歡的文章分享到Line、Facebook等平台，增加網站流量與曝光度。本文適合想快速在 WordPress 網站上架設分享按鈕的工程師或自學者，透過 AddToAny 外掛完成設定。</p>
<h2 class="wp-block-heading">安裝 AddToAny 外掛</h2>
<p>在 WordPress 後台，點擊「外掛 -&gt; 安裝外掛」，於搜尋欄輸入「share」即可找到 AddToAny 外掛。安裝並啟用後，即可進行後續設定。</p>
<h2 class="wp-block-heading">AddToAny 外掛設定</h2>
<h3 class="wp-block-heading">1. 進入設定頁面</h3>
<p>滑鼠移至「設定」選單，點選「AddToAny」進入外掛設定介面。</p>
<h3 class="wp-block-heading">2. Standard 標準按鈕設定</h3>
<ul>
<li><strong>Icon Style</strong>：調整分享按鈕的尺寸與背景樣式，預設為 32 pixels。</li>
<li><strong>Share Buttons</strong>：選擇要顯示的社群平台，點擊「Add/Remove Services」可新增或移除按鈕。</li>
<li><strong>Universal Button</strong>：設定「更多分享」按鈕的樣式，可選擇預設的「+」號圖示、圖片網址或純文字。</li>
<li><strong>Show count</strong>：開啟後會顯示分享次數統計。</li>
</ul>
<h3 class="wp-block-heading">3. Sharing Header 與 Placement</h3>
<ul>
<li><strong>Sharing Header</strong>：設定分享按鈕上方的標題文字。</li>
<li><strong>Placement</strong>：決定分享按鈕顯示的位置，例如文章下方、首頁或分類頁。根據需求選擇適合的顯示位置，注意不同主題可能有額外的 Post type 選項。</li>
</ul>
<h3 class="wp-block-heading">4. Floating 浮動按鈕設定</h3>
<h4 class="wp-block-heading">Vertical Buttons（垂直浮動）</h4>
<ul>
<li><strong>Placement</strong>：選擇浮動按鈕顯示於左側或右側。</li>
<li><strong>Responsiveness</strong>：設定視窗寬度大於多少時顯示。</li>
<li><strong>Position</strong>：調整按鈕上下位置。</li>
<li><strong>Offset</strong>：調整按鈕左右偏移。</li>
<li><strong>Icon Size</strong>：設定按鈕大小。</li>
<li><strong>Background</strong>：設定背景顏色。</li>
</ul>
<h4 class="wp-block-heading">Horizontal Buttons（水平浮動）</h4>
<ul>
<li><strong>Placement</strong>：選擇浮動按鈕顯示於左側或右側。</li>
<li><strong>Responsiveness</strong>：設定視窗寬度小於多少時顯示。</li>
<li><strong>Position</strong>：調整按鈕左右位置。</li>
<li><strong>Offset</strong>：調整按鈕上下偏移。</li>
<li><strong>Icon Size</strong>：設定按鈕大小。</li>
<li><strong>Background</strong>：設定背景顏色。</li>
</ul>
<p>完成設定後，記得點擊「Save Changes」儲存。</p>
<h2 class="wp-block-heading">檢查前端顯示</h2>
<p>設定完成後，進入文章頁面下方確認分享按鈕是否正常顯示。若按鈕位置與設定相符，即代表設定成功。</p>
<h2 class="wp-block-heading">延伸與常見坑</h2>
<ul>
<li>不同 WordPress 主題可能會影響按鈕顯示位置，必要時可透過 CSS 微調。</li>
<li>若使用快取外掛，設定後可能需要清除快取才能看到變更。</li>
<li>分享按鈕過多會影響頁面載入速度，建議選擇主要平台即可。</li>
</ul>
<h2 class="wp-block-heading">完整程式碼</h2>
<pre><code class="lang-text language-text text">// AddToAny 為 WordPress 外掛，無需手動撰寫程式碼，以下為設定步驟示意
// 1. 安裝並啟用 AddToAny 外掛
// 2. 進入「設定」-&gt;「AddToAny」
// 3. 設定 Standard 與 Floating 按鈕選項
// 4. 儲存設定並檢查前端顯示</code></pre>
<p>以上即為利用 AddToAny 外掛快速建立 WordPress 社群分享按鈕的完整流程與說明。</p>]]></content:encoded>
					
					<wfw:commentRss>https://piglife.tw/technical-notes/addtoany-wordpress-share-buttons/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
