<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	〈如何在WordPress中正確引入外部的CSS或Javascript檔案〉的留言	</title>
	<atom:link href="https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/</link>
	<description>外掛，佈景主題客製化開發服務，形象、電子商務網站建置，並提供最優質的外掛軟體</description>
	<lastBuildDate>Sun, 24 May 2020 13:28:05 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.6.14</generator>
	<item>
		<title>
		留言者: OctopusWP		</title>
		<link>https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/#comment-145</link>

		<dc:creator><![CDATA[OctopusWP]]></dc:creator>
		<pubDate>Sun, 24 May 2020 13:28:05 +0000</pubDate>
		<guid isPermaLink="false">https://www.octopuswp.com/?p=1575#comment-145</guid>

					<description><![CDATA[回覆的對象為「&lt;a href=&quot;https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/#comment-144&quot;&gt;David&lt;/a&gt;」。

不知道你想控制什麼，@media print是控制列印的樣式
列印是瀏覽器的事情，基本上就是HTML、JS、CSS，就不跟PHP有關了]]></description>
			<content:encoded><![CDATA[<p>回覆的對象為「<a href="https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/#comment-144">David</a>」。</p>
<p>不知道你想控制什麼，@media print是控制列印的樣式<br />
列印是瀏覽器的事情，基本上就是HTML、JS、CSS，就不跟PHP有關了</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		留言者: David		</title>
		<link>https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/#comment-144</link>

		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 24 May 2020 12:37:35 +0000</pubDate>
		<guid isPermaLink="false">https://www.octopuswp.com/?p=1575#comment-144</guid>

					<description><![CDATA[您好：
           首先很感謝你抽空回覆，謝謝。
列印的意思，就是當我在某一個網頁，我會按下列印鍵或是按滑鼠右鍵，會出現預覽列印，這個wordpress有什麼鉤子或是函數可以來控制嗎??就像CSS，它可以用@MEDIA PRINT.......來專門控制列印，不知這樣子說明清不清楚，謝謝。]]></description>
			<content:encoded><![CDATA[<p>您好：<br />
           首先很感謝你抽空回覆，謝謝。<br />
列印的意思，就是當我在某一個網頁，我會按下列印鍵或是按滑鼠右鍵，會出現預覽列印，這個wordpress有什麼鉤子或是函數可以來控制嗎??就像CSS，它可以用@MEDIA PRINT&#8230;&#8230;.來專門控制列印，不知這樣子說明清不清楚，謝謝。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		留言者: OctopusWP		</title>
		<link>https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/#comment-136</link>

		<dc:creator><![CDATA[OctopusWP]]></dc:creator>
		<pubDate>Tue, 19 May 2020 10:16:17 +0000</pubDate>
		<guid isPermaLink="false">https://www.octopuswp.com/?p=1575#comment-136</guid>

					<description><![CDATA[回覆的對象為「&lt;a href=&quot;https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/#comment-135&quot;&gt;David&lt;/a&gt;」。

1. 
註冊就是告訴WordPress有哪一些asset檔案可以用，會幫這些檔案取名字和指定他的來源網址
如果你的檔案只在一個地方引入，那直接帶網址進去wp_enqueue_style或wp_enqueue_script也可以
如果你的檔案會在很多地方引入，那最好是先註冊，這樣可以統一管理檔案的來源網址,依賴的檔案和檔案版本
2. 
不太懂你說的運用在列印上的意思]]></description>
			<content:encoded><![CDATA[<p>回覆的對象為「<a href="https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/#comment-135">David</a>」。</p>
<p>1.<br />
註冊就是告訴WordPress有哪一些asset檔案可以用，會幫這些檔案取名字和指定他的來源網址<br />
如果你的檔案只在一個地方引入，那直接帶網址進去wp_enqueue_style或wp_enqueue_script也可以<br />
如果你的檔案會在很多地方引入，那最好是先註冊，這樣可以統一管理檔案的來源網址,依賴的檔案和檔案版本<br />
2.<br />
不太懂你說的運用在列印上的意思</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		留言者: David		</title>
		<link>https://www.octopuswp.com/2020/02/20/how-to-enqueue-css-js-file-in-wordpress/#comment-135</link>

		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Tue, 19 May 2020 10:08:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.octopuswp.com/?p=1575#comment-135</guid>

					<description><![CDATA[您好：
有個疑問，想請問一下，為什麼要先註冊呢??我發現如果單純的直接用wp_enqueue_style，也是可以執行的，可以解答一下嗎??
另外想請問一下，如果我只運用在列印上，我應該用那個鉤子或函數，找了半天沒有找到，謝謝。]]></description>
			<content:encoded><![CDATA[<p>您好：<br />
有個疑問，想請問一下，為什麼要先註冊呢??我發現如果單純的直接用wp_enqueue_style，也是可以執行的，可以解答一下嗎??<br />
另外想請問一下，如果我只運用在列印上，我應該用那個鉤子或函數，找了半天沒有找到，謝謝。</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
