P text added to html text

前端 未结 3 1621
栀梦
栀梦 2021-01-19 20:02

I know there are a lot of topics on this, and I\'ve already looked at all them and none of the solutions there apply to me.

I\'ve put a shortcode to run a jscript fo

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-19 20:28

    I had the same problem once, and add_filter( 'the_content', 'wpautop') does not work on my theme. So what I did was the following:

    1. In the revo slider admin area, select the slider that is not displaying well.

    2. Look for the troubleshooting tab (Bottom right) then change the values

    3. Jquery No Conflict Mode = ON

    4. Put JS Includes To Body = FALSE

    5. (Important part) Output Filters Protection = By Compressing Output

    That way, the script will be just in one line therefore the auto paragraph filter will just add the p tag to a single line

提交回复
热议问题