danidorad0
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [WPS Hide Login] Two bugs on multisitesThis snippet of code should be integrated at the plugin so a super admin can reach the login pages at every site on the multisite without get any 404 when clicking the dashboard link at the site listing page of a multisite
function modificar_enlace_dashboard( $actions, $blog_id ) {
$custom_login_slug = ‘YOUR-CUSTOM-LOGIN-SLUG’;
$dashboard_url = get_site_url( $blog_id ) . ‘/’ . $custom_login_slug . ‘/’;if ( isset( $actions['backend'] ) ) { $actions['backend'] = '<a href="' . esc_url( $dashboard_url ) . '">' . __( 'Dashboard' ) . '</a>'; } return $actions;}
add_filter( ‘manage_sites_action_links’, ‘modificar_enlace_dashboard’, 10, 2 );- This reply was modified 1 year, 8 months ago by danidorad0.
- This reply was modified 1 year, 8 months ago by danidorad0.
- This reply was modified 1 year, 8 months ago by danidorad0.
Forum: Plugins
In reply to: [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress] HPOS CompatibilityMaybe this thing is helpful to declare the compatibility
https://github.com/hCaptcha/hcaptcha-wordpress-plugin/commit/98199353e92524be866bc880f7cb9e1a1c782f91Forum: Plugins
In reply to: [WPS Hide Login] Dashboard link broken WP MultisiteHello, any news if you’re gonna work fixing this error?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)