Prevent shortcode from being wrapped in tags

Instead of trying to remove the automatically added paragraphs before or after the fact, you can try removing the wpautop filter from the_content within your shortcode (and re-adding it to maintain consistency for other plugins etc.): add_shortcode( ‘test’, ‘test_sc’ ); function test_sc( $atts ){ remove_filter( ‘the_content’, ‘wpautop’ ); $content = apply_filters( ‘the_content’, ‘$\frac{15}{5} = 3$’ … Read more

Duplicate Settings Plugin, Independent & Separate by Tab

Essentially what you can do is add an identifier for each ‘tab’ and then save it in a multidimensional array, this is a neat trick that inputs can do and works great for WordPress plugins that uses tabs. <form id=”form_1″> <div class=”tab_1″> <input type=”text” name=”tab1[‘fieldname_0’]” value=”tab_1_0″> <input type=”text” name=”tab1[‘fieldname_1’]” value=”tab_1_1″> <input type=”text” name=”tab1[‘fieldname_2’]” value=”tab_1_2″> <input … Read more

Do I still need a theme to use page builders?

do I still need a theme? Yes! You always need a theme in WP, Elementor is still just a plugin, it lets you put various custom content, but for Elementor specifics you should contact elementor support, 3rd party plugins are offtopic on this stack. Keep in mind that without a theme, there’s no main post … Read more

Post-terms-order PHP errors after update

Welcome! This PHP warning is related to the new update of WordPress (5.3) which had a change in Walker class. Previously the walker method had 2 arguments. In the new update, it has more arguments. In order to fix the issue, You need to change the code from Post_Terms_Order_Walker::walk($elements, $max_depth) to Post_Terms_Order_Walker::walk($elements, $max_depth, …$args) Note: … Read more