TimeLine Layout

2 月, 2026

  • 1 2 月

    Siteground git流程

    Based on our progress, here is your consolidated, complete guide to using Git with SiteGround. This covers everything from the initial handshake to daily deployment. Part 1: Initial Setup (One-Time) Before you can send code, you must establish a secure connection between your computer ...

    阅读更多 »

1 月, 2026

  • 26 1 月

    n8n结合polylang和deepseek翻译流程全记录

    首先要去创建获取的路由(get)和写入的路由(post) 这个目前针对文章和产品文章分类翻译有效,页面没配置过,页面需要涉及到一个block的翻译的问题 class Polylang_REST_API_Extension { private $namespace = 'polylang-api/v1'; public function __construct() { add_action('rest_api_init', array($thi...

    阅读更多 »
  • 23 1 月

    为什么ds+n8n翻译只能保存一种语言解答

    Looking at your workflow, I can identify the exact problem and provide a solution. The Problem The issue is in your "Set Language Config" node where you define: javascript target_languages: "zh" // Single string, not an array Even though you later split this with "Split Target La...

    阅读更多 »
  • 23 1 月

    使用n8n+deepseek进行翻译最强教程(文章很长)

    第一步 Complete N8N Workflow for Automated Polylang Translation with DeepSeek I'll guide you through building a complete automated translation workflow for Polylang using N8N and DeepSeek API. Overview of the Workflow The workflow will: Fetch untranslated posts from WordPress ...

    阅读更多 »
  • 22 1 月

    如何用claude的api来自动翻译通过polylang

    <?php/** Polylang AI Auto-Translator This script automatically translates WordPress content using AI and updates the database in Polylang's required format. Usage: php polylang-translator.php --source=en --target=zh-TW --type=post*/ require_once(DIR . '/wp-load.php'); clas...

    阅读更多 »
  • 22 1 月

    Modulo马杜罗操作符讲解和余数的周期性

    To understand why $sequence_val = ($count % 3) * 50; creates that specific pattern, you have to look at it in two steps: the Modulo (the "Reset" button) and the Multiplier (the "Scale"). 1. The Modulo ($count % 3) % 马杜罗操作符返回两数相除的余数 The modulo operator % returns the remain...

    阅读更多 »
  • 16 1 月

    block里面文字无法保存的问题的解释

    Your update functions were mutating the existing objects instead of creating new ones: javascript// ❌ Before (broken - mutates existing objects)const updateStat = (index, field, value) => { const newStats = [...stats]; // Shallow copy - objects are same references! ...

    阅读更多 »
  • 16 1 月

    为什么editor.scss样式文件没有加载到editor里

    The Problem Your editor.scss styles were targeting: css.wp-block-custom-global-reach └── .global-reach But your edit.js was rendering only: html<section className="global-reach"> Two issues: Missing useBlockProps() - WordPress wasn't adding the wp-bl...

    阅读更多 »
  • 16 1 月

    wp fields framork结合polylang翻译

    I'll help you integrate Polylang translation support into your WP Simple Fields framework. Here's a comprehensive solution: Solution: Add Polylang Translation Support You need to modify your framework to make fields translatable. Here's how: 1. Add Translation Support to Your Framework ...

    阅读更多 »
  • 9 1 月

    WordPress多语言主题完整教程

    如果只需要翻译不需要链接形式SEO收录的话,就用Gtranslate插件,直接开始谷歌翻译,可以放多种语言 下面讲的是用polylang插件的完整操作方法,手动翻译创建多语言主题 首先要确保主题和插件符合i18n标准 也就是主题和插件要经过一系列符合wp标准的改造。 首先要设置下text-domain, 主题在styles.css里面...

    阅读更多 »