Category: HTML, CSS, PHP
Using Git for WordPress Theme Development: Simplify Workflow, Collaboration, and Version Control
With Full-Site Editing in WordPress, theme development is easier. Git is essential for version control and collaboration in WordPress theme development.
WordPress White Screen of Death
Incorrect line endings in .php files can mess up WordPress, even so it only shows a blank white screen (aka “White Screen of Death”). Fix it this way.
Troubleshooting Delays (several seconds) in PHP or WordPress
Find WordPress or PHP coding errors that take long time, even if the problem is system-level time-outs. PEAR Benchmark to find slow or failing PHP code.
LESS for WordPress to compile Bootstrap 3.1+
How to replace Leafo LessPHP library, so you can compile LESS files that use the ‘extend’ command, including BootStrap 3.1+, and use these in WordPress themes.
Configuring XAMPP for Multiple Web Sites
Configuring XAMPP for Multiple Web Sites, have a full Apache server on your Windows computer, for web site development. XAMPP configuration with Windows Hosts file.
IIS Servers Do Not Always Set Document Root
If your IIS server doesn’t set PHP $_SERVER[‘DOCUMENT_ROOT’], here’s how you can set it in a configuration file so all your PHP programs have it.
Using PHP Packages without Composer
Using PHP Composer packages if you don’t have Composer. Standard PHP code to access files (but without the version checking Composer has).
PHP Unzip bug makes WordPress Updates hang
Problems with WordPress Update hanging? Or plugins failing with compression? Might be the version of PHP on your server, having bugs in Unzip.
Server alert you of File Not Found and other Errors
Apache or IIS detailed error reporting, for 404:File Not Found or 403:Forbidden errors. Visitors see minimal information, site administrators get log entries and optionally an email about each error.
HTML on-page links not working
HTML links have changed syntax, can not use name= to define link targets, have to use id=.
Favorite FireFox Add-Ons
Here are the FireFox add-ons that I use NoScript Essential security for your web browser! Allow active content to run only from sites you trust, and protect yourself against XSS and Clickjacking attacks. Firebug Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug,…
Using Google Web Fonts (Needs Some Quotation Marks)
Make a small change to the CSS for Google Fonts and the fonts display properly (tested in Firefox 14).