Title: Shortcode in php doesn&#8217;t works
Last modified: May 16, 2018

---

# Shortcode in php doesn’t works

 *  Resolved [halloy](https://wordpress.org/support/users/halloy/)
 * (@halloy)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/shortcode-in-php-doesnt-works/)
 * Hello, I need to add the shortcode for Facebook login in a PHP page (WP) but 
   nothing appears. I added this above in a div
    `<?php echo do_shortcode('[TheChamp-
   Login style="background-color:#000;"]') ?>` Could you help me please ?
 * Thanks a lot !

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

 *  Plugin Author [Heateor Support](https://wordpress.org/support/users/heateor/)
 * (@heateor)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/shortcode-in-php-doesnt-works/#post-10296200)
 * Hi there,
 * Make sure that you have enabled social login at `Super Socializer > Social Login`
   page in admin and you are not logged into your website while testing the shortcode.
 *  Thread Starter [halloy](https://wordpress.org/support/users/halloy/)
 * (@halloy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/shortcode-in-php-doesnt-works/#post-10331901)
 * Thabnks for your reply. Finally, I added the shortcode into the page. Of course,
   it’s enabled into Supers Socializer > Social Login.
    I had created an app in 
   Facebook Developper but I made a mistake into the url auth. I changed it today(
   [https://mywebsite.com/?SuperSocializerAuth=Facebook](https://mywebsite.com/?SuperSocializerAuth=Facebook))
   but it is always the previous url wich is displayed ([https://mywebsite.com/wp-login.php?loginSocial=facebook](https://mywebsite.com/wp-login.php?loginSocial=facebook)).
   The url is correctly saved in the settings of the FB app. The cache is emptied.
   I don’t understand why the WP connexion is always displayed. And it opens a new
   window, not a popup.
 * Thanks for your help !
 *  Plugin Author [Heateor Support](https://wordpress.org/support/users/heateor/)
 * (@heateor)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/shortcode-in-php-doesnt-works/#post-10337881)
 * Would you let us know the url of webpage where you have added the shortcode?

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

The topic ‘Shortcode in php doesn’t works’ is closed to new replies.

 * ![](https://ps.w.org/super-socializer/assets/icon-128x128.png?rev=1866723)
 * [Social Share, Social Login and Social Comments Plugin - Super Socializer](https://wordpress.org/plugins/super-socializer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/super-socializer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/super-socializer/)
 * [Active Topics](https://wordpress.org/support/plugin/super-socializer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/super-socializer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/super-socializer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Heateor Support](https://wordpress.org/support/users/heateor/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/shortcode-in-php-doesnt-works/#post-10337881)
 * Status: resolved