| @@ -97,15 +97,11 @@ | ||
| 97 | 97 | <button class="subscription-login-modal-close" aria-label="<?php esc_attr_e( 'Close', 'forumax' ); ?>">×</button> |
| 98 | 98 | <h3 class="frmx-inline-login-title"><?php echo esc_html( forumax_get_opt( 'subscription_modal_title', __( 'Login to the community', 'forumax' ) ) ); ?></h3> |
| 99 | 99 | <p class="frmx-inline-login-subtitle"><?php echo esc_html( forumax_get_opt( 'subscription_modal_subtitle', __( 'You must be logged in to subscribe to this topic.', 'forumax' ) ) ); ?></p> |
| 100 | 100 | <div class="frmx-subscription-login-form"> |
| 101 | - <?php | |
| 102 | - if ( function_exists( 'forumax_get_opt' ) && forumax_get_opt( 'topic_login_shortcode' ) ) { | |
| 103 | - echo do_shortcode( forumax_get_opt( 'topic_login_shortcode' ) ); | |
| 104 | - } else { | |
| 105 | - bbp_get_template_part( 'form', 'user-login' ); | |
| 106 | - } | |
| 107 | - ?> | |
| 101 | + <button type="button" class="button fill-brand frmx-scroll-to-login"> | |
| 102 | + <?php esc_html_e( 'Go to login form', 'forumax' ); ?> | |
| 103 | + </button> | |
| 108 | 104 | </div> |
| 109 | 105 | </div> |
| 110 | 106 | </div> |
| 111 | 107 | <?php |