Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeff Balicki
/
st_joseph
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f7413ca5
authored
2023-03-13 13:21:40 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
count
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
009eecde
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
wp-content/themes/crlg/inc/shortcodes-resources.php
wp-content/themes/crlg/inc/shortcodes-resources.php
View file @
f7413ca
...
...
@@ -116,7 +116,7 @@ function resources($id){
ob_start
();
$post
=
get_post
(
$id
);
$text
=
str_replace
(
']]>'
,
']]>'
,
apply_filters
(
'the_content'
,
strip_shortcodes
(
$post
->
post_content
)));
$excerpt_length
=
apply_filters
(
'excerpt_length'
,
2
0
);
$excerpt_length
=
apply_filters
(
'excerpt_length'
,
14
0
);
$text
=
wp_trim_words
(
$text
,
$excerpt_length
,
' ...'
);
$categories
=
get_the_terms
(
$id
,
'resource_category'
);
$cat
=
""
;
...
...
Please
register
or
sign in
to post a comment