If in any case you can’t access your WordPress website because your current admin account isn’t working or your site got hacked. You can always create a new admin account via functions.php. If you have access to this file that is. Don’t forget to replace temp_admin, p4ssw0rd!, and email@hoolite.be with your own values. Visit your […]
Tag: functions.php
Add Google Analytics/Tag Manager via functions.php
There are many WordPress plugins that you can use to add your Google Analytics, Google Tag Manager, Facebook Pixel and so much more to your site. But frankly, you don’t need any kind of plugin for that. You can do this quite easily by adding a simple code snippet to the functions.php. Access your child’s […]
Add custom meta tags to HTML head via functions.php
There are a few cases where you need to add your own Meta Tags in your header. For example to verify that you are the website owner. Meta tags look like this: There are WordPress plugins available to achieve the same. But it can be done without a plugin if you follow these simple steps […]
Translate or replace text in WordPress via functions.php
You may want to translate or change some text on your WordPress site but you don’t want to mess around with string translations or editing the PO/MO files. Luckily there is an alternative way to do this. Quick and easy. All you have to do is add the code below in the functions.php file of […]