You can just rename the child folder alone. Assuming this is the currently active theme, activate some other theme while you rename the folder, then reactivate the child afterwards. Changing the folder name doesn’t really change the theme’s name as it appears in the admin UI. To rename the theme itself, edit the header information […]
FTP-FIX FOR ISPCONFIG3
How to set PassivePortRange and PassiveIP in pure-ftpd on Debian and Ubuntu Linux byTill Brehm If you run a firewall on your Linux server and want to use passive FTP connections, you have to define the passive port range in pure-ftpd and your firewall to ensure that the connections don’t get blocked. The following example […]
PHPMailer
Links: www.cloudways.com/blog/send-emails-in-php-using-phpmailer/ www.wikihow.com/Install-PHPMailer github.com/PHPMailer/PHPMailer github.com/PHPMailer/PHPMailer/blob/master/README.md help.dreamhost.com/hc/en-us/articles/360031174411-PHPMailer-Installing-on-a-shared-server Encoding (lang): stackoverflow.com/questions/374425/convert-utf8-characters-to-iso-88591-and-back-in-php www.php.net/manual/en/function.mb-convert-encoding.php
HTML Colors
Blue footer background color: www.computerhope.com/cgi-bin/htmlcolor.pl?c=00008B
NESK
*Innehållseditering på KBT:s Träffa Oss-sida (om-oss-kbt/traffa-oss): * 1. Editera sida 2. Byt sidmall till Startsida 3. Editera sidtext 4. Byt tillbaka till sidmall Personallistning
HTML/JS: Copyright Year
NAME, Copyright © <script type=”text/javascript”>var year = new Date();document.write(year.getFullYear()); </script
Where is the theme’s custom CSS?
*Where is the theme’s custom CSS stored?* The custom CSS is stored in the the site’s database, in the wp_posts table. The custom CSS is the content of the post, with a title that’s the theme’s slug, as a post of type “custom_css”. Subsequent updates are stored as a revision of that post. The custom […]
How to Downgrade Your WordPress Site
*How to Downgrade Your WordPress Site (For Troubleshooting Plugin and Theme Issues)* If you’re uncomfortable with FTP and the idea of deleting core files, there is a plugin available for downgrading WordPress. If you like this idea, go ahead and install WP Downgrade after backing up your site. Ref: kinsta.com/blog/downgrade-wordpress/ *Disable Plugins and Change Themes […]
Yopass
*Installation / Configuration* _Docker Compose_ Use the Docker Compose file deploy/with-nginx-and-letsencrypt/docker-compose.yml to set up a yopass instance with TLS transport encryption and certificate auto renewal using Let’s Encrypt. First point your domain to the host you want to run yopass on. Then replace the placeholder values for VIRTUAL_HOST, LETSENCRYPT_HOST and LETSENCRYPT_EMAIL in deploy/with-nginx-and-letsencrypt/docker-compose.yml with your […]
Let’s Encrypt with Nginx
How To Secure Nginx with Let’s Encrypt on Ubuntu 20.04 Ref: www.rosehosting.com/blog/how-to-secure-nginx-with-lets-encrypt-on-ubuntu-20-04/