• Hello guys:

    I am trying to put a great amount of text on a web page but wordpress freezes. I suspect it is due to the script of the word count.

    Did you have this problem before? How can I disable the word count at wordpress so I can test if that is the problem?

    Thank you very much,

    Alejandro

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can disable the script that does the word count by adding to your functions.php file in your theme:

    function my_init_method() {
        wp_deregister_script( 'word-count' );
    }    
    
    add_action('init', 'my_init_method');
    Thread Starter janolima

    (@janolima)

    Thank you very very much. I added the code at the end of the functions.php file and it works! But is that the right place for the code?

    As I supposed, now wordpress does not freeze even if I put larges amounts of text on a web page. So would you think this is a wordpress issue or a theme issue? I am a little bit worried because my theme is a paid one so I would want to know in order that I can report the bug.

    Thanks again man,

    Alejandro

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Word Count’ is closed to new replies.