Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作 wordpress 主题,并且卡在页面模板制作上,所以我需要帮助...
我希望我的模板在选择时向用户文本编辑框添加简码。例如:3栏首页应添加:[column1][/column1] [column2][/column2] [column3][/column3]
有没有办法对此进行编码?
这个插件完全符合您的要求,或者如果您想自己写一个,我建议您使用WordPress Codex,特别是这个页面。做你想做的事情的代码有点太大和复杂,不能随便放在这里,你不会学到任何有用的东西。