Replies
Just tested it but did not work
- Tosin on September 13, 2022 at 8:48 am in reply to: [Resolved] Branded login 403 forbidden error #46488
Code for the popup login form
if ( ! function_exists( 'klein_the_login_modal' ) ) { /** * Log in Modal * * The template for the login modal * * @return void */ function klein_the_login_modal() { ?> <div class="modal fade" id="klein_login_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title"> <?php esc_attr_e( sprintf( 'Login to %s', get_bloginfo( 'name' ) ),'klein' ); ?> </h4> </div> <div class="modal-body"> <div class="row"> <div class="col-sm-push-6 col-sm-6 login-column"> <div id="klein-modal-body"> <?php do_action( 'klein_before_login_form_modal_body' ); ?> <?php wp_login_form(); ?> <strong> <a href="<?php echo wp_lostpassword_url(); ?>" title="<?php esc_attr_e( 'Lost Password', 'klein' ); ?>"> <?php esc_attr_e( 'Lost Password', 'klein' ); ?> </a> </strong> <?php do_action( 'login_form' ); // 3rd party applications/plugins support. ?> <?php do_action( 'klein_after_login_form_modal_body' ); ?> </div> </div> </div> <?php // Support 3rd party plugins. ?> <div class="clearfix"> <?php do_action( 'login_footer' ); ?> </div> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> <?php } }
- Tosin on September 13, 2022 at 8:47 am in reply to: [Resolved] Branded login 403 forbidden error #46487
1. This is the shortcode [branded_login_form]
2. My theme has a default inbuilt login popup form that hooks into this <?php wp_login_form(); ?>
Thanks Brajesh
But I don’t want to use css to remove it a filter or code would be better
Thanks
- Tosin on September 13, 2022 at 8:17 am in reply to: [Resolved] Branded login 403 forbidden error #46481
When branded login is deactivated login attempts from any page works successfully
OH This problem was caused by this plugin https://wordpress.org/plugins/prevent-browser-caching/
Thanks this is resolved
I just want two tabs in the activity directory page which are (News Feed/All Activities) and (Mentions) tab.
I have removed all other tabs except the (following) tab what I want to achieve now is1. Remove the following tab in sitewide activity directory
2. When a user logs in to the sitewide activity directory the activities of users im following is loaded and everything works smoothly but when I click on a different tab like (favorites tab) or (mentions tab) and click back to (All members tab) the content loaded now changes to activities of all members on the site instead of enforcing only the content of members im following.
Im using legacy template