The Genesis framework by StudioPress is awesome. Easy to install. Easy to configure. Easy to customize. Stylish. Every once in a while you will need to create a custom template for your Genesis child theme. A custom template can provide an easy way to display information with a non standard layout. A custom template can allow you to set CSS styles, header images and background images for any page that uses the custom template. Custom page templates provide a powerful way of laying out your website. Guess what? It doesn't take long to create a custom template. This particular method … [Read more...]
HowTo: Browser and OS Detection with PHP
A very quick PHP script for detecting browser/device and OS agent strings from the HTTP User Agent variable. This is not 100% reliable because surfers and bots sometimes hide or falsify the user agent string so please use with caution. Browser and OS Detection Script This script detects whether the OS/Device is Linux, MacOS, iPad, iPhone, Droid, Unix, Windows or anything else (caught in Unknown). It also detects whether the browser is Chrome, Firefox, Opera or Internet Explorer. The user agent string is stored in the variable $agent. The operating system or device is stored in the … [Read more...]
HowTo: Add New Menus to Genesis Themes
Adding additional navigation menus to Genesis themes is easy. This method creates custom navigation menus that you can customize as you would any other WordPress custom menu by visiting Appearance > Menus. We use a two-step method: Create a custom nav file Register the custom nav file in your child theme's functions.php file By repeating the method you can create as many custom menu navbars to Genesis child themes as you want. Step One: Create a Custom Nav File This creates a menu called customnavone with the unique ID of customnavone and unique class of customnavone in the … [Read more...]
Is Skype + Video + Linux Always a Hassle?

Every time I upgrade my favorite Linux distro. I end up without Skype video support. Every time!!! It's unbelievable. Why can't Skype make an app that provides out-of-the-box video support for Kubuntu. Anyway, because I keep forgetting how to get my webcam to work with Skype on Linux, I thought I'd write about it here so I always have a reference and so you can benefit from my forgetfulness. Install a few libraries and applications Open Konsole or some other terminal then copy and paste these commands sudo apt-get build-dep v4lutils v4l-utils v4l2ucp cheese libwebcam0 sudo apt-get … [Read more...]
HowTo: Change the Language of WordPress

So, you have built a WordPress site or WordPress multisite and now want the WordPress dashboard and site frontend to use Spanish or German or Italian or another language. It is easy. Whether you are looking to: Change the language used in the WordPress dashboard Change the WordPress backend language Change the WordPress front end language Change the language used by WP plugins, or Use a different language for your theme Follow the instructions shown here. How to Change the WordPress Language Visit http://svn.automattic.com/wordpress-i18n/ Find the directory with the … [Read more...]





