Category: Wordpress

How To Reset My WordPress Admin Password?

Connect to the WordPress database via the phpMyAdmin tool at your web hosting account or open up a MySQL terminal to execute the below MySQL command.

Once in phpMyAdmin select the WordPress database & Open the SQL tab (look at the top navigation bar).

write the following SQL query:

 

“new_password_here” – replace this with the new password you wish to use.
“admin_username” – replace this with the username the password should be updated for.

Click on the GO button to submit the query. If everything goes fine without errors, you can login to the site using the new password.

Custom Search In WordPress For A Specific/Limited Category

Add this code where you want to put the custom search.

Settings :
action – set the site url
cat field value – should be set to the category id whatever you want to search in(here its 5)

Yeah ! Simple as that. Try it out.