• Resolved ilzsolt

    (@ilzsolt)


    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)
  • Plugin Support baljitdhanjal

    (@baljitdhanjal)

    Hi @ilzsolt,

    Please make sure you are using the latest version of this plugin.
    In the latest version you don’t need to add filter in your active theme’s functions.php file.
    Just change the value of Content Length ? in shortcode generator option.

    Thanks

    • This reply was modified 4 years, 6 months ago by baljitdhanjal.
    Thread Starter ilzsolt

    (@ilzsolt)

    Thanks so much! Now I see. I didn’t used the new shortcode generator, I just copy pasted an old shortcode. This generator rocks! Cheers.

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.