Responsive Foundation Framework, for WordPress.

Featured

ESTIMATED RELEASE DATE: 1ST OF JUNE, 2012


UPDATE:


After encountering a bit of trouble with the nav_walker, the release date has been pushed forward.

Most of FF has been completed, stay tuned.


Foundation for WordPress
(FWP) is a popular WordPress theme now adopted by many designers and developers alike. FWP was built on Foundation, an extremely useful tool that helps designers like you and I create stunning prototypes and production-ready mobile sites that love to impress.

I took the liberty to convert Foundation into a user-friendly WordPress theme, that tackled the common dilemma we face today as designers — cumbersome overheads and lack of customisability.

Traversing through endless lines of code, trying to mould your site around a theme that’s bloated and jam-packed of useless things you didn’t need. It just didn’t do it for me — It was too hard, for something too small. (Ha.)

So, I present to you today, Foundation Framework (FF) — a clean, beautifully semantic WordPress theme framework that mobiles love to hate. It offers you powerful shortcodes, custom post formats, a fully functional theme options page with the ability to change your sites core layout structure and design. It’s out-of-the-box awesomeness, providing you such minimal overheads with tremendous capabilities.

FF is currently in the making, with most options completed, however, I’m not going to be fast to ship this one without comprehensive bug fixes and user-testing.

Some of the options include, however are not limited to:

General

  • Support for Post Formats
  • Menus Support
  • Widgetized
  • Language Support with _e and HTML lang-attr
  • Microformat Compatible
  • Custom Post Editor Style
  • Compatible with all plugins, making use of enqueue js and !function exists
  • XFN (X)HTML Friends Network
  • ySlow Score of 99
  • WCAG 2.0 Compliant
  • ARIA-Roles
  • Custom Disqus CSS, themed for Foundation
  • Inspired Code from Twenty Eleven & Thematic

Theme Options

Layout options on a per-column basis

  • Sidebar Columns
  • Index Columns
  • Footer Columns

Design Options

  • Typography
    • Google Web-Fonts Selection
    • Headings
    • Body
    • Long-form (long paragraphs)
    • Short-form (short paragraphs, excerpts)
    • Color
    • Size (px to rem) with px fallback
  • Background
    • Colour Picker
    • Image
      • Position
      • Repeat
  • Header
    • Logo
    • Title
    • Subheading
    • Image

Shortcodes

  • UI & Layout
    • Orbit
    • Tabs
    • Buttons
    • Labels
    • Alerts
    • Grid

Shortcode Examples

[orbit name="category"]
   [slide][/slide]
[/orbit]
[tab style="nice"]
   [tab link="#tab1"]Heading[/tab]
   [tab link="#tab2"]Heading[/tab]

   [tab for="#tab1"]Content[/tab]
   [tab for="#tab2"]Content[/tab]
[/tab]
[button style="nice rounded"]Label[/button]
[label style="black round"]Tag[/label]
[alert style="success"]Notification[/alert]
[row]
   [column span="one"][/column]
   [column span="one"][/column]
   [column span="one"][/column]
[/row]

Do you have any suggestions or feedback? Let me know in the comments below, I value your input!

Getting rEFIt and Lion to Play Nicely

Featured

Experiencing the grey-screen hang of death every two restarts? It’s time for you to sit down, relax and make yourself a cup of tea. Let’s get this fixed.

Deleting rEFIt Blesser from Startup Items

First things first, let’s remove rEFIt Blesser from our Startup Items.

In order to do so, open Terminal, then run:

sudo rmdir /Library/StartupItems/rEFItBlesser

Not sure where to find Terminal? Do a Spotlight query for ‘Terminal’ or navigate to /Applications/Utilities and double-click on Terminal.

Force Start rEFIt

Let’s force start rEFIt by executing:

cd ~
cd /efi/refit
bash enable.sh
bash enable-always.sh

Reboot

Restart your computer a few times and rEFIt should now start to appear.

Did this tutorial work for you? Let me know in the comments below.

Ubuntu How-To: Set up Virtual Hosts on Apache2

Pre-requisites

Before we begin this long, complicated and treacherous road to setting up Virtual Hosts in Apache (I’m kidding, by the way) you’ll need to have a LAMP stack setup on your VPS hosting solution. Don’t worry, it only takes a second:

VPS How To: Setup a LAMP Stack on Ubuntu 11.10x

So, let’s get started!

What’s a Virtual Host?

According to the official Apache documentation, a virtual host is:

The term Virtual Host refers to the practice of running more than one web site (such as www.company1.com and www.company2.com) on a single machine.

Creating your First Virtual Host

Let’s create a configuration file for our first virtual host. The configuration file controls the routing and file / folder options for your new virtual host.

To begin, let’s duplicate a pre-existing virtual host by executing:

cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mynewvhost

Let’s create a folder for our new virtual host to route traffic into:

mkdir /var/www/mynewvhost/

Let’s give it a default page by creating an index.html document inside it:

touch /var/www/mynewvhost/index.html

Add some text inside your index.html, via the nano text editor:

nano /var/www/mynewvhost/index.html

Exit and save changes by pressing:

CTRL + o
CTRL + x

Editing the Virtual Host Configuration File

We’ve already created a folder for our new virtual host, but how do I tell Apache to route traffic from: mynewvhost.com into /var/www/mynewvhost/ ?

To do so, let’s start modifying the virtual host configuration file we setup earlier:

nano /etc/apache2/sites-available/mynewvhost

Directly beneath the following property, we’re going to insert three fresh lines of code.

Look for:

ServerAdmin webmaster@localhost

Underneath, insert:

ServerName www.mynewvhost.com
 ServerAlias mynewvhost.com
 DocumentRoot /var/www/mynewvhost

By inserting the above three lines of code, we will tell Apache to:

  • Accept all incoming traffic from www.mynewvhost.com
  • Accept all incoming traffic from mynewvhost.com
  • Route all traffic from mynewvhost.com -> /var/www/mynewvhost

Once inserted, let’s save those changes by pressing:

CTRL + o
CTRL + x

Enabling & Disabling the Virtual Host

Now that we’re done with the messy stuff, let’s enable our new virtual host:

a2ensite mynewvhost

Reload the Apache configuration files by executing:

service apache2 reload

Restarting Apache never hurts:

service apache2 restart

We’re done! Navigate to mynewvhost.com in your browser and you’ll notice Apache has served the index.html file we created earlier.

If you want to disable your new virtual host, simply run:

a2dissite

Footnotes

The reason I set AllowOveride to ‘none’ is so you can create a custom .htaccess file in your new virtual host. This is especially useful, and somewhat necessary, for WordPress and other popular web-applications.

Do you have any thoughts or suggestions? Please let me know in the comments below.