Title: Twitter short code not working
Last modified: September 20, 2019

---

# Twitter short code not working

 *  Resolved [yahya7179](https://wordpress.org/support/users/yahya7179/)
 * (@yahya7179)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/twitter-short-code-not-working/)
 * Hello
    I don’t know why twitter follow button shortcode is not working although
   facebook page shortcode is working nicely
 * link to my page [https://traveler78.com/who-is-traveler78/](https://traveler78.com/who-is-traveler78/)
   the shortcode is under twitter bar
    my twitter account: [https://twitter.com/Traveler782](https://twitter.com/Traveler782)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftwitter-short-code-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [gonzalesc](https://wordpress.org/support/users/gonzalesc/)
 * (@gonzalesc)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/twitter-short-code-not-working/#post-11953973)
 * 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](https://wordpress.org/support/users/yahya7179/)
 * (@yahya7179)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/twitter-short-code-not-working/#post-11972813)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/popups_efeef0.svg)
 * [Popups - WordPress Popup](https://wordpress.org/plugins/popups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popups/)
 * [Active Topics](https://wordpress.org/support/plugin/popups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popups/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [yahya7179](https://wordpress.org/support/users/yahya7179/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/twitter-short-code-not-working/#post-11972813)
 * Status: resolved