#79713 Functions php update

Landing Forums JupiterX WordPress Theme Functions php update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Zsolt Ilia


    I’m using the process steps template designer plugin on my site. That has some charachter length limitationt, but I saw in the official support forum there is a solution for this problem. If I add this code to the functions.php

    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 );
    The original post what I found: https://wordpress.org/support/topic/how-to-allow-more-characters-in-the-description/
    But if I add this code to the php file the page is crash and its not available
    Danish Iqbal Support Team

    Hello there,


    Well, if the code is correct, it should not crash the site.

    Please consult a developer for this issue as it’s not related to the theme OR you may consult the respective plugin support.



    Zsolt Ilia

    Ok, Thanks!


    Amir Rather Support Team

    You’re most welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login