Linux 软件免费装
Banner图

Don't Muck My Markup

开发者 Martyn Chamberlin
更新时间 2019年11月17日 12:08
PHP版本: 3.9 及以上
WordPress版本: 5.3

标签

wpautop disable auto formatting remove markup default formatting

下载

详情介绍:

If you've ever had a WordPress blog post or page in which you found yourself writing more than a little HTML, you've experienced the frustration of finding your beautiful markup surrounded in <p> tags. The problem only gets worse when you start throwing jQuery into the mix. Who on earth gave WordPress permission to throw in <br/> tags inside a <script>, anyhow?! Up until now, we've only had a couple of options: As a web designer that's used WordPress successfully for several years, I finally decided these shenanigans had to stop once and for good. I built a simple but elegant plugin that lets you disable auto-generated HTML on a page-by-page basis. I hope you use and enjoy Don't Muck My Markup as much as I enjoyed building it. Note: this plugin does not work on all WordPress themes, because some themes don’t handle the filter sequence correctly. This plugin does work for well-programmed themes such as the Twenty Fourteen theme and the Genesis Framework (and child themes).

安装:

  1. Upload this plugin to your plugins directory (wp-content/plugins/).
  2. Activate this plugin.
  3. Head over to the Edit Post interface for the specific page for which you want to disable WordPress' auto-formatting.
  4. In the right sidebar underneath the "Featured Image" box, toggle the checkbox labeled, "Disable auto-formatting for this page/post."
  5. Update the page/post.
  6. To disable formatting across all pages and posts, head over to Tools -> Don’t Muck My Markup.
  7. Enjoy your newfound control!

更新日志:

1.8 1.7 1.6 1.5 1.4 1.3 1.2 1.1