Ready to get started?Download WordPress


[resolved] Using Bucket Shortcodes in Templates (2 posts)

  1. adambloomer
    Posted 1 year ago #

    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?


  2. matthewordie
    Plugin Author

    Posted 1 year ago #

    Ah, sorry for the delay WordPress doesn't notify me when I get support requests. I know this is old, but I updated the code for you. It will be out this weekend sometime with the 1.8 release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic