WP Modal Login
[resolved] How to buttonise the sidebar login? (3 posts)

  1. mahendar
    Posted 3 years ago #

    First of all,great plugin Cole. Works wonderful with my theme. I would like to ask for a small help. Can I have the code for wrapping up a button around the login link in the sidebar. I am new to wordpress and can't figure out a way of doing it.Any help would be great.


  2. Cole Geissinger
    Plugin Author

    Posted 3 years ago #

    While this scenario isn't the smoothest if you have "View Admin Link" enabled, you can use the PHP method or shortcode and wrap them both in a link or button tag or whatever you want to code it. Here's an example:
    <button class="btn"><?php add_modal_login_button(); ?></button>

    In the future I am adding more ways for users to customize this better like adding custom classes to the the link so you can easily create a button or there will be default styled buttons that oyu can customize and so forth.

    No set release date for that version, but I'm hoping I'll have time soon in the future

  3. mahendar
    Posted 3 years ago #

    Thank you Cole for your support

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic