Useful snippets for working with templates in WordPress
There is a couple of pieces of code snippets which I find useful when working with templates inside WordPress. Here is a couple I use on a regular basis
Front end developer
There is a couple of pieces of code snippets which I find useful when working with templates inside WordPress. Here is a couple I use on a regular basis
In the WordPress 5.5 release they have added the ability to generate a XML sitemap. XML sitemap are great because it tell search engines such as Google and Bing what pages to crawl. One of the sitemap which the WordPress core creates is a user sitemap. On a WordPress site I work on we didn’t want to use this feature, so I’m going to go through the process how to disable the sitemap.
I recently got asked to look at friends WordPress site. Nothing major just installing a few plugins and changing around the permalinks. However there was big problem it’s been a over year since she’s last logged into the site and she doesn’t know her password. The password reset email also doesn’t seem to be sending out. So I’m going to lists some methods how to get into one of your WordPress site if you locked out.
Google Analytics is a great tool for your site. There is loads of areas of the tool which you can learn about user behaviors. In this example we will be looking at how to hook up WordPress Search queries with Google Analytics.
I’ve only just recently started WP-CLI(WordPress Command Line Interface). It’s something I wish I started using earlier. Basically what WP-CLI does is allows you to run typical WordPress actions such as updating user passwords, removing plugins and backing up a WordPress database from the command line in the root of your WordPress installation.