AI助手支持GPT4.0
Create your own custom variables to manage information on your website such as:
创建自己的自定义变量来管理您网站上的信息,例如: p>
ul>
Easily access them globally in WordPress and PHP.
在WordPress和PHP中轻松地全局访问它们。 p>
Rather than having to change something like an email address across multiple pages, you can do it in one place.
您不必在多个页面上更改电子邮件地址之类的东西,而是可以在一个地方进行。
Avoid the pitfalls of hard coding information in your WordPress theme that is likely to change.
避免可能会更改WordPress主题中的硬编码信息的陷阱。 p>
That means faster load times for your pages!
这意味着页面加载速度更快! li>
Display your variables using the shortcode syntax:
使用简码语法显示变量: p>
[cgv variable-name] [cgv变量名称] code> pre>Or using the superglobal in PHP:或在PHP中使用超全局变量: p> <?php echo $ GLOBALS ['cgv'] ['variable-name']?> code> pre>
[cgv变量名称]
code> pre>
Or using the superglobal in PHP:
或在PHP中使用超全局变量: p>
<?php echo $ GLOBALS ['cgv'] ['variable-name']?> code> pre>
<?php echo $ GLOBALS ['cgv'] ['variable-name']?>
/wp-content/plugins/plugin-name
/ wp-content / plugins / plugin-name code>目录,或直接通过WordPress插件屏幕安装插件。 li>Activate the plugin through the ‘Plugins’ screen in WordPress通过WordPress中的“插件”屏幕激活插件 li>Use the Settings -> Custom Global Variables screen to define your variables使用 Settings-> Custom Global Variables code>屏幕定义变量 li>
Settings -> Custom Global Variables
Settings-> Custom Global Variables code>屏幕定义变量 li>
ol>
原文出处:http://www.sanshu.cn/a/9568.html
群主管理都是支付大佬