• Excellent plugin, one of my favorites.

    Do you consider add this option?
    May be like a Check Box?

    Look: https://wordpress.stackexchange.com/questions/130075/stop-wordpress-automatically-adding-br-tags-to-post-content

    ———————————————————————
    function bnd_fix_shortcodes_extra_line_break( $content ){
    $array = array (
    ‘<p>[‘ => ‘[‘,
    ‘]</p>’ => ‘]’,
    ‘]<br />’ => ‘]’
    );
    $content = strtr( $content, $array );
    return $content;
    }
    add_filter(‘the_content’, ‘bnd_fix_shortcodes_extra_line_break’);
    ———————————————————————
    Thanks

    • This topic was modified 6 years, 3 months ago by w3573r.
    • This topic was modified 5 years, 4 months ago by w3573r.
Viewing 1 replies (of 1 total)
  • Thread Starter w3573r

    (@w3573r)

    The Solution:

    The new syntax:
    [sc name=”shortcode”]

    For php file:
    <?php echo do_shortcode(“[sc name=”shortcode”]”); ?>

    Delete the double quotation mark; and place the single quote: ‘ (alt+39)

    <?php echo do_shortcode(“[sc name=’shortcode’]”); ?>
    —————————–
    Not working: <?php echo do_shortcode(“[sc name=”shortcode”]”); ?>
    Working: <?php echo do_shortcode(“[sc name=’shortcode’]”); ?>

    Greetings and Blessings.

Viewing 1 replies (of 1 total)
  • The topic ‘Great Plugin…’ is closed to new replies.