简体   繁体   中英

Wordpress Social Login not appearing on Registration Page

I've installed the 'Wordpress Social Plugin' on my website to allow people to register/login to the website using Facebook oAuth. The plugin works and appears on the login page but I'm unable to get it to appear on the registration page. The plugin suggests adding the following line of code to the page that we would like to require the option:

<?php do_action( 'wordpress_social_login' ); ?>

I've tried adding it to the 'wp-login.php' as well as to includes/general-template.php - This caused it to appear twice on the login page.

Confusion!

First of all, and providing your theme supports it, it might be a good idea to try to use a sidebar or widget area to output the plugin's content.

If not you can put the do_action(); code into the theme file that is rendering the page.

It's impossible to give any acute answers without seeing some code though. :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM