oliveiravinicius
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [List category posts] List posts from specific combination of categoriesI would also love to know how.
However now my question is this, would like the excerpt was the entire content that is above the tag <!- more ->, one would have any idea how to do this?
I managed to make the HTML tags appear. Just change the following line to this:
//$lcp_excerpt = strip_shortcodes(strip_tags($single->post_content));
$lcp_excerpt = $single->post_content;public function get_excerpt($single){ if ( $this->params['excerpt']=='yes' && !($this->params['content']=='yes' && $single->post_content) ){ /* * Strip shortcodes - #5 * http://codex.wordpress.org/Function_Reference/strip_shortcodes */ if($single->post_excerpt){ return $single->post_excerpt; } $lcp_excerpt = $single->post_content; $exc_lim = intval($this->params['excerpt_size']); $lcp_excerpt = mb_substr($lcp_excerpt, 0, $exc_lim) . '...'; return $lcp_excerpt; } else { return null; } }I am also having the same difficulty. I’ve tried everything and could not resolve this issue. If the developer can help would be great. Thank you in advance and excuse my english.
Viewing 4 replies - 1 through 4 (of 4 total)