Doesn’t work cbx bookmark plugin
-
Hello,
it didn’t work because of the code:public function get_the_rcno_book_review_content( $review_id ) { $read_more = Rcno_Reviews_Option::get_option( 'rcno_excerpt_read_more' ); $review_content = ''; $review_content .= '<div class="rcno-book-review-content">'; // We need to check this or we'll get an infinite loop with embedded reviews. if ( $this->is_review_embedded() ) { $review_content .= wpautop( get_post_field( 'post_content', $review_id ) ); } else { $review_content .= wpautop( get_the_content( $read_more ) ); //$review_content .= apply_filters( 'the_content', get_the_content() ); // TODO: look into this. } $review_content .= '</div>'; return $review_content; }
Have to use apply_filter instead wpautop to work.
Is it safe to comment wpautop and uncomment apply_filter?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Doesn’t work cbx bookmark plugin’ is closed to new replies.