<?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://www.lemonary.cn/tag/%E5%9B%BE%E6%A0%87/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lemonary.cn</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jun 2025 05:39:20 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.lemonary.cn/wp-content/uploads/2024/12/profile-150x150.jpg</url>
	<title>图标 &#8211; 良的世界</title>
	<link>https://www.lemonary.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>WordPress中Argon主题顶栏菜单图标</title>
		<link>https://www.lemonary.cn/wordpress%e4%b8%adargon%e4%b8%bb%e9%a2%98%e9%a1%b6%e6%a0%8f%e8%8f%9c%e5%8d%95%e5%9b%be%e6%a0%87/</link>
					<comments>https://www.lemonary.cn/wordpress%e4%b8%adargon%e4%b8%bb%e9%a2%98%e9%a1%b6%e6%a0%8f%e8%8f%9c%e5%8d%95%e5%9b%be%e6%a0%87/#respond</comments>
		
		<dc:creator><![CDATA[shine]]></dc:creator>
		<pubDate>Tue, 26 Nov 2024 06:15:10 +0000</pubDate>
				<category><![CDATA[建站记录]]></category>
		<category><![CDATA[Argon]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[图标]]></category>
		<guid isPermaLink="false">https://lemonary.cn/?p=424</guid>

					<description><![CDATA[一、概述 顶栏菜单如果是纯文字的话，会显得比较单调，在文字前增加上图标会更美观。 效果呈现： 二、添加方法 首 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading" id="一、概述">一、概述</h2>



<p class="wp-block-paragraph">顶栏菜单如果是纯文字的话，会显得比较单调，在文字前增加上图标会更美观。</p>



<p class="wp-block-paragraph">效果呈现：</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1024" height="85" src="https://www.lemonary.cn/wp-content/uploads/2024/11/image-300.png" alt="" class="wp-image-2140" srcset="https://www.lemonary.cn/wp-content/uploads/2024/11/image-300.png 1024w, https://www.lemonary.cn/wp-content/uploads/2024/11/image-300-300x25.png 300w, https://www.lemonary.cn/wp-content/uploads/2024/11/image-300-768x64.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="二、添加方法">二、添加方法</h2>



<p class="wp-block-paragraph">首先，打开<a href="https://github.com/solstice23/argon-theme" target="_blank" rel="noopener">Argon主题的Github地址</a>。</p>



<p class="wp-block-paragraph">下拉，找到<a href="https://argon-docs.solstice23.top/" target="_blank" rel="noopener">Argon-Theme 文档 </a>，点开。</p>



<p class="wp-block-paragraph">左侧，点及<a href="https://argon-docs.solstice23.top/#/icon" target="_blank" rel="noopener">图标</a>。</p>



<p class="wp-block-paragraph">使用&nbsp;<code>&lt;i class="fa fa-xxxx"&gt;&lt;/i&gt;</code>&nbsp;添加图标。其中 xxxx 为图标名。</p>



<p class="wp-block-paragraph">请访问<a href="https://fontawesome.com/v4/icons/" target="_blank" rel="noreferrer noopener">Font Awesome 4</a>图标库自行查询对应的图标名。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">备注<br>文本和图标之间建议添加一个空格来保证美观。</p>
</blockquote>



<h2 class="wp-block-heading" id="另注">另注</h2>



<p class="wp-block-paragraph">将顶栏菜单中的“说说”改成其他名字，例如：笔记、日记、想法……</p>



<p class="wp-block-paragraph">除了需要在页面配置界面将“说说”替换掉，还需要在主题文件编辑器中将shuoshuo.php中的“说说”替换</p>



<pre class="wp-block-code"><code>&lt;!-- 13 行 --&gt;
&lt;h3 class="text-black"&gt;&lt;?php _e('日记', 'argon');?&gt;&lt;/h3&gt;
&lt;!-- 21 行 --&gt;
&lt;?php echo wp_count_posts('shuoshuo','') -&gt; publish; ?&gt; &lt;?php _e('篇日记', 'argon');?&gt;</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.lemonary.cn/wordpress%e4%b8%adargon%e4%b8%bb%e9%a2%98%e9%a1%b6%e6%a0%8f%e8%8f%9c%e5%8d%95%e5%9b%be%e6%a0%87/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
