PEAR is the PHP Extension and Application Repository. It’s basically an add-on to PHP that has a bunch of frameworks that are available. You can read more about it at the official site. Getting PEAR onto my system was not obvious. I came across two articles that helped quite a bit: http://www.steptoinstall.com/install-pear-wamp-server-windows-7-8.html http://phpraxis.wordpress.com/2010/06/12/installing-and-configuring-pear-on-wampserver/ Although I…Details
That’s the error I got when using Visual Composer’s Posts Grid element on a long and involved post. It did not happen when displaying the post through the single.php or archive.php templates – only the Visual Composer element. After some searching, I came across this as a workaround: http://stackoverflow.com/questions/8656089/solution-for-fatal-error-maximum-function-nesting-level-of-100-reached-abor Basically, it turns out that…Details
Good luck trying to find this one:
This covers how to add a screenshot so that it shows up when a user peruses the themes from the WordPress backend.
Was double-checking this today and confirmed that PHP does not support derivation from multiple classes. But worthy of writing this article was a new construct introduced in PHP 5.4: traits. Traits mostly remind me old-school C pre-processor #define calls. So, I can do something like this: Mix this with inheritance and interfaces – wow! Official…Details
Came across an issue with the Bootstrap navbar dropdown with respect to WordPress. Here’s the issue: Download Bootstrap and put it up on your website (reference the min.css and min.js files). Go to the sample code for the Default Navbar in the Bootstrap docs here and copy it to your clipboard. Paste that code into…Details
As I write the styling for a new site, I want to pay careful attention to too much CSS. As a result, I did some searching on layout times and came across a list of CSS Selector types ordered from most efficient to least efficient. Here they are: ID, e.g. #header Class, e.g. .promo Type, e.g. div Adjacent…Details
Recently, I gave up on using Eclipse in favor of NetBeans. I had also considered Visual Studio for my Windows machine, but NetBeans was easy to setup a project that did not get in the way of the folder hierarchy and worked well with my local WAMP setup. As I started to develop a WordPress-friendly…Details