本文最后更新于209 天前,其中的信息可能已经过时,如有错误请发送邮件到[email protected]
没用的前言
众众众众所周知,开发WordPress主题需要懂(酝酿中...)PHP,HTML,CSS,JS作为一个有志向的xxs,我选择了知难而退(别打了,妈妈!)
有用的前言
当然,这些我好像也许似乎应该可能一个也不懂:(
蛋柿,我智商250的脑瓜突然有个好主意!
没座!就是他,就是WordPress的区块编辑器
有用的想法
我的想法是这样:
首先下载WordPress的twenty twenty-five主题(大部分安装WordPress时已经有了),然后进入外观->编辑,打开区块编辑器,把原来的都删掉,自己重做,然后下载源码,把styles.css里的主题信息改成自己的(只要遵守GPL协议就行)新主题闪亮登场!
正文
说干就干,我折腾了两年半,终于开发出了Wex主题!
Github
Wex官网(尚未建成)
废话不多说,上教程!
教程
1.打开你的WordPress后台
2.选择twenty twenty-five主题,并启用
3.选择外观->编辑,进入区块编辑器
4.在区块编辑器里编辑内容
5.编辑完成后保存,然后点击右上角三个点,选择导出
6.解压导出的zip
7.进入解压完成后的目录
8.用记事本(或者notepad++都行,最好不要用word)打开styles.css
9.修改主题信息
需要修改的内容如下:
Theme Name: 主题名称
Theme URI: 主题官网
Author: 作者
Author URI: 作者链接
Description: 主题简介
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 主题版本 例:1.2.0
License: 主题开源协议
License URI: 开源协议地址
Text Domain: 随便
Tags: 主题标签
注:Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
不改
10.截屏一张主题的效果图,替换主题里的screenshot.png
11.大功告成,可以上传到wordpress.org或Github
结语
作者最近得补一下php,html,css和js了,结语就烂尾吧,再见!




Guys, I’m addicted to Mahjong Ways and Mahjong Ways 2! That cascading win feature is where’s at! Get your dose of luck here mahjong ways
Dice games are surprisingly complex when you start thinking about probabilities! It’s cool how platforms like lodi646 games are making it easier to enjoy them with quick registration & local payment options like GCash. Fun stuff! 😊
Interesting take on bankroll management! Seeing platforms like jl29 link app download focus on provably fair games & fast PHP settlements via GCash is a smart move for the Philippine market. Transparency is key! 🧐
What a brilliant hack! The Gutenberg block editor approach makes theme development accessible without deep coding knowledge. This method reminds me of no-code platforms revolutionizing digital creation. Just like how phdream44 download apk platforms simplify complex tech, your Wex theme democratizes WordPress theming. Kudos on the creative problem-solving!