Skip to content

Commit 51449f6

Browse files
committed
test
1 parent d3ff35e commit 51449f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

function-definitions.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -899,9 +899,10 @@ function multiloquent_paralax_slider()
899899
$mods = get_theme_mods();
900900
if (! empty($mods['paralax_featured']) && $mods['paralax_featured'] != 'tags') {
901901
// they have selected 'excerpt'
902-
//$excerpt = apply_filters('the_excerpt', get_post_field('post_excerpt', $val->ID));
903-
$post = get_post($val->ID);
904-
$excerpt = apply_filters( 'get_the_excerpt', $post->post_excerpt );
902+
903+
$excerpt = '';
904+
//$excerpt = apply_filters( 'get_the_excerpt', $val->post_excerpt );
905+
$excerpt = apply_filters('the_excerpt', get_post_field('post_excerpt', $val->ID));
905906
$output .= $excerpt;
906907
} else {
907908
$posttags = wp_get_post_tags($val->ID);

0 commit comments

Comments
 (0)