doudou5421 2014-12-01 20:43
浏览 40

Wordpress短代码在文本中添加<br/>和<p>

I'm trying to use a popup plugin for wordpress (https://wordpress.org/plugins/anything-popup/). Problem is, it's adding breaks to my text when I try to use the shortcode in the middle of a sentence.

See here: http://www.universaltheosophy.com/secret-doctrine-lexicon/

What should read:

"The Secret Doctrine Lexicon is a project set up by..."

ends up with a rogue paragraph break. Here's what I see in the source-code:

<p style="text-align: justify;"><i>The Secret Doctrine<br /> <style type="text/css">#AnythingPopup_BoxContainer2 ....

Now, I've tried disabling wpautop and it didn't make any difference. I'm not versed in php, so I have no idea how to edit the plugin itself if that's where the problem is. Anyone willing and able to help me out with this? (the plugin has virtually no support)

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 对于相关问题的求解与代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料
    • ¥15 使用R语言marginaleffects包进行边际效应图绘制
    • ¥20 usb设备兼容性问题
    • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
    • ¥15 安装svn网络有问题怎么办