如何在我的 WordPress 博客中放置某种形式的 Subscribe2 插件? (例如:页脚)
我被 Subscribe2 插件困住了,我想在博客的页脚区域放置一个表单,但插件的文档仅讨论使用“[subscribe2]”短代码将表单放置在“页面”中。
如何在页脚或选项卡区域放置订阅表单?
I'm stuck with Subscribe2 plugin, I want to place a form for example in footer area of my blog, but plugin's documentation only talks about placing a form in a "page" using the "[subscribe2]" shortcode.
How can I place a subscribe form in the footer or tab area?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,您在 WordPress 编辑器中使用短代码,但如果您想直接在主题文件(例如 footer.php)中使用短代码,请使用
do_shortcode
函数:echo do_shortcode('[subscribe2 ]');
Normally you use shortcodes in the WordPress editor, but if you want to use one directly in your theme files (say, footer.php), use the
do_shortcode
function:echo do_shortcode('[subscribe2]');