Elementor does not work on some posts and pages.
-
Hello!
What needs to change here can work Elementor?function the_content( $more_link_text = null, $strip_teaser = false) { $content = get_the_content( $more_link_text, $strip_teaser ); /** * Filters the post content. * * @since 0.71 * * @param string $content Content of the current post. */ $content = apply_filters( 'the_content', $content ); $content = str_replace( ']]>', ']]>', $content ); echo $content; } /** * Retrieve the post content. * * @since 0.71 * * @global int $page * @global int $more * @global bool $preview * @global array $pages * @global int $multipage * * @param string $more_link_text Optional. Content for when there is more text. * @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false. * @return string */ function get_the_content( $more_link_text = null, $strip_teaser = false ) { global $page, $more, $preview, $pages, $multipage; $post = get_post(); if ( null === $more_link_text ) { $more_link_text = sprintf( '<span aria-label="%1$s">%2$s</span>', sprintf( /* translators: %s: Name of current post */ __( 'Continue reading %s' ), the_title_attribute( array( 'echo' => false ) ) ), __( '(more…)' ) ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Elementor does not work on some posts and pages.’ is closed to new replies.