#forum-navigation
Quote from Muddy2 on September 26, 2018, 6:58 pmHello!
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!
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!
Quote from Asgaros on September 27, 2018, 8:48 amHello @muddy2
I just added additional css-classes to the development-version of the plugin:
https://github.com/Asgaros/asgaros-forum/commit/0efbeca1330b84a07ec8554d1e776dca608200ca
Hello @muddy2
I just added additional css-classes to the development-version of the plugin:
https://github.com/Asgaros/asgaros-forum/commit/0efbeca1330b84a07ec8554d1e776dca608200ca