Skip to content

Instantly share code, notes, and snippets.

@NateWr
NateWr / socicons.css
Created February 17, 2014 17:41
Social media navigation menus in WordPress with Socicons
/**
* 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 / message-tag-for-rtb.php
Last active August 29, 2015 14:02
Message Template Tag addon for Restaurant Reservations
<?php
/**
* Restaurant Reservations now supports message tags in notifications by default. This was added in version 1.2
*/
@NateWr
NateWr / cclt-start-carousel.php
Created August 7, 2014 08:33
Start CafeCultura carousel automatically
@NateWr
NateWr / modify-cycle-delay-grfwp.php
Created October 13, 2014 14:48
Modify the delay between reviews when the reviews are displayed in a fader.
<?php
/**
* Plugin Name: Modify Cycle Delay for Good Reviews for WordPress
* Plugin URI: http://themeofthecrop.com
* Description: Modify the delay between reviews when the reviews are displayed in a fader.
* 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 / rtb-late-bookings-options.php
Last active August 29, 2015 14:10
Add options to block bookings 2, 3 or 4 days in advance
<?php
/**
* Plugin Name: Custom Late Bookings Options for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Add options to block bookings 2, 3 or 4 days in advance in the Restaurant Reservations plugin.
* 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 / replace-booking-page-for-rtb.php
Last active August 29, 2015 14:17
Replace the content of the Booking Page when a form is successfully submitted.
<?php
/**
* Plugin Name: Replace Booking Page Content for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Replace the content of the Booking Page when a form is successfully submitted.
* 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 / custom-csv-delimiter-for-ebfrtb.php
Created February 1, 2016 14:04
Change the delimiter used when generating CSV files with the Export Bookings for Restaurant Reservations plugin.
<?php
/**
* Plugin Name: Custom CSV Delimiter for Bookings Exports
* Plugin URI: http://themeofthecrop.com
* Description: Change the delimiter used when generating CSV files with the Export Bookings for Restaurant Reservations plugin.
* 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 / increase-max-party-size-option-for-rtb.php
Created February 9, 2016 10:12
Increase the maximum party size displayed in the settings.
<?php
/**
* Plugin Name: Increase Party Size Options for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Increase the maximum party size displayed in the settings.
* 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 / allow-editor-access-for-rtb.php
Created March 1, 2016 10:23
Allow anyone with the edit_pages capability to manage the Restaurant Reservations settings.
<?php
/**
* Plugin Name: Allow Editors to Edit Restaurant Reservations Settings
* Plugin URI: http://themeofthecrop.com
* Description: Allow anyone with the edit_pages capability to manage the Restaurant Reservations settings.
* 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 / scroll-on-submission-for-rtb.php
Created March 4, 2016 08:25
Automatically scroll to the booking form after a submission is made.
<?php
/**
* Plugin Name: Scroll-to Form After Submission for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Automatically scroll to the booking form after a submission is made.
* 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