The problem I want to visit Showcase Pro theme’s demo site. In my browser (Chrome), I start typing demo and the browser history suggestion list shows me something like: I change the last part of the URL from infinity to showcase and hit return. The result is a page in Maintenance Mode (in this case) […]
Software
How to set up WordPress Coding Standards in Visual Studio Code
I am slowly moving away from Sublime Text to Microsoft’s Visual Studio Code due to VS Code’s superior feature-set like a built-in file navigation tree (which is better than ST’s SideBarEnhancements package), IntelliSense and built-in Git. Below are the steps to have VS Code automatically sniff and display warnings/errors (if any) in your PHP files […]
Importing a sql file into DesktopServer powered local site using command line in Mac
In certain situations importing a large sql file into a database in phpMyAdmin may fail/timeout. The better alternative is to run the mysql command in terminal. This is extremely fast (importing a 320 MB .sql file took just 1 second in my testing). If you are on a Mac, the location of mysql installed by […]
Useful TextExpander Abbreviations
Updated on October 14, 2020 TextExpander (20% off coupon code: SK20PERCENTOFFTE) is a Mac software for expanding abbreviations to full text with support for useful features like custom triggers (delimiters) and cursor placements. A must-have tool for increasing my productivity. For example, I type ml followed by ` and TextExpander expands it to margin-left: ; […]
Local to Live WordPress Websites Workflow using DesktopServer, Bitbucket, SourceTree, Dploy.io and WP Migrate DB Pro
Version control and working on a WordPress website locally while being able to push the changes to live site with the click of a button is something that most of us (esp. those that have seen the benefits) appreciate the usefulness of. In this tutorial I share step-by-step details of the process I have pieced […]
Sublime Text Snippets for Genesis
Sublime Text is a fantastic cross-platform text/code editor that’s fast, lightweight, customizable and powerful. The same adjectives hold good for the Genesis WordPress framework. In the past Justin Tallant has created a Sublime Text package for Genesis that includes 24 snippets some of which have not been updated to account for the HTML5 update of […]
Keyboard Shortcut for inserting/editing a link in Text view of WordPress editor
I spend a lot of time in WordPress editor in Text view and often wondered how I can set hyperlink for selected text by pressing a keyboard shortcut. Turns out it is possible to do so only when in the Visual view via Cmd + K or Alt + Shift + A but not when […]
How to format CSS per WordPress coding standards using CSScomb in Sublime Text
Want to format your CSS with the click of a button so it is properly formatted per WordPress’s coding standards? Gary Jones has put together a configuration file for this about which he writes: Current WP CSS coding standards for property ordering are outlined at http://make.wordpress.org/core/handbook/coding-standards/css/#property-ordering . These are too generic, so using an automated […]
CSS Injection and Auto Refresh using BrowserSync
In this article I share how I use BrowserSync to see changes in WordPress websites (on localhost) instantly in the browser without having to manually refresh the browser. I use DesktopServer for managing websites on my computer. For example, I have WordPress installs at several URLs like genesis.dev, bfwpdeals.dev. BrowserSync can be installed after installing […]
DesktopServer Tip: Ensure that name of Export and active theme’s name do not match
Yesterday I wanted to export a localhost install of WordPress, http://centric-pro.dev from my old computer (MacBook Air) to the new one (MacBook Pro). I have the current latest version of DestopServer Premium, 3.6.3 running on both the laptops. I entered “centric-pro” in the ‘Export As’ field and let DestopServer generate the zip file. I then […]
Recent Comments