Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support gonzalesc

    (@gonzalesc)

    Hi.
    I see that you page doesnt have the Twitter library.

    Maybe you have defined the SPU_UNLOAD_TW_JS constant or in settings section the Unload Twitter javascript option is checked, please validate it.

    Or if you wish, you can add this library manually using the wp_enqueue_script hook with this code in your functions.php :

    <?php
    function timerys_enqueue_scripts() {
    	wp_enqueue_script( 'spu-twitter', '//platform.twitter.com/widgets.js', ['jquery'], false, false);
    }
    add_action( 'wp_enqueue_scripts', 'timerys_enqueue_scripts' );

    Regards

    Thread Starter yahya7179

    (@yahya7179)

    Hello
    thanks for help
    and sorry for the late reply because I thought no one will answer my post
    still, it is not working
    I don’t know how to add these codes can you explain more
    In settings section the Unload Twitter javascript option is NOT checked
    thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Twitter short code not working’ is closed to new replies.