修改 wp-config.php file, 在這個 file 裡面找出這句 define('DISALLOW_FILE_EDIT', true); 把 true 改為 false save 之後再打開 WordPress 後台,在 Appearance 便可看見 Theme Editor。
Wordpress
CBS Currency Position Left
Open up the currency class Find your currency, for me is Hong Kong dollar done
How to develop WordPress site locally
Preface I like to build my own virtual machine for local developing my WordPress sites, using this way I can run the virtual machine under any operating system. You can also try XAMPP or local by flywheel but building my own VMs is more stable, you can follow the...
Move WordPress site to new Hosting Step by Step
How to Backup Login to the original WordPress site and Install UpdraftPlus Plugin Go to UpdraftPlus -> Backup / Restore Click the backup button to start backup process. Make sure check everything and click backup now Wait for the backup complete Download...
Host WordPress on Google Cloud Platform
Google Cloud Platform Sign inCreate a new VM under Compute EngineI've use ubuntu 18.04 LTS and HDD size of 20GBHDD SizeInstall Google Cloud SDKhttps://cloud.google.com/sdk/Choose your platform versionConfig your new instanceFirst thing first$ sudo apt-get update $...
How to use docker for WordPress development
1. Use wordpress:latest to create ssl version of wordpress container Create Dockerfile file FROM wordpress:latest RUN apt-get update && \ apt-get install -y --no-install-recommends ssl-cert && \ rm -r /var/lib/apt/lists/* && \ a2enmod ssl && \ a2ensite default-ssl...
How to save storage space for your web site
我有個網站只是運行了4 個月,最近在做 backup 時發現個 backup file 成 2GB 大,個網站最主要是放相用,發現把所有相 upload 上網站 D 相佔用儲存空間很大。 做 backup 或搬家時可能會比較麻煩!一直以來我都用 Google Photos 把我所有在 iPhone, iPad 影的相都全部 upload 上 Google server, 那可不可以直接 link 過去 Google Photos 呢? 直接用 Google Photos 弄出來的 share link 原來不可以直接用在 img...
How to increase WordPress Upload File size limit
The easiest way is to add the following code into your theme function.php file. add the following lines [php] @ini_set('upload_max_size','128M'); @ini_set('post_max_size','128M'); @ini_set('max_execution_time','300'); [/php] If your hosting allow, you can edit the...
How to move WordPress to new hosting server
It turns out was very easy, login to your WordPress site and downloads a plugin call All-in-One WP Migration, activate it. And then go to its setting page, and choose export, I choose to export to file, then the plugin will put together a downloadable file ready for...
How to show logout button
How to show logout button when you logged in Make two menu, one with login link and the other with logout link [php]https://alextech.tips/wp-login.php?action=logout&redirect_to=%2Flogin-page%2F[/php] Add the following code to functions.php [php] function...