汤圆 Posted February 9, 2020 Share Posted February 9, 2020 请问一下 全局代码要怎么加 呢 最好是更新时也不会被替换的 Link to comment
Jack Posted February 9, 2020 Share Posted February 9, 2020 (edited) 被替换? 你代码放在模版? 论坛后台有几个能放代码的: 广告, 分析 版主控制台 -> 公告 会员用户组打开 '允许使用HTML代码' 发帖时,编辑器选择 '源码' Edited February 9, 2020 by Jack Link to comment
汤圆 Posted February 9, 2020 Author Share Posted February 9, 2020 6小时前 , Jack 说: 被替换? 你代码放在模版? 论坛后台有几个能放代码的: 广告, 分析 版主控制台 -> 公告 会员用户组打开 '允许使用HTML代码' 发帖时,编辑器选择 '源码' 但我想加php代码 Link to comment
Jack Posted February 11, 2020 Share Posted February 11, 2020 可贴PHP代码的插件 TXT & PHP Widget 在论坛后台安装这个插件 -> 单击这插件 -> Active PHP Widget -> 启用 到论坛前台拖拉Widget -> 可看到 TXT & PHP Widget 它有两个Widget选项 PHP Code Custom Text 要选对 PHP Code Widget,不然PHP代码不会生效 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now