Tag: Wordpress

Add a WordPress admin user using PHPMyAdmin

  |   By  |  0 Comments

Just once in a while, you can’t get into the WordPress dashboard and you need to create a new admin user quickly. You can do it with PHPMyAdmin. Login to PHPMyadmin Goto your WordPress Database table and click on SQL. Then copy and paste the MySQL statements below. Change YOUR USERNAME, PASSWORD, Your Username and […]

Continue reading...

Preparing Gutenberg blocks for an email

  |   By  |  0 Comments

If you need to send a post or page out via email, you will need to parse blocks and shortcodes first. I use MailChimp and the API doesn’t like audio and video tags. This function takes the post content and parses it creating buttons for playing audio and video. In the switch($block[‘blockName’]) you can add […]

Continue reading...

How to rescue a WordPress Hack

  |   By  |  2 Comments

This evening, I rescued a client’s WordPress website from a hack that was so bad their host shut it down. I have a checklist that I use now to recover WordPress sites, which I’d like to share with you. Or you can hire me to do it for you as it requires some technical confidence! […]

Continue reading...

Bulk WordPress Password Reset

  |   By  |  0 Comments

Sometimes it is a good idea to reset all the passwords for your WordPress website and email the users to let them know their new password. Especially when you have been hacked – if you have been hacked, read about what to do My emergency password reset plugin will regenerate every user’s password and email […]

Continue reading...

How to internationalise a wordpress plugin

  |   By  |  0 Comments

If you want your plugin to have a greater reach why not internationalise it – hopefully people will soon start translating it for you! Here’s what to do! Step 1 set up the plugin to load the translation files with this code, changing “your-plugin-name” as needed. //add localisation $my_translator_domain = ‘your-plugin-name’; $my_translator_is_setup = 0; function […]

Continue reading...