Doesn't work with Module Positions Plugin / Custom Content
-
With normal page content the plugin works for ordinary needs. I ran a number of tests with it enabled/disabled and checking the options and they passed.
However, I regularly use a plugin called ModulePositions. With ModulePositions you set a module name, then create content that displays in the module/position. In the page template, header/footer, etc you then add some code to make the content appear wherever you want. It’s an incredibly useful plugin. The code would look something like:
<?php echo do_shortcode(‘[moduleposition id=”1″]’); ?>
What I’ve found is that wpautop control does not work with the content generated with the plugin. In particular, images, links, span text and even comments will still end up being enclosed by the paragraph tags or add a line break in some cases.
To get around this I have to jump through hoops and surround these items with a div, something like <div style=”float:left;”>.
Can you do anything to make it work more universally and not just with page or post content?
- The topic ‘Doesn't work with Module Positions Plugin / Custom Content’ is closed to new replies.