Whenever I am posting some content in WordPress post page it is showing some paragraph tags like <p>
and <br/>
. Which is showing some extra space in output. So is there any solution for it? How to remove all the tags?
相关问题
- Display product ACF field value in Woocommerce tra
- Adding a custom button after add to cart button in
- How to add a “active” class to a carousel first el
- Setting custom order statuses as valid for payment
- change the font size in tag cloud
相关文章
- wordpress新增页面如何个性化设置
- select query in wordpress
- Get WooCommerce featured products in a WP_Query
- Woocommerce update shipping methods in checkout vi
- Change order status just after payment in WooComme
- Publishing or uploading failed. Error message: “Th
- Facebook Login With WP JWT Auth
- Wordpress development process
Removing the
wpautop
filter is not the most flexible solution. If you are looking for a page by page solution, or post by post, you can use this plugin:https://wordpress.org/plugins/dont-muck-my-markup/
It will add a checkbox on every post/page for you to choose if the core-Wordpress behavior will be disabled for that particular page or not.
This is especially useful when you want to post some HTML code and the auto generated
<br>
and<p>
mess up your carefully engineered design.The plug-in also has a global option so you can have this behavior turned off by default on all pages/posts.
An alternative plug-in is https://wordpress.org/plugins/preserve-code-formatting/ however I only tried the one I described.
try this
By default, WordPress adds paragraph
<p></p>
tags to category descriptions. Stop this by adding the following to your functions.php fileSimple and easy (codeless).
Thank you