Search Results for 'code'
-
Search Results
-
Hi community,
I’m trying to redirect all the register steps out of wp-admin or wp-login.php to finally hide completely wp-admin section to users. Since now I’ve succeed with registration and field errors, but now I’m trying to do the same with the help of [lost-password].
The shortcode above works properly but the problem comes when an email with the /wp-login.php?action=rp&key=Y4I9GCCGagXxiaWk&login=my_user redirects the user to the wp-admin/wp-login area. This area has two fields “New password” and “Confirm new password”. Is there a shortcode who shows the same two fields in a custom page without the need of use wp-admin/wp-login area?
Thank you in advance for your help and time.
i have 21k users that have site roles “none” and empty forum roles thats maybe coz ijust shfted from a joomla website into wordpress & bbpress. I want to make the site role ‘subscriber’ and forum role ‘participant’ to all users how can this be done with writing a code ??
If I view the index of the bbpress forum I can see my background image for my theme. When I click to go into a specific forum, the background is replaced with a color (off white).
I imagine this is all CSS related and somewhere in the code. I however would like to set all forums to show the same background. I am using a theme called “Explicit” for my wordpress site.
Thanks. I hate being new to this.
Topic: Error message after install
I’ve installed bbpress, but when I go to the forum in a browser, I just get this message:
Fatal error: Class 'WP_Post' not found in /nfs/c09/h02/mnt/137912/domains/profoodblogger.com/html/wp-content/plugins/bbpress/includes/core/theme-compat.php on line 375How can I begin tracking this down?
Topic: Change user role text color
So I changed the names of the user roles. I would like to change the text color of each role. Here is the code that I am using to change the name. Could I just wrap the role name in a color code?
add_filter( 'bbp_get_dynamic_roles', 'my_bbp_custom_role_names'); function my_bbp_custom_role_names(){ return array( // Keymaster bbp_get_keymaster_role() => array( 'name' => __( 'The Dragon Born', 'bbpress' ), 'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) ), // Moderator bbp_get_moderator_role() => array( 'name' => __( 'Moderator', 'bbpress' ), 'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) ), // Participant bbp_get_participant_role() => array( 'name' => __( 'Legionnaire', 'bbpress' ), 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) ), // Spectator bbp_get_spectator_role() => array( 'name' => __( 'Spectator', 'bbpress' ), 'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() ) ), // Blocked bbp_get_blocked_role() => array( 'name' => __( 'Blocked', 'bbpress' ), 'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() ) ) ); }p.s. Is there a way to change what each of these roles have access to?