before - WordPress - wordpress ❕ 🔬 👨🏿🤝👨🏽All geek questions in one placeThe_content () without <p> up - WordPressI run a “loop” on my index page, and when I put the_content () in the loop, it automatically adds '<p>..</p>' between the contents, and I want to cancel it.in any way? Thanks.+4wordpressLuis Apr 2 '11 at 9:22source share1 answerAdd functions.php to your file: remove_filter('the_content', 'wpautop'); +6Prydie Apr 2 '11 at 9:26source shareSource: https://habr.com/ru/post/1346347/More articles:Javascript and database connection - javascriptHow to build a file path using php? - securityNeed help finding HTML, CSS, formatting PHP code for gedit - htmlLinq to Entity and contains? - .netMaven Checkstyle Website - mavenCalling Google Map applications from an Android application to get the direction of rotation - androidanimate CSS3 gradient positions using jQuery - javascriptBoost Enum 256 Elemental Limit - c ++How to handle exceptions in sleep mode? - javaOracle Forms Vs APEX - oracle-apexAll Articles
I run a “loop” on my index page, and when I put the_content () in the loop, it automatically adds '<p>..</p>' between the contents, and I want to cancel it.
'<p>..</p>'
in any way? Thanks.
Add functions.php to your file:
remove_filter('the_content', 'wpautop');
Source: https://habr.com/ru/post/1346347/More articles:Javascript and database connection - javascriptHow to build a file path using php? - securityNeed help finding HTML, CSS, formatting PHP code for gedit - htmlLinq to Entity and contains? - .netMaven Checkstyle Website - mavenCalling Google Map applications from an Android application to get the direction of rotation - androidanimate CSS3 gradient positions using jQuery - javascriptBoost Enum 256 Elemental Limit - c ++How to handle exceptions in sleep mode? - javaOracle Forms Vs APEX - oracle-apexAll Articles