Please or Register to create posts and topics.

#forum-navigation

Hello!

Thank you for the forum. Could you add in the next version a classes for the navigation links please. For example:

function showLoginLink() {
        if (!is_user_logged_in() && $this->options['show_login_button']) {
            echo '<a class="login-link" href="'.wp_login_url($this->get_link('current', false, false, '', false)).'">'.__('Login', 'asgaros-forum').'</a>';
        }
    }

    function showRegisterLink() {
        if (!is_user_logged_in() && get_option('users_can_register') && $this->options['show_register_button']) {
            echo '<a class="register-link" href="'.wp_registration_url().'">'.__('Register', 'asgaros-forum').'</a>';
        }
    }

It is easy to use when you open a popup with the registration form or login form. Thank you!

Hello @muddy2

I just added additional css-classes to the development-version of the plugin:

https://github.com/Asgaros/asgaros-forum/commit/0efbeca1330b84a07ec8554d1e776dca608200ca

Muddy2 has reacted to this post.
Muddy2
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Thank you!