Skip to content

Instantly share code, notes, and snippets.

@NateWr
NateWr / socicons.css
Created Feb 17, 2014
Social media navigation menus in WordPress with Socicons
View socicons.css
/**
* Turn links in a WordPress menu into icons linked to social profiles
*
* This file implements the social menu icons technique by Justin Tadlock for
* the Socicon font, which supports a very large number of social network sites.
*
* Learn how to set up a social menu from Justin here:
*
* http://justintadlock.com/archives/2013/08/07/social-media-nav-menus
*
@NateWr
NateWr / imager-for-wp.php
Created Mar 12, 2014
Integrate Imager.js with WordPress
View imager-for-wp.php
<?php
/**
* Integrate Imager.js with WordPress
*
* Imager.js is BBC's solution for serving responsive and retina images, without
* the double payload issues that affect other solutions. For more information:
*
* https://github.com/BBC-News/Imager.js/
*
* This collection of functions modifies the output of WordPress's
@NateWr
NateWr / required-phone-for-rtb.php
Last active Jan 23, 2019
Require phone number for Restaurant Reservations
View required-phone-for-rtb.php
<?php
/**
* Plugin Name: Required Phone Number addon for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Modify the Restaurant Reservations plugin to require the phone number.
* Version: 1.0
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@NateWr
NateWr / message-tag-for-rtb.php
Last active Aug 29, 2015
Message Template Tag addon for Restaurant Reservations
View message-tag-for-rtb.php
<?php
/**
* Restaurant Reservations now supports message tags in notifications by default. This was added in version 1.2
*/
@NateWr
NateWr / edd-retro-license-emails.php
Created Jul 23, 2014
Send an email with the license key to customers when retroactively generating licenses with Easy Digital Download's Software Licensing.
View edd-retro-license-emails.php
<?php
/**
* Plugin Name: Retroactive License Emails for EDD Software Licensing
* Plugin URI: http://themeofthecrop.com
* Description: Send an email with the license key to customers when retroactively generating licenses with Easy Digital Download's Software Licensing.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@NateWr
NateWr / adwords-tracking-for-rtb.php
Last active Jun 3, 2019
Output Google Adwords tracking code when a booking request is made.
View adwords-tracking-for-rtb.php
<?php
/**
* Plugin Name: Google Adwords Tracking for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Insert a Google Adwords Campaign conversion tracking snippet when a new booking request has been made.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@NateWr
NateWr / cclt-start-carousel.php
Created Aug 7, 2014
Start CafeCultura carousel automatically
View cclt-start-carousel.php
@NateWr
NateWr / custom-legend-for-rtb.php
Last active Jan 23, 2019
Customize the "Book a Form" text in Restaurant Reservations
View custom-legend-for-rtb.php
<?php
/**
* Plugin Name: Custom Legend for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Change the legend text of the booking form to Request an Appointment
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@NateWr
NateWr / email-template-tag-for-rtb.php
Last active Jan 23, 2019
Add a template tag for the email of the person who submitted the booking request.
View email-template-tag-for-rtb.php
<?php
/**
* Plugin Name: Email Template Tag for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Add a template tag for the email of the person who submitted the booking request.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@NateWr
NateWr / modified-party-for-rtb.php
Last active Jan 23, 2019
modified-party-for-rtb.php
View modified-party-for-rtb.php
<?php
/**
* Plugin Name: Modified Party Field Title for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Change the title of the Party field to Number in your group for the booking form.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html