To upload SVG files (Scalable Vector Graphics) to WordPress you don’t need any additional plugin, simply add the following code to your theme’s functions.php file: /* Upload .svg images to WordPress */...
Okay, first let’s find out if a website is using WordPress CMS, here is how: Detect WordPress by checking the page code Check the source code of the website, in Chrome go to View > Developer Options > View source or simply, right-click...
Changes every cPanel password on the server and stores the credentials in ~/newCredentials $newPassword is a randomly generated password with 10 characters #!/bin/bash export ALLOW_PASSWORD_CHANGE=1 ls -la /home | awk '{print $3}' | grep -v root |...
Contact form 7 is one of the most used WordPress plugins nowadays for building simple or complex contact forms on your WordPress website. Here is some custom code you can use to change text color or upper case in cf7 forms. You can add the bellow...
This may be a small document but for the newbie, it’s painful trying to do it through a text screen. Here’s how: at the prompt type cd /etc/xinetd.d press enter then type ls press enter and it will look like this:...
Gridsome is a Vue.js static site generaqtor that requires yarn, nodejs and NPM in order to generate website files. I recommend using two separate devices, one on which you develop the site and another where it will bi published. But, if you for some...
A common occurrence I have noticed in MySQL apps is that MD5 values are stored as 32 byte values rather than 16. Just to ‘rehash’, an MD5 value is a 16 byte hexadecimal value, typically used as a unique fixed-length signature of a...
Having recently migrated from Apache 2 to NGINX (with PHP-FPM) for a site that included Sendy, I thought it would be worth posting the configuration required in order for it to work. Sendy natively has an .htaccess file and some simple rules in...