Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Cole Geissinger

    (@brainfestation)

    Yes, you can add the login link in any location on your site. You may have two options, if you theme provides a widgetized area in the header area of your site, you can just use the widget found in Appearance > Widgets.

    If you theme doesn’t provide an that area, you will need to customize the header.php (or whatever template file your theme is using for the area in question) and add it via PHP.

    As for the redirection when a user is registered, that option isn’t available but something I’m considering for a future release.

    Thread Starter Aniruddha Mishra

    (@ani7ruddhagmailcom)

    What edition I will have to do in header.php to add this login widget below contact us menu in this website metainfos.com/demo

    plz let me know 🙂

    thanks

    Plugin Author Cole Geissinger

    (@brainfestation)

    What you will want to do is visit the Installation Page and use the code under “ADD TO THEME WITH PHP“.

    Take that code and add below the UL tags that hold your navigation and use CSS to put it in the far right position of your theme. The “strings” in the parathensis is the default options, go ahead and change those up or leave the data empty for the defaults. here’s some examples:

    Use the defaults:
    <?php add_modal_login_button(); ?>

    Add custom text with a redirect to Google.com when logging out
    <?php add_modal_login_button( 'Login Here', 'Logout Now', 'http://www.google.com' ); ?>

    In your demo site, you have added that link via the Menus feature in WordPress. In the current version this is not possible but many have requested it and will be available in a future release (date undetermined right now).

    I hope that helps. I have more detailed documentation on the installation page and on the demo site. Soon I’ll put together a demo video of me using the plugin and what can be done.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login on TopBar’ is closed to new replies.