• p15h

    (@prestonwordsworth)


    Currently, Elementor does this:

        protected function parse_text_editor( $content ) {
    /** This filter is documented in wp-includes/widgets/class-wp-widget-text.php */
    $content = apply_filters( 'widget_text', $content, $this->get_settings() );

    $content = shortcode_unautop( $content );
    $content = do_shortcode( $content );
    $content = wptexturize( $content );

    if ( $GLOBALS['wp_embed'] instanceof \WP_Embed ) {
    $content = $GLOBALS['wp_embed']->autoembed( $content );
    }

    return $content;
    }

    Would it be possible to remove the wptexturize on a single page along the following lines?

    add_filter('the_content', 'specific_no_wptexturize', 9);
    function specific_no_wptexturize($content) {
    if (is_page('slug')) {
    remove_filter( 'the_content', 'wptexturize' );
    return $content;
    } else {
    return $content;
    }
    }

    (This code remove it for Core, but not for Elemenetor-edited pages.)

Viewing 1 replies (of 1 total)
  • Plugin Support Milos

    (@miloss84)

    Hello,

    Thank you for contacting us

    I’m afraid that there is no way to do it with our current Elementor features.

    However, I have added this idea to our internal list as a Feature Request, so this feature might appear in one of the future Elementor updates. Thank you for your feedback!

    There might be third-party plugins available that have such a feature so you can join our Elementor Facebook Group ? and check with our users there for such a plugin recommendation.

    Finally, I would like to apologize for not being able to provide this particular solution at the moment. I hope for your understanding.

    If you have any questions, don’t hesitate to contact us again by opening a new ticket.

    I wish you all the best, and have a great day!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.