Ghyslain
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
same issue here
Forum: Plugins
In reply to: [Classic Editor] Classic editor not working properly after update to WP 5.6same for me, blank page with the visual editor, text editor still fine
Forum: Plugins
In reply to: [WP Popular Posts] Empty paragraphs using shortcode with html outputAfter several attempts, I opted for remove_filter(‘term_description’, ‘wpautop’);
🙂 thanks for your help again !Forum: Plugins
In reply to: [WP Popular Posts] Empty paragraphs using shortcode with html outputHi Héctor, thank you so much for replying that fast! Your solution looks good, before I try it what do you think of that instead ? (I’m using the shortcode in a tag description that’s why I’m using term_description in add_filter below), but so far no luck, it doesn’t see to work … Am I getting close ?
function shortcode_empty_paragraph_fix( $content ) { // define your shortcodes to filter, '' filters all shortcodes $shortcodes = array('wpp'); foreach ( $shortcodes as $shortcode ) { $array = array ( '<p>[' . $shortcode => '[' .$shortcode, '<p>[/' . $shortcode => '[/' .$shortcode, $shortcode . ']</p>' => $shortcode . ']', $shortcode . ']<br />' => $shortcode . ']' ); $content = strtr( $content, $array ); } return $content; } add_filter( 'term_description', 'shortcode_empty_paragraph_fix' );Thanks @eizzumdm ! it works.
Does someone know if Mailpoet has fixed the issue ?Forum: Plugins
In reply to: [Facebook Comments] Mysterious security warning bugging my websiteSame here, it only appears on certain post. Any solution ?
Viewing 6 replies - 1 through 6 (of 6 total)