count
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -116,7 +116,7 @@ function resources($id){ | ... | @@ -116,7 +116,7 @@ function resources($id){ |
| 116 | ob_start(); | 116 | ob_start(); |
| 117 | $post = get_post($id); | 117 | $post = get_post($id); |
| 118 | $text = str_replace(']]>', ']]>', apply_filters( 'the_content', strip_shortcodes($post->post_content))); | 118 | $text = str_replace(']]>', ']]>', apply_filters( 'the_content', strip_shortcodes($post->post_content))); |
| 119 | $excerpt_length = apply_filters( 'excerpt_length', 20 ); | 119 | $excerpt_length = apply_filters( 'excerpt_length', 140 ); |
| 120 | $text = wp_trim_words( $text, $excerpt_length, ' ...' ); | 120 | $text = wp_trim_words( $text, $excerpt_length, ' ...' ); |
| 121 | $categories = get_the_terms( $id, 'resource_category' ); | 121 | $categories = get_the_terms( $id, 'resource_category' ); |
| 122 | $cat =""; | 122 | $cat =""; | ... | ... |
-
Please register or sign in to post a comment