<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Brave基地| WordPress学习小组 | 动态</title>
	<link>https://brave2049.com/groups/wordpress-research-group/</link>
	<atom:link href="https://brave2049.com/groups/wordpress-research-group/feed/" rel="self" type="application/rss+xml" />
	<description>訂閱此群組的活動，WordPress学习小组 。</description>
	<lastBuildDate>Thu, 30 Jul 2026 15:51:50 +0000</lastBuildDate>
	<generator>https://buddypress.org/?v=</generator>
	<language>zh-TW</language>
	<ttl>30</ttl>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>2</sy:updateFrequency>
	
						<item>
				<guid isPermaLink="false">56d35b893ba9a7d40f56a9378e14f829</guid>
				<title>76d781175eb67bd226620976c0b2b3ac 在討論 WordPress学习小组 中已發起主題 WordPress运维工具 WordOps 深度解析：从架构原理到生产实践</title>
				<link>https://brave2049.com/groups/wordpress-research-group/forum/topic/wordpress%e8%bf%90%e7%bb%b4%e5%b7%a5%e5%85%b7-wordops-%e6%b7%b1%e5%ba%a6%e8%a7%a3%e6%9e%90%ef%bc%9a%e4%bb%8e%e6%9e%b6%e6%9e%84%e5%8e%9f%e7%90%86%e5%88%b0%e7%94%9f%e4%ba%a7%e5%ae%9e%e8%b7%b5/</link>
				<pubDate>Mon, 27 Jul 2026 08:14:40 +0000</pubDate>

									<content:encoded><![CDATA[]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0aac7468fada3a4b744f69c2f2486293</guid>
				<title>[trilium_note id=&quot;5VM9orDWZOCO&quot;]</title>
				<link></link>
				<pubDate>Fri, 22 May 2026 13:26:19 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-05-22T13:26:19+0000">2 月, 1 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fe782d866bbf1946eaaa8b192866bbbd</guid>
				<title>[trilium_note id=&quot;2jOT7hGk4MTl&quot;]</title>
				<link></link>
				<pubDate>Thu, 19 Mar 2026 14:45:54 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-03-19T14:45:54+0000">4 月, 1 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fee7cbc7c7fb7ed83efe9029c4f78417</guid>
				<title>[trilium_note id=&quot;IxMfDMUJXtCg&quot;]</title>
				<link></link>
				<pubDate>Thu, 19 Mar 2026 03:46:31 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-03-19T03:46:31+0000">4 月, 1 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">862639a803fe9bce4e8a3a53c062ffbd</guid>
				<title>[trilium_note id=&quot;azrRzayvAD1H&quot;]</title>
				<link></link>
				<pubDate>Wed, 04 Mar 2026 06:23:27 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-03-04T06:23:27+0000">4 月, 4 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0caa2bb90a952675872794d3df77215a</guid>
				<title>[trilium_note id=&quot;PO2YcrCHOMAX&quot;]</title>
				<link></link>
				<pubDate>Tue, 03 Mar 2026 00:51:40 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-03-03T00:51:40+0000">4 月, 4 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">96997de65873c39f5d14fe8e42d4083e</guid>
				<title>[trilium_note id=&quot;I7rHlpMe4GYW&quot;]</title>
				<link></link>
				<pubDate>Sat, 07 Feb 2026 14:41:36 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-02-07T14:41:36+0000">5 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1453736a719e52feaae039798615840a</guid>
				<title>[trilium_note id=&quot;JObH7t4NZ021&quot;]</title>
				<link></link>
				<pubDate>Sat, 07 Feb 2026 06:49:45 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-02-07T06:49:45+0000">5 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">be09236e1fa700f7d27cd75e1f014631</guid>
				<title>[trilium_note id=&quot;7RvTIZrdbgdZ&quot;]</title>
				<link></link>
				<pubDate>Thu, 05 Feb 2026 15:28:38 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-02-05T15:28:38+0000">5 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b3a3327c7493c045d3b9d50e1029d367</guid>
				<title>[trilium_note id=&quot;fqBygWxFYTRK&quot;]</title>
				<link></link>
				<pubDate>Thu, 05 Feb 2026 15:15:51 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-02-05T15:15:51+0000">5 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">da87e556ebf3b058a4ad6efabf345fe3</guid>
				<title>[trilium_note id=&quot;Iq5cLHHByThz&quot;]</title>
				<link></link>
				<pubDate>Wed, 04 Feb 2026 15:12:13 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-02-04T15:12:13+0000">5 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3973b07f08c07c06aaac8428cbae1ab7</guid>
				<title>[trilium_note id=&quot;gfnDOonh91FH&quot;]</title>
				<link></link>
				<pubDate>Wed, 04 Feb 2026 15:08:24 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-02-04T15:08:24+0000">5 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b3862cef072701cb540bec6e64f24e75</guid>
				<title>[trilium_note id=&quot;e8r0eGKZFZ2h&quot;]</title>
				<link></link>
				<pubDate>Wed, 04 Feb 2026 15:04:08 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-02-04T15:04:08+0000">5 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">de473c5441db0d91f223166b196bd5f1</guid>
				<title>[trilium_note id=&quot;dxiYx6Aisdlr&quot;]</title>
				<link></link>
				<pubDate>Wed, 04 Feb 2026 14:33:49 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-02-04T14:33:49+0000">5 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ba40d293228ffa9336ce2a1579a3d5b3</guid>
				<title>[trilium_note id=&quot;vsoXvo8hKe8Z&quot;]</title>
				<link></link>
				<pubDate>Mon, 26 Jan 2026 10:27:38 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-01-26T10:27:38+0000">6 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cb23acc5acdaed8a1317fac0d42d34ac</guid>
				<title>[trilium_note id=&quot;YtPcJCgzBlCH&quot;]</title>
				<link></link>
				<pubDate>Fri, 16 Jan 2026 02:59:02 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-01-16T02:59:02+0000">6 月, 2 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">551d3c020cf68b31515ee9e20c504301</guid>
				<title>[trilium_note id=&quot;VQtXm8KCOVwb&quot;]</title>
				<link></link>
				<pubDate>Mon, 12 Jan 2026 12:15:57 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-01-12T12:15:57+0000">6 月, 2 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ab6429310eb48fcd9b4535f0ec7a1d11</guid>
				<title>[trilium_note id=&quot;vBXNrJiA8H5c&quot;]</title>
				<link></link>
				<pubDate>Mon, 12 Jan 2026 12:09:35 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2026-01-12T12:09:35+0000">6 月, 2 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">00ef682acf4f478803bd123139df4b29</guid>
				<title>[trilium_note id=&quot;6ATCQtzun9FJ&quot;]</title>
				<link></link>
				<pubDate>Thu, 09 Oct 2025 13:25:58 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-10-09T13:25:58+0000">9 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">edeb14601f7e928d35734574120f5bbc</guid>
				<title>[trilium_note id=&quot;xESS5wD0WVxf&quot;]</title>
				<link></link>
				<pubDate>Wed, 08 Oct 2025 11:09:20 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-10-08T11:09:20+0000">9 月, 3 週前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c4ab074f8ea68fa9ba4e3c53a3f58f3c</guid>
				<title>在 WordPress 网站日常使用中，偶尔会遇到因为插件错误导致站点崩溃、无法正常访问的问题。特别是在上传新插件或更新插件后，出现致命错误（fatal error），整个前台后台都打不开。这种情况下，了解如何通过代码手动禁用插件，能够帮助我们快速恢复站点。本文将介绍一种直接在服务器上操作，临时禁用插件的方法，适用于无法正常进入后台时的应急处理。为什么需要手动禁用插件？当 WordPress 加载插件时，如果插件内部存在：函数或类的重复声明调用不存在的函数或方法不兼容的 PHP 语法错误就会导致整个站点出现 500 错误或致命错误（critical error）。在无法进入后台禁用插件的情况下，只能通过文件系统或服务器管理界面手动干预。操作方法1. 连接服务器首先，需要通过终端（SSH）连接到运行 WordPress 的服务器，或者进入 Docker 容器内部（如果使用容器化部署）。常见命令格式：docker exec -it [容器名] bash或直接使用 SSH 登录服务器：ssh [用户名]@[服务器IP]提示：具体方式根据你的服务器环境而定。2. 进入 WordPress 插件目录WordPress 所有插件都存放在 wp-content/plugins 目录下。进入该目录：cd /path/to/your/wordpress/wp-content/plugins通常 WordPress 安装在 /var/www/html 目录下，也有可能根据不同环境有所变化。3. 禁用出问题的插件要临时禁用插件，可以采取以下两种方式：方法一：重命名插件文件夹将出问题的插件文件夹重命名，WordPress 检测不到该插件目录，就不会再加载它。命令示例：mv plugin-folder-name plugin-folder-name-bak这是一种非破坏性的操作，便于后续修复或恢复插件。方法二：删除插件文件夹如果插件问题严重，或者计划重新上传新版本插件，可以直接删除对应文件夹：rm -rf plugin-folder-name此方法会永久移除插件文件，因此操作前需谨慎确认。注意：以上plugin-folder-name为问题插件，使用时需结合实际情况进行修改。禁用后刷新站点完成上述操作后，刷新浏览器访问 WordPress 网站。如果只是单一插件导致的崩溃，站点应能立即恢复正常访问。恢复后台后，可以通过 WordPress 后台插件管理页面，重新安装或启用其他插件。&#060;hr&#062;注意事项禁用插件前，建议备份插件文件，以便需要时恢复。确认禁用的是正确的插件目录，避免误操作影响其他功能。日后排查问题时，可以根据错误日志（如 /wp-content/debug.log）定位具体原因。在正式上线环境，应尽量避免未经测试直接安装或更新插件。&#060;hr&#062;小结通过以上方法，即使在 WordPress 因插件错误导致无法进入后台时，也能通过简单的服务器操作临时禁用问题插件，快速恢复网站正常运行。这是每一位 WordPress 网站管理员应掌握的基本技能之一。掌握这种方法，可以大大提升在紧急情况下的应对能力，为网站稳定运行提供有力保障。</title>
				<link></link>
				<pubDate>Thu, 26 Jun 2025 00:47:13 +0000</pubDate>

									<content:encoded><![CDATA[<p>在 WordPress 网站日常使用中，偶尔会遇到因为插件错误导致站点崩溃、无法正常访问的问题。特别是在上传新插件或更新插件后，出现<strong>致命错误（fatal error）</strong>，整个前台后台都打不开。这种情况下，了解如何通过代码手动禁用插件，能够帮助我们快速恢复站点。本文将介绍一种<strong>直接在服务器上操作</strong>，<strong>临时禁用插件</strong>的&#8230;<span class="activity-read-more" id="activity-read-more-8608"><a href="" rel="nofollow ugc">［閱讀更多］</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5334bbeef4770a9a91bbf95a03aa7fbe</guid>
				<title>应用程序密码（Application Password）是 WordPress 从 5.6 起引入的一项功能，它允许第三方服务（如 n8n、Zapier）通过 REST API 安全访问 WordPress，而无需暴露真实账户密码。如果你使用 Docker 在本地部署了 WordPress，可能会发现默认情况下 WordPress 后台并没有显示“应用程序密码”功能。这通常是因为 WordPress 检测到当前环境不是 HTTPS 或没有显式设置环境变量，从而出于安全考虑禁用了该功能。本篇文章将介绍如何通过修改 wp-config.php 文件，显式设置 WordPress 环境类型为 local，从而在本地（即使是 HTTP 环境）启用应用程序密码功能。&#060;hr&#062;&#x2733;&#xfe0f; 为什么需要启用 WP_ENVIRONMENT_TYPE？WordPress 根据运行环境类型（WP_ENVIRONMENT_TYPE）判断是否允许某些敏感操作。默认情况下：若站点未启用 HTTPS，且环境不是 local，则禁用应用程序密码功能。显式设置 WP_ENVIRONMENT_TYPE 为 local 可绕过 HTTPS 校验，启用此功能。这对于本地开发、Docker 部署场景来说非常实用。&#x2705; 环境前提确保你已经：使用 Docker 成功部署 WordPress（例如使用官方镜像）WordPress 可正常访问（如 http://localhost ）使用 Docker 工具（如 Dockge、Portainer）或 CLI 管理容器熟悉基本的 Docker 命令（如 docker cp, docker exec）由于 WordPress 的官方 Docker 镜像非常精简，容器内部没有 vi 或 nano 编辑器。我们推荐使用以下方式在主机上修改文件，再将其复制回容器中，具体步骤如下：&#x1f527; 步骤一：复制配置文件到宿主机WordPress 的配置文件位于容器内部路径 /var/www/brave2049.com/htdocs/wp-config.php。使用如下命令将其复制出来：docker cp wordpress:/var/www/brave2049.com/htdocs/wp-config.php ./wp-config.php这将在你当前的主机目录下生成一个可编辑的 wp-config.php 文件副本。&#x270d;&#xfe0f; 步骤二：编辑 wp-config.php使用你主机上的编辑器（如 nano）打开 wp-config.php，找到下面这行注释：/* That&#039;s all, stop editing! Happy publishing. */在它正上方添加如下代码：define( &#039;WP_ENVIRONMENT_TYPE&#039;, &#039;local&#039; );这样 WordPress 就会知道你当前是在本地环境运行，并自动放开应用密码功能的限制。&#x1f4e5; 步骤三：复制修改后的文件回容器保存文件后，将其复制回 WordPress 容器：docker cp ./wp-config.php wordpress:/var/www/brave2049.com/htdocs/wp-config.php此操作会覆盖容器内的原始配置文件。若你之前做过其他配置修改，请注意合并处理。&#x1f504; 步骤四（可选）：重启 WordPress 容器一般情况下无需重启即可生效。但如果你刷新后台后仍未看到应用密码区域，可以尝试：docker restart wordpress&#x1f680; 步骤五：在后台启用应用程序密码现在，进入 WordPress 后台：点击「用户」→「个人资料」向下滚动查找「应用程序密码（Application Passwords）」区域输入一个名称（例如：n8n 接口）点击「添加新应用密码」复制系统生成的密码（只会显示一次！）你可以将这个密码用于 REST API 请求或 n8n 等工具的认证凭据。</title>
				<link></link>
				<pubDate>Thu, 26 Jun 2025 00:45:39 +0000</pubDate>

									<content:encoded><![CDATA[<p>应用程序密码（Application Password）是 WordPress 从 5.6 起引入的一项功能，它允许第三方服务（如 n8n、Zapier）通过 REST API 安全访问 WordPress，而无需暴露真实账户密码。如果你使用 Docker 在本地部署了 WordPress，可能会发现默认情况下 WordPress 后台并没有显示“应用程序密码”功能。这通常是因为 WordPress 检测到当前环境不是 HTTPS 或没有显式设置环境变量，从而<strong>出于安全考虑禁用了该功能</strong>。本篇文章将介绍如何通过修改 <code>wp-config.php</code> 文件，显式设置 WordPress 环境类型为 <code>local</code>，从而在本地（即使是 HTTP 环境）启用应用程序密码功能。&lt;hr&gt;<b>&#038;#x27&#8230;</b><span class="activity-read-more" id="activity-read-more-8607"><a href="" rel="nofollow ugc">［閱讀更多］</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4da9bb8cc5120a3044674db7e92c7c36</guid>
				<title>如果你正在使用 n8n 实现自动化工作流，同时本地运行了 WordPress，那么将二者打通，可以让你实现如自动发布文章、抓取评论、同步用户数据等一系列强大功能。本文将一步一步介绍如何在 n8n 中添加 WordPress 凭证，以便你通过 REST API 与 WordPress 无缝通信，适用于本地 Docker 部署的开发场景。&#x2705; 前提条件你已经完成以下准备工作：已使用 Docker 成功运行 WordPress 和 n8nWordPress 可以通过浏览器访问（例如 http://localhost:80 ）n8n 可以通过浏览器访问（例如 http://localhost:5678）WordPress 后台可用，并可安装插件、生成应用密码（可参考先前文章）第一步：启用 WordPress 的 REST APIWordPress 的 REST API 默认开启，但若访问 http://localhost/wp-json/ 报 Not Found，你可能需要做以下两件事：1.登录 WordPress 后台 → 设置 → 固定链接 → 选择“文章名”或其他非默认结构 → 点击“保存更改”2.确保 WordPress 根目录下存在 .htaccess 文件，内容如下：# BEGIN WordPress
&#060;IfModule mod_rewrite.c&#062;
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&#060;/IfModule&#062;
# END WordPress3.如果你使用的是 Apache，请确保服务器配置中允许 .htaccess 生效（AllowOverride All）。设置完成后，刷新浏览器访问 http://localhost/wp-json/ 应该可以看到 JSON 数据。&#x1f510; 第二步：创建 WordPress 应用密码为了安全访问 WordPress 的 REST API，你可以使用应用密码（Application Password）而非明文密码。步骤：登录 WordPress 后台进入「用户」→「个人资料」向下滚动到「应用密码」区域输入一个名称（例如 &quot;n8n 接口&quot;）→ 点击「添加应用密码」WordPress 会立即生成一段应用密码，请复制保存，稍后在 n8n 中使用&#x26a0;&#xfe0f; 应用密码只会显示一次，丢失后需要重新生成。&#060;hr&#062;&#x1f310; 第三步：确定 WordPress 的访问地址（Base URL）在本地 Docker 环境下，n8n 和 WordPress 是两个容器，容器之间的通信地址不是 localhost，而是使用 Docker 内部网络。例如，如果你的 Docker Compose 文件中 WordPress 服务命名为 wordpress，端口为 80：n8n 连接 WordPress 的地址应该写成：http://wordpress:80这是容器之间通过网络互通的地址，而不是浏览器中访问的 IP 地址。&#060;hr&#062;&#x1f527; 第四步：在 n8n 中添加 WordPress 凭证打开 n8n 的网页界面（例如：http://localhost:5678）左侧点击「Credentials（凭证）」 → 点击右上角「+ Create」搜索并选择「WordPress」填写凭证信息：点击「Save」保存凭证&#x1f9ea; 第五步：测试连接是否成功你可以新建一个 Workflow，添加 WordPress 节点，如「Get All Posts」，选择刚刚创建的凭证，运行看看是否能拉取文章。如果返回的是 JSON 数据或文章列表，就说明连接成功 &#x1f389;！参考资料：（1）n8n文档</title>
				<link></link>
				<pubDate>Thu, 26 Jun 2025 00:44:57 +0000</pubDate>

									<content:encoded><![CDATA[<p>如果你正在使用 <a href="https://n8n.io/" rel="nofollow ugc">n8n</a> 实现自动化工作流，同时本地运行了 WordPress，那么将二者打通，可以让你实现如<strong>自动发布文章、抓取评论、同步用户数据</strong>等一系列强大功能。本文将一步一步介绍如何在 <strong>n8n 中添加 WordPress 凭证</strong>，以便你通过 REST API 与 WordPress 无缝通信，适用于本地 Docker 部署的开发场景。<b>&#x2705; 前提条件</b>你已经完成以下准备工作：</p>
<ul>
<li>已使用 Docker 成功运行 WordPress 和 n8n</li>
<li>WordPress 可以通过浏览器访问（例如 <code>http://localhost:80</code> ）</li>
<li>n8n 可以通过浏览器访问（例如 <code>http://localhost:5678</code>）</li>
<li>WordPress 后台可用，并可安装插&#8230;</li>
</ul>
<p><span class="activity-read-more" id="activity-read-more-8606"><a href="" rel="nofollow ugc">［閱讀更多］</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">343983316f4e4ebfc077a9a6b85ba445</guid>
				<title>[trilium_note id=&quot;xr3tJg5rRC4I&quot;]</title>
				<link></link>
				<pubDate>Sat, 10 May 2025 00:06:00 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-05-10T00:06:00+0000">1 年, 2 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a68c7abdfe9999f41651406acc76bcf7</guid>
				<title>[trilium_note id=&quot;sqRE60jZSjnK&quot;]</title>
				<link></link>
				<pubDate>Tue, 06 May 2025 01:41:26 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-05-06T01:41:26+0000">1 年, 2 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e35fb436bd2862fa6ecdb2df69136bbd</guid>
				<title>[trilium_note id=&quot;rZY6N77kw0Bn&quot;]</title>
				<link></link>
				<pubDate>Tue, 06 May 2025 01:40:44 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-05-06T01:40:44+0000">1 年, 2 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cb4794f653e270d87b6697b8ecde4a4b</guid>
				<title>[trilium_note id=&quot;FDQYLokG2cn5&quot;]</title>
				<link></link>
				<pubDate>Fri, 02 May 2025 01:42:10 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-05-02T01:42:10+0000">1 年, 2 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">bc1d653cbe801b42b2dc6ab2d7612865</guid>
				<title>[trilium_note id=&quot;8QtJncctxT9q&quot;]</title>
				<link></link>
				<pubDate>Sun, 13 Apr 2025 02:19:32 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-04-13T02:19:32+0000">1 年, 3 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b21e40cce664fe5bec39eff6f7366333</guid>
				<title>[trilium_note id=&quot;bwwdWNcSLPuG&quot;]</title>
				<link></link>
				<pubDate>Sat, 15 Mar 2025 10:57:47 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-03-15T10:57:47+0000">1 年, 4 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9b15a1410f730849023688ffce38f6a0</guid>
				<title>[trilium_note id=&quot;qUtNMH5YnkeV&quot;]</title>
				<link></link>
				<pubDate>Fri, 03 Jan 2025 13:37:04 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2025-01-03T13:37:04+0000">1 年, 6 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8315cdca3e9e5cd02470b0cab7df891d</guid>
				<title>[trilium_note id=&quot;XI1JW4uIikQW&quot;]</title>
				<link></link>
				<pubDate>Thu, 28 Nov 2024 14:49:28 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-28T14:49:28+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ed47b5123f655c84c3719c64d592326f</guid>
				<title>[trilium_note id=&quot;eVksg5KT2pG2&quot;]</title>
				<link></link>
				<pubDate>Sat, 23 Nov 2024 09:36:27 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-23T09:36:27+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f0871bf0be7da498185154e03de08f4c</guid>
				<title>[trilium_note id=&quot;9jDiEYUvf43M&quot;]</title>
				<link></link>
				<pubDate>Sat, 23 Nov 2024 01:21:54 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-23T01:21:54+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1e7c01148eb2847beba8bab2ddee023c</guid>
				<title>[trilium_note id=&quot;UnVSSNZ7uhwm&quot;]</title>
				<link></link>
				<pubDate>Wed, 20 Nov 2024 08:13:49 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-20T08:13:49+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">229e61d19be5602c691b6d6e5a330a31</guid>
				<title>[trilium_note id=&quot;RCTlcbKx8oZB&quot;]</title>
				<link></link>
				<pubDate>Tue, 19 Nov 2024 11:42:39 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-19T11:42:39+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8f7b27fd7b240d791147bf77c6d0b3cf</guid>
				<title>[trilium_note id=&quot;YHlVxRcA6s8D&quot;]</title>
				<link></link>
				<pubDate>Mon, 18 Nov 2024 10:31:28 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-18T10:31:28+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">05234523e02976f83f2431f62257acbd</guid>
				<title>[trilium_note id=&quot;CTLbVxMe4NZG&quot;]</title>
				<link></link>
				<pubDate>Sun, 17 Nov 2024 12:53:41 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-17T12:53:41+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2b2e8e8b1cb395515586cfb2bd25dde8</guid>
				<title>[trilium_note id=&quot;yk4k3pvOiV8J&quot;]</title>
				<link></link>
				<pubDate>Sun, 17 Nov 2024 09:51:34 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-17T09:51:34+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0b058555f28c36ab8c193509b18bae28</guid>
				<title>[trilium_note id=&quot;Gm3vieOpwFFD&quot;]</title>
				<link></link>
				<pubDate>Sat, 16 Nov 2024 12:17:33 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-16T12:17:33+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a8353590e481b336e64393cc50eea721</guid>
				<title>[trilium_note id=&quot;QxZT0GwNgD2h&quot;]</title>
				<link></link>
				<pubDate>Sat, 16 Nov 2024 10:02:55 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-16T10:02:55+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">49844a64296242f97db5d89c59f7aa2d</guid>
				<title>[trilium_note id=&quot;psKtbAQTa2DS&quot;]</title>
				<link></link>
				<pubDate>Sat, 16 Nov 2024 09:34:48 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-16T09:34:48+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7d2f34eb94ad77369f1f2d63e9398cc4</guid>
				<title>[trilium_note id=&quot;fbYnv1umy75t&quot;]</title>
				<link></link>
				<pubDate>Sat, 16 Nov 2024 01:05:21 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-16T01:05:21+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8600e5852862b120c2f7bbaa48b0f0ab</guid>
				<title>[trilium_note id=&quot;7XltjHGqU2ld&quot;]</title>
				<link></link>
				<pubDate>Fri, 15 Nov 2024 04:17:52 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-15T04:17:52+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a70d0518dbd63646242da03c42849521</guid>
				<title>[trilium_note id=&quot;uWOl8fGTB2aj&quot;]</title>
				<link></link>
				<pubDate>Sat, 09 Nov 2024 01:36:43 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-09T01:36:43+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">70a959e4d17d67728e55410224907f07</guid>
				<title>[trilium_note id=&quot;6JcnMOls22Ye&quot;]</title>
				<link></link>
				<pubDate>Sat, 09 Nov 2024 01:35:17 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-09T01:35:17+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">016618505e74d5635eb389b81b731517</guid>
				<title>[trilium_note id=&quot;e3bpJ6zIXdFL&quot;]</title>
				<link></link>
				<pubDate>Sat, 09 Nov 2024 01:32:23 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-09T01:32:23+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3f09a12e52805026365de88a77ca53ff</guid>
				<title>[trilium_note id=&quot;vctInxgF4gll&quot;]</title>
				<link></link>
				<pubDate>Sat, 09 Nov 2024 01:27:30 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-09T01:27:30+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4f6b294b64092442ce2ccf0effc48037</guid>
				<title>[trilium_note id=&quot;S4gMC4bGn52D&quot;]</title>
				<link></link>
				<pubDate>Sat, 09 Nov 2024 01:25:42 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-09T01:25:42+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">02f04c5264168b32c5c3c9eaaf6fe064</guid>
				<title>[trilium_note id=&quot;a6nk4OfPGshc&quot;]</title>
				<link></link>
				<pubDate>Sat, 09 Nov 2024 01:24:19 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-09T01:24:19+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4f0fa120996e2dc26a47bcc351226248</guid>
				<title>[trilium_note id=&quot;bTV49DkZ932b&quot;]</title>
				<link></link>
				<pubDate>Sat, 09 Nov 2024 01:16:53 +0000</pubDate>

									<content:encoded><![CDATA[<p> <a href="" data-bp-tooltip="檢視討論" rel="nofollow ugc"><span data-livestamp="2024-11-09T01:16:53+0000">1 年, 8 月前</span></a></p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>