Allow more characters in the description code not working
-
Hey!
I found a previous thred about this topic. And there were this code:
function pp_custom_excerpt_length( $length ) {
GLOBAL $post;
if( $post->post_type == ‘process_posts’ ){
return 100; //change value according to your requirement
}
return $length;
}
add_filter( ‘excerpt_length’, ‘pp_custom_excerpt_length’, 999 );If i add this code to JupiterX functions.php file, it crashes the site. Is there any solution to solve this? On the sample page only the 4th step is longer what needs to be fixed. Thanks in advanced for the help!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Allow more characters in the description code not working’ is closed to new replies.