Skip to content

Instantly share code, notes, and snippets.

@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 / custom-interval-for-rtb.php
Created October 20, 2014 10:24
Add a new Time Interval option to the booking schedule settings in Restaurant Reservations.
<?php
/**
* Plugin Name: Custom Booking Interval for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Add a new Time Interval option to the booking schedule settings in Restaurant Reservations.
* 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 / rtbbp-address-tag-for-rtb.php
Created November 24, 2014 16:42
Add a notification tag to Restaurant Reservations that pulls the address and directions link from Business Profile
<?php
/**
* Plugin Name: Address Notification Tag for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Add a template tag for notification requests that will print a business's address and a link to get directions from Google.
* 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 / 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 / rtb-override-notification-from-email.php
Created December 11, 2014 13:43
Override the From email address used in booking notification emails
<?php
/**
* Plugin Name: Notification Email Override for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Override the From email address used in booking notification emails
* 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 / simple-email-validation-for-rtb.php
Created December 13, 2014 15:48
Check if a reservations's email address includes the @ symbol before accepting.
<?php
/**
* Plugin Name: Simple Email Validation for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Check if a reservations's email address includes the @ symbol before accepting.
* 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 / redirect-after-submit-for-rtb.php
Created December 30, 2014 11:18
Redirect the user to a different page after they have submitted their reservation.
<?php
/**
* Plugin Name: Redirect After Submit for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Redirect the user to a different page after they have submitted their reservation.
* 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 / simple-phone-validation-for-rtb.php
Last active January 23, 2019 08:54
Require a phone number with at least 5 numbers, dashes, spaces, periods or parentheses.
<?php
/**
* Plugin Name: Simple Phone Validation for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Check if a reservations's phone number is not empty and includes only numbers, spaces, dashes, periods and parentheses.
* 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 / dont-require-email-for-rtb.php
Last active November 6, 2018 09:37
Prevents an error from being displayed if the user does not enter an email address.
<?php
/**
* Plugin Name: Don't Require Email Field for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Prevents an error from being displayed if the user does not enter an email address.
* 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 / confirm-new-bookings-for-rtb.php
Last active August 23, 2019 08:46
Automatically confirm new booking requests for Restaurant Reservations.
<?php
/**
* Plugin Name: Auto-confirm New Bookings for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Automatically confirm new booking requests.
* 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