Activar el extracto en los posts.
git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@52 77ab8c26-3d69-2c4d-86f2-786f4ba54905
This commit is contained in:
parent
e9bc099bde
commit
8c473756cb
@ -375,8 +375,10 @@ function get_the_content_with_formatting ($more_link_text = '(more...)', $stript
|
|||||||
{
|
{
|
||||||
$pp_blog_read_more_title = 'Read More';
|
$pp_blog_read_more_title = 'Read More';
|
||||||
}
|
}
|
||||||
|
$content = get_the_excerpt();
|
||||||
$content = get_the_content('', $stripteaser, $more_file);
|
if (strlen($content) < 1) {
|
||||||
|
$content = get_the_content('', $stripteaser, $more_file);
|
||||||
|
}
|
||||||
$content = strip_shortcodes($content);
|
$content = strip_shortcodes($content);
|
||||||
$content = str_replace(']]>', ']]>', $content);
|
$content = str_replace(']]>', ']]>', $content);
|
||||||
$content = _substr(strip_tags(strip_shortcodes($content)), 600);
|
$content = _substr(strip_tags(strip_shortcodes($content)), 600);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user