WordPress.org

Ready to get started?Download WordPress

Forums

Facebook AWD All in one
[resolved] Insert Login Button on template .php file (4 posts)

  1. Jordi
    Member
    Posted 2 years ago #

    Hi!

    I would like to know if it's possible to insert the Login Button by default on my template as a php script.

    I know I can insert the shortcode, but this just works through Wordpree admin panel.

    Thanks!

    http://wordpress.org/extend/plugins/facebook-awd/

  2. AHWEBDEV
    Member
    Plugin Author

    Posted 2 years ago #

    All shortcodes can be used as php in wordpress.

    To add a login button in template:

    <?php
    echo do_shortcode('[AWD_loginbutton]');
    ?>

    You should read this post and translate it at the bottom of the page:
    http://www.ahwebdev.fr/plugins/documentation/facebook-awd/activer-facebook-connect-sur-son-blog-wordpress.html

  3. partha.rkl
    Member
    Posted 1 year ago #

    can we set one logout option for both facebook logout and admin panel logout.

    for example:
    http://facebook-awd.ahwebdev.fr/documentation/

    So just suggest.

    thank you.

  4. AHWEBDEV
    Member
    Plugin Author

    Posted 1 year ago #

    @partha.rkl Normally, logout should work as you described.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic