Skip to content

Instantly share code, notes, and snippets.

View MattReimer's full-sized avatar
😝
Just about done...

Matt MattReimer

😝
Just about done...
View GitHub Profile
@awshout
awshout / foundation4-topbar-menu.php
Last active August 19, 2023 02:44
WordPress Menu & Walker for ZURB's Foundation 4 Top Bar
<?php
add_theme_support('menus');
/**
* Register Menus
* http://codex.wordpress.org/Function_Reference/register_nav_menus#Examples
*/
register_nav_menus(array(
'top-bar-l' => 'Left Top Bar', // registers the menu in the WordPress admin menu editor
'top-bar-r' => 'Right Top Bar'
@MattReimer
MattReimer / build.sh
Created October 24, 2012 17:22
Drush install Script
#!/usr/bin/env drush php-script --everything -v
<?php
// ---------------------------------------
// CREDENTIALS ETC.
// ---------------------------------------
$dir = "public_html";
$theme_dir = "public_html/sites/all/themes";
$makefile = "site.make";
@ctorgalson
ctorgalson / vhost-pagekite
Created September 16, 2013 16:50
Virtual host for use with Pagekite where the Pagekite subdomain 'component-something.pagekite.me' exists in your account. Remember to set up '127.0.0.1 component.local www.component.local' in /etc/hosts.
<VirtualHost *:80>
ServerName component.local
ServerAlias www.component.local
ServerAlias component-something.pagekite.me
DocumentRoot /Users/Pigsy/Sites/component/public_html
<Directory /Users/Pigsy/Sites/component/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all