Questions tagged [reset]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
23
votes
2answers
14k views

Resetting post data to previous loop in nested loops

I'm trying to use nested loops with the posts to posts plugin. The loops both work, but the problem arises after the second nested loop ($issue). I want to access the $publication loop again, but the ...
13
votes
5answers
13k views

Disable user registration password email

So, WordPress 4.3 has a new password system as we all know. Unfortunately, this new system has done away with the ability to NOT send new users an email. My client was using a system where he sent a ...
10
votes
5answers
22k views

wordpress redirect after password reset

I would like to able to redirect to get_bloginfo('url'); after reseting password. But I cannot for life of me find any simple answer or function to do this. Does anyone know if this is possible? ...
10
votes
3answers
27k views

Check for correct username on custom login form

I have used Jeff Star's tutorial for creating my own custom login form http://digwp.com/2010/12/login-register-password-code/. It works great, but I have one problem. On the reset password form, if ...
9
votes
1answer
6k views

Reset positions of metaboxes in admin

I am writing a theme and in it I have a function which creates two metaboxes. The forth parameter of the "add_meta_box()" function I used can be set to ( high, core, default or low). I want the boxes ...
9
votes
5answers
10k views

Missing URL in password reset email

From the wp admin login page I click to reset my password (not on the theme, on wp). I get the email but it contains no url to click. Plugins are disabled. What shoud I do?
7
votes
3answers
6k views

Email user when password is reset by admin

I am really new to WordPress programming and I am not even sure if this feature exists. What I am trying to do is send an email to users (not admin) when an admin changes their password/email? At ...
6
votes
2answers
20k views

How do I create a password reset link?

I have the registration workflow set so that my user have to fill out a gravity forms user registration form and then activate their account via a link in an email. The email link sends them to a ...
4
votes
3answers
2k views

Where should you reset postdata?

I've searched for this in the Q&A but I was unable to find it. When I read answers throughout the site I see wp_reset_postdata() placed in multiple areas with the have_posts() conditional and ...
3
votes
3answers
8k views

WooCommerce changes lost password reset link

When I activate WooCommerce plugin, the lost your password does not work and can't sent password reset email to users. But when I deactivate WooCommerce, the lost your password link at login page ...
3
votes
1answer
1k views

Force all users in MU to change their passwords

I'm looking for a solution to notify/force all users in an MU network to change their passwords. Any ideas of a solution out there as a plug-in?
2
votes
1answer
2k views

Check Password Reset Key Not Woking

I am trying create passowrd reset form. Here is my function: <?php $user_data = get_user_by( 'email', 'admin@mysite.com' ) ); $key = get_password_reset_key( $user_data ); $user_login = $user_data-...
2
votes
4answers
6k views

Can I reset wordpress without losing posts, comments, media and widgets?

I a having too many errors on my blog recently. I tried everything (including posting in this forum), but couldn't sort it out. Would it be possible to reset my WordPress website without losing posts, ...
2
votes
2answers
2k views

How to change the language of the 'Reset Password' page

I have a WooCommerce powered WordPress website. In this website a user can login to order products, basic WooCommerce functionality. The site is translated using qTranslate. I can translate everything,...
2
votes
0answers
3k views

How to customize reset_url or $reset_url

I'm trying to change the confirmation link with key and username sent by wordpress when a user forget his password. The link looks like: /wp-login.php?action=rp&key=VZUyDIiJxJz&login=...
1
vote
5answers
11k views

Reseting admin password through PHPMyadmin fails

Following the PHPMyAdmin instructions of this article fails to reset my password properly. I go into WP_Users, find my admin account, click edit, enter my password, change the dropdown to MD5, click ...
1
vote
2answers
2k views

Do I have to use a Wordpress specific CSS reset, or is a normal, Eric Meyer style CSS reset fine?

The great starter theme _S for Wordpress has the following CSS reset included, which works pretty well I find: https://gist.github.com/4173728 But I prefer the Eric Meyer one, which I'm sure you're ...
1
vote
1answer
2k views

When should you use wp_reset_postdata vs wp_reset_query?

Seems like half the tutorials in the Codex use wp_reset_postdata() and half use wp_reset_query(). What's the deal? Maybe Use both of them? What about rewind_posts()? I am asking for an answer based on ...
1
vote
1answer
1k views

Is there any need to use both wp_reset_postdata and wp_reset_query together?

Is there any need to use both wp_reset_postdata() and wp_reset_query() together? Is it a case that I would pick one of the two functions; is there any point in doing this after a query : ...
1
vote
1answer
182 views

Reset Wordpress website

I have a website to demo plugins, and I want to allow users to login, but I am not sure how to reset the website once they log out. Is there a way to create a separate instance of Wordpress for each ...
1
vote
1answer
1k views

ACF Repeater loops and resets - where is the reset_rows() documentation? [closed]

I love ACF, its great for developers and it seems to have so much support. BUT... Why is reset_rows() not in the documentation? I created a function that can delete repeater rows at different times in ...
1
vote
1answer
3k views

Customize reset password form redirect problem

