\l#mWwnÀd‡ Handle the add to shopping list shortcode. øink http://bootstrapped.ventures * @since 8.3.0 * * @package WP_Recipe_Maker * @subpackage WP_Recipe_Maker/includes/public/shortcodes/recipe */ /** * Handle the add to shopping list shortcode. * * @since 8.3.0 * @package WP_Recipe_Maker * @subpackage WP_Recipe_Maker/includes/public/shortcodes/recipe * @author Brecht Vandersmissen */ class WPRM_SC_Add_To_Shopping_List extends WPRM_Template_Shortcode { public static $shortcode = 'wprm-recipe-add-to-shopping-list'; public static function init() { $atts = array(); // Warning if setting not set. if ( ! WPRM_Settings::get( 'quick_access_shopping_list_link' ) ) { $atts['setting_not_set'] = array( 'type' => 'info', 'default' => '', 'text' => __( 'The button will only show up when a link to the shopping list is set on the WP Recipe Maker > Settings > Recipe Collections > Shopping List page', 'wp-recipe-maker' ), 'color' => 'darkred', ); } // Default attributes. $atts = array_merge( $atts, array( 'id' => array( 'default' => '0', ), 'grid' => array( 'default' => '', ), 'style' => array( 'default' => 'text', 'type' => 'dropdown', 'options' => array( 'text' => 'Text', 'button' => 'Button', 'inline-button' => 'Inline Button', 'wide-button' => 'Full Width Button', ), ), 'icon' => array( 'default' => '', 'type' => 'icon', ), 'text' => array( 'default' => __( 'Add to Shopping List', 'wp-recipe-maker' ), 'type' => 'text', ), 'added_action' => array( 'default' => 'go', 'type' => 'dropdown', 'options' => array( 'go' => 'Go to Shopping List', 'remove' => 'Remove from Shopping List', ), ), 'icon_added' => array( 'default' => '', 'type' => 'icon', ), 'text_added' => array( 'default' => __( 'Go to Shopping List', 'wp-recipe-maker' ), 'type' => 'text', ), 'text_style' => array( 'default' => 'normal', 'type' => 'dropdown', 'options' => 'text_styles', ), 'icon_color' => array( 'default' => '#333333', 'type' => 'color', 'dependency' => array( 'id' => 'icon', 'value' => '', 'type' => 'inverse', ), ), 'text_color' => array( 'default' => '#333333', 'type' => 'color', 'dependency' => array( 'id' => 'text', 'value' => '', 'type' => 'inverse', ), ), 'horizontal_padding' => array( 'default' => '5px', 'type' => 'size', 'dependency' => array( 'id' => 'style', 'value' => 'text', 'type' => 'inverse', ), ), 'vertical_padding' => array( 'default' => '5px', 'type' => 'size', 'dependency' => array( 'id' => 'style', 'value' => 'text', 'type' => 'inverse', ), ), 'button_color' => array( 'default' => '#ffffff', 'type' => 'color', 'dependency' => array( 'id' => 'style', 'value' => 'text', 'type' => 'inverse', ), ), 'border_color' => array( 'default' => '#333333', 'type' => 'color', 'dependency' => array( 'id' => 'style', 'value' => 'text', 'type' => 'inverse', ), ), 'border_radius' => array( 'default' => '0px', 'type' => 'size', 'dependency' => array( 'id' => 'style', 'value' => 'text', 'type' => 'inverse', ), ), ) ); self::$attributes = $atts; parent::init(); } /** * Output for the shortcode. * * @since 8.3.0 * @param array $atts Options passed along with the shortcode. */ public static function shortcode( $atts ) { $atts = parent::get_attributes( $atts ); $output = ''; $recipe = WPRM_Template_Shortcodes::get_recipe( $atts['id'] ); return apply_filters( parent::get_hook(), $output, $atts, $recipe ); } } WPRM_SC_Add_To_Shopping_List::init(); Rusty Chicken - Friday Night Snacks and More...
–+ servings
Print Recipe Add to Collection
No ratings yet

Rusty Chicken

Incredibly simple and highly effective grilled chicken marinade. It's so perfect and juicy and flavorful. It's an overall gorgeous way to grill chicken
Prep Time15 minutes
Cook Time20 minutes
Total Time3 hours 35 minutes
Course: Main Course
Cuisine: American
Servings: 8 Servings

Ingredients

  • 2 teaspoons Asian chile pepper sauce sambal oelek
  • 1 1/2 tablespoons maple syrup
  • 2 tablespoons soy sauce
  • 2 tablespoons mayonnaise
  • 3 tablespoons rice vinegar salt and freshly ground black pepper to taste
  • 2 pounds skinless boneless chicken thighs
  • 1 whole lime cut into 8 wedges (optional)

Instructions

  • Mash garlic to a paste with a mortar and pestle. Mix chile pepper sauce, maple syrup, soy sauce, mayonnaise, and rice vinegar into garlic until marinade is thoroughly combined. Transfer chicken thighs to a large flat container (such as a baking dish) and pour marinade over chicken; stir until chicken is coated. Cover dish with plastic wrap and refrigerate about 3 hours; if preferred, let stand about 30 minutes at room temperature. Unwrap dish and sprinkle with salt. Preheat charcoal grill to high heat. Place chicken thighs onto the hot grill with smooth sides down. Cook until chicken shows grill marks, about 3 minutes. Turn chicken over and cook until other side shows grill marks, about 5 minutes. Continue to cook, moving them occasionally and turning over every 2 minutes, until meat is no longer pink inside and the thighs are golden brown, 10 to 12 minutes. Transfer chicken to a platter, let rest for 5 minutes and serve garnished with lime wedges (optional).

Video