Barry Ceelen
Forum Replies Created
-
Forum: Plugins
In reply to: Change label for "user_pass" on login form?The labels on the login form seem to be hardcoded, but something along these lines might work:
function prefix_change_login_form_user_pass_label( $translated_text, $text, $domain ) { global $pagenow; if ( in_array( $pagenow, array( 'wp-login.php', 'wp_register.php' ) ) ) { if ( 'Password' == $text ) { $translated_text = 'Zoinks!'; } } return $translated_text; } add_filter( 'gettext', 'prefix_change_login_form_user_pass_label', 20, 3 );
Forum: Plugins
In reply to: [hideShowPassword] Add text next to "Password" labelHi virtualgeorge,
Currently the plugin does not support something like this.
A future version might add the option of showing a checkbox in stead of the icon.A help text beneath the login form, like you described, is possible via the ‘login_form’ filter. Adding something like this to your theme’s functions.php might do the trick:
function prefix_show_login_form_help_text() { printf( '<p><label>%s</label></p><br />', __( 'Click icon to show password.', 'example-text-domain' ) ); } add_action( 'login_form', 'prefix_show_login_form_help_text' );
Forum: Plugins
In reply to: [Default Admin Color Scheme] WPMU?I didn’t specifically check for Multisite compatibility. Thanks for reporting back!
Forum: Plugins
In reply to: [Default Admin Color Scheme] Login Screen has a warningSorry, late to the party.
Thanks kalico, indeed, the Coeur Admin Colors plugin seems to throw this error. The error is unrelated to the Default Admin Color Scheme plugin.
I’ve notified the author via the plugin’s support forum.
Forum: Plugins
In reply to: [hideShowPassword] Afyer update to 4.0 Seems to not workHi willandmae,
I’m glad you like the plugin ?? Haven’t noticed any problems with 4.0 so far.
However, the login page of the site your profile links to shows a Javascript error coming from thebp-like.min.js
file. Apparently this file belongs to the BuddyPress Like plugin.As the hideShowPassword plugin depends on Javascript to do its stuff, the error caused by the BuddyPress Like plugin might be the cause of the problem.
You could try temporarily disabling the BuddyPress Like plugin, and see if that resolves the problem.
Let me know if that solved the problem for you!
Forum: Plugins
In reply to: [Post By Email] Setting Custom Post TypeHi,
In the meantime it is possible to hook into the Post By Email plugin to make it save your email as a different post type. Something along these lines in your functions.php should work:
add_action( 'publish_phone', array( $this, 'myfunctionprefix_set_post_type' ) ); function myfunctionprefix_set_post_type( $post_ID ) { $post = array( 'ID' => (int) $post_ID, 'post_type' => 'custom_post_type_slug_here' ); wp_update_post( $my_post ); }
Forum: Themes and Templates
In reply to: [P2] Live updates not workingI had strict errors enabled in php, which caused the ajax stuff to break.