I would like to create my own reset password form and page, I mean this page: I have already created a page template for the reset password form, the code: <?php /* * Template Name: Page - Reset ...
1
vote
1answer
678 views

Add a reset button to the options page (using Settings API)?

How do I add a reset button using the Settings API? I use add_settings_field To add a field...is there a hook to add a reset button?
1
vote
1answer
218 views

Am unable to reset a query properly

I have a custom taxonomy archive page called 'taxonomy-teacher.php' where I display teacher meta (title & description) and then I loop through all the teacher's talks (audio files), which have ...
1
vote
1answer
3k views

Reset password - set minimum length for new password

I’m trying to set a minimum length for the new password when resetting the password. I would like to add something like this just functional. add_action( 'password_reset', 'reset_my_password', 10, 2 )...
1
vote
0answers
16 views

Best process to reset a bbpress forum into blog

Hello Dear Reader :) , I have a site providing tutorials that has been set up a long time ago as a forum with bbpress. I do realize that : the forum setup is not optimal the site has "a long ...
1
vote
0answers
1k views

Lost password link is redirecting to /shop/my-account/lost-password/

The “Lost your password?” link on the standard WordPress login screen (wp-login) links to /shop/my-account/lost-password/ instead of the WP standard (wp-login.php?action=lostpassword). My website is ...
1
vote
0answers
210 views

Redirect login page except on reset pass

I have this code for redirects. function login_init () { $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'login'; if ( isset( $_POST['wp-submit'] ) ) { $action = 'post-data'; } else ...
1
vote
0answers
2k views

password recovery key is invalid on custom reset

I am trying to use a custom password recovery form instead of the default WP. The url link for resetting the password is returning 'invalid key' error. Does anyone have any help with where the problem ...
0
votes
2answers
3k views

Reset Roles (or undo role changes on theme change)

I am creating a theme that deletes some user roles that are not necessary and creates others. (It deletes author and contributor and renames subscriber). Everything works, but on theme deactivation, ...
0
votes
1answer
1k views

How to change “Reset Password” text on submit button

I want to change "Reset password" text on submit button to "Set password" How can I change it? I tried to change value with jQuery: add_action( 'resetpass_form', 'resettext'); function ...
0
votes
1answer
17 views

Redirecting to a custom forgot password page

I have created a custom login and registration page with the plugin 'User Registration' and they both work perfectly fine, however, on the login page if I click on the ‘Forgot password’ link, it takes ...
0
votes
1answer
606 views

How to initiate password reset flow by code

I have a system in which I create users by Email ID when they make a purchase. I want to send them the link to send Password when they click on link so the option is I initiate the password reset ...
0
votes
1answer
1k views

Can we stop session reset if page reloads?

I started a session and assigned a value and based on the value other function executes but the page reloads after first session and obviously session resets and the other page where I am calling this ...
0
votes
1answer
4k views

reset password label text change

Please see my screenshot. I want to change the "New Password" label text and "login" text. I used following code to change the hint text. function change_password_hint ( $text ) { if(basename($...
0
votes
1answer
3k views

Customize retrieve password message

The question I asked here needs to be modified as I have a different problem. I asked the following question on the WordPress support forum but it seems that nobody has an answer to that. I wonder why?...
0
votes
1answer
4k views

How do I reset my footer.php to its original state? (theme: Origami)

I accidentally deleted some codes from my footer.php trying to get rid of the 'Theme By Origami' footer, and now the footer is all messed up. How do i reset it to its original state? I feel so stupid, ...
0
votes
2answers
1k views

Cannot modify headers

I absolutely hate this error. And do not understand it at all. So this is my code, what you want to focus on is the foreach loop: public function reset_theme_options(){ if($this->...
0
votes
1answer
46 views

How to limit the number of forgot password reset attempts in Wordpress?

I'm using the Wordpress's built-in forgot password reset form and views. I want to limit the number of reset password email attempts. By default Wordpress allows you to send unlimited reset password ...
0
votes
0answers
13 views

Automatically Mirror User Password Changes from Live to Staging Database

If a member resets their password, this will do so on our Live site, which is fine. However, this won't affect their account on the Staging site. If we then push live from Staging (using Siteground's ...
0
votes
1answer
28 views

Sending Reset Password email via Web API

Due to company's security set up of the emails coming from the external hosting, it's needed to send password reset emails through internal email server, for that the email content needs to be sent to ...
0
votes
1answer
62 views

Reset Wordpress admin users to limit access

I have a client with a Wordpress website currently hosted on Siteground. They are worried that someone else has access to their Wordpress admin user account (only one user I can see in the back end) ...
0
votes
0answers
53 views

WordPress password reset not working

First off, the site is a cloned site. I can login to the source site no problem, with 2 different accounts. But on the cloned site, neither login works. I tried resetting the password, and the ...
0
votes
1answer
65 views

Will resetting my database affect other sites on my multisite Wordpress install?

I am using the Bridge theme and after installing a theme I would now like to change to a different demo theme. In the instruction video provided by Qode it advises that I use a plugin called wordpress ...
0
votes
0answers
45 views

Problem with login / reset password links in users emails

I have a problem with passwords for users. User want to reset his password. He is getting email with link. But, when he clicks on it, it opens in browser with additional sign on the end: https://www....
0
votes
1answer
322 views

How to set password from frontend if have activation key and user login in url in wordpress?

I want to give functionality to user, while their account is created in wordpress by administrator at that time set password email is sent to user, which contains custom page link with activation key, ...
0
votes
1answer
260 views

What is the best way to reset a search on a meta_key / meta_value?

I’ve build several search forms with different <select> and <input>. I use a meta_query and build an array of key/value pair. Array ( [relation] => AND [0] => Array ...
0
votes
1answer
689 views

Password reset message - change the network_home_url( '/' )

I would like to change the usual message sent by WordPress which says the following: Someone requested that the password be reset for the following account: http://myexample.com/ I know that this ...
0
votes
1answer
2k views

wp-login.php just refreshes the form fields

I've recently moved a customers blog from one server to another. On the surface everything seems to be working fine - the blog is running and you can view the entries with no issues. The problem we'...
0
votes
1answer
79 views

Login just resets/reset password link also does not work

All of a sudden I can't log in to a site I've been working on for years. Made some changes to content yesterday but didn't make any plugin/WP version changes. A few minutes later went in to make a ...