[Plugin: Buckets] Using Bucket Shortcodes in Templates
-
When using the following to add bucket contents to a template:
<?php echo do_shortcode('[shortcode]'); ?>
The WordPress generated html does not wrap paragraphs with the <p> tag.
A possible workaround is to change line 179 in buckets.php to:
$return = ($post->post_content != '') ? wpautop($post->post_content) : '';
Can this be changed in the plugin files please?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Buckets] Using Bucket Shortcodes in Templates’ is closed to new replies.