Changeset 1044356
- Timestamp:
- 12/14/2014 12:40:08 PM (11 years ago)
- Location:
- recipe-hero
- Files:
-
- 244 added
- 9 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/LICENSE.txt (added)
-
tags/1.0.3/README.txt (added)
-
tags/1.0.3/assets (added)
-
tags/1.0.3/assets/admin (added)
-
tags/1.0.3/assets/admin/css (added)
-
tags/1.0.3/assets/admin/css/.sass-cache (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/011d048fc130939b11ff1b3e21c797b202fd5728 (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/011d048fc130939b11ff1b3e21c797b202fd5728/admin.scssc (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/05cdcc060191ea6c8b1475c6612ef493e135400c (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/05cdcc060191ea6c8b1475c6612ef493e135400c/admin.scssc (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/290f4bff6e047babdd617357ee832741b4083312 (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/290f4bff6e047babdd617357ee832741b4083312/admin.scssc (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/60df04718c0615a0c33380f110190f6fd1485b74 (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/60df04718c0615a0c33380f110190f6fd1485b74/chosen.scssc (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/d8ac19ba46592c0d336ae5f99e801019ad2955cb (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/d8ac19ba46592c0d336ae5f99e801019ad2955cb/activation.scssc (added)
-
tags/1.0.3/assets/admin/css/.sass-cache/d8ac19ba46592c0d336ae5f99e801019ad2955cb/chosen.scssc (added)
-
tags/1.0.3/assets/admin/css/activation.css (added)
-
tags/1.0.3/assets/admin/css/admin.css (added)
-
tags/1.0.3/assets/admin/css/admin.scss (added)
-
tags/1.0.3/assets/admin/css/index.php (added)
-
tags/1.0.3/assets/admin/css/select2.css (added)
-
tags/1.0.3/assets/admin/css/tiptip.css (added)
-
tags/1.0.3/assets/admin/js (added)
-
tags/1.0.3/assets/admin/js/admin.js (added)
-
tags/1.0.3/assets/admin/js/index.php (added)
-
tags/1.0.3/assets/admin/js/jquery-select (added)
-
tags/1.0.3/assets/admin/js/jquery-select/min (added)
-
tags/1.0.3/assets/admin/js/jquery-select/min/select2-rtl-min.js (added)
-
tags/1.0.3/assets/admin/js/jquery-select/select2-rtl-min.js (added)
-
tags/1.0.3/assets/admin/js/jquery-select/select2-rtl.js (added)
-
tags/1.0.3/assets/admin/js/jquery-select/select2.js (added)
-
tags/1.0.3/assets/admin/js/jquery-select/select2.min.js (added)
-
tags/1.0.3/assets/admin/js/jquery-tiptip (added)
-
tags/1.0.3/assets/admin/js/jquery-tiptip/jquery.tipTip.min.js (added)
-
tags/1.0.3/assets/admin/js/jquery.numeric.js (added)
-
tags/1.0.3/assets/admin/js/liquidmetal.js (added)
-
tags/1.0.3/assets/admin/js/meta-boxes-gallery.js (added)
-
tags/1.0.3/assets/admin/js/min (added)
-
tags/1.0.3/assets/admin/js/min/meta-boxes-gallery-min.js (added)
-
tags/1.0.3/assets/admin/js/min/recipe-ordering-min.js (added)
-
tags/1.0.3/assets/admin/js/recipe-ordering.js (added)
-
tags/1.0.3/assets/frontend (added)
-
tags/1.0.3/assets/frontend/.sass-cache (added)
-
tags/1.0.3/assets/frontend/.sass-cache/f5c3860577bdc1ca5639dbb3f9196f48dd280130 (added)
-
tags/1.0.3/assets/frontend/.sass-cache/f5c3860577bdc1ca5639dbb3f9196f48dd280130/rh-styles-rtl.scssc (added)
-
tags/1.0.3/assets/frontend/css (added)
-
tags/1.0.3/assets/frontend/css/.sass-cache (added)
-
tags/1.0.3/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d (added)
-
tags/1.0.3/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d/rh-mixins.scssc (added)
-
tags/1.0.3/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d/rh-styles-rtl.scssc (added)
-
tags/1.0.3/assets/frontend/css/.sass-cache/0695a43d849ab0bec2fc2ea922f871de9d14730d/rh-styles.scssc (added)
-
tags/1.0.3/assets/frontend/css/.sass-cache/0e28f0bdd4c3ee98e574d7f65519e8af291d4e3f (added)
-
tags/1.0.3/assets/frontend/css/.sass-cache/0e28f0bdd4c3ee98e574d7f65519e8af291d4e3f/rh-mixins.scssc (added)
-
tags/1.0.3/assets/frontend/css/.sass-cache/0e28f0bdd4c3ee98e574d7f65519e8af291d4e3f/rh-styles.scssc (added)
-
tags/1.0.3/assets/frontend/css/gridism.css (added)
-
tags/1.0.3/assets/frontend/css/index.php (added)
-
tags/1.0.3/assets/frontend/css/magnific-popup.css (added)
-
tags/1.0.3/assets/frontend/css/rh-mixins.scss (added)
-
tags/1.0.3/assets/frontend/css/rh-styles-rtl.css (added)
-
tags/1.0.3/assets/frontend/css/rh-styles-rtl.scss (added)
-
tags/1.0.3/assets/frontend/css/rh-styles.css (added)
-
tags/1.0.3/assets/frontend/css/rh-styles.scss (added)
-
tags/1.0.3/assets/frontend/js (added)
-
tags/1.0.3/assets/frontend/js/index.php (added)
-
tags/1.0.3/assets/frontend/js/jquery.magnific-popup.min.js (added)
-
tags/1.0.3/assets/frontend/js/min (added)
-
tags/1.0.3/assets/frontend/js/min/rh-lightbox-min.js (added)
-
tags/1.0.3/assets/frontend/js/min/rh-scripts-min.js (added)
-
tags/1.0.3/assets/frontend/js/rh-lightbox.js (added)
-
tags/1.0.3/assets/frontend/js/rh-scripts.js (added)
-
tags/1.0.3/assets/images (added)
-
tags/1.0.3/assets/images/gordon.png (added)
-
tags/1.0.3/assets/images/help.png (added)
-
tags/1.0.3/assets/images/select2-spinner.gif (added)
-
tags/1.0.3/assets/images/select2.png (added)
-
tags/1.0.3/assets/images/select2x2.png (added)
-
tags/1.0.3/assets/index.php (added)
-
tags/1.0.3/composer.json (added)
-
tags/1.0.3/config.codekit (added)
-
tags/1.0.3/includes (added)
-
tags/1.0.3/includes/abstracts (added)
-
tags/1.0.3/includes/abstracts/abstract-rh-recipe.php (added)
-
tags/1.0.3/includes/admin (added)
-
tags/1.0.3/includes/admin/class-rh-admin-extensions.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-menus.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-meta-boxes.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-notices.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-ordering.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-permalink-settings.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-scripts.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-settings.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-tweaks.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin-welcome.php (added)
-
tags/1.0.3/includes/admin/class-rh-admin.php (added)
-
tags/1.0.3/includes/admin/index.php (added)
-
tags/1.0.3/includes/admin/meta-boxes (added)
-
tags/1.0.3/includes/admin/meta-boxes/class-rh-meta-box-recipe-reviews.php (added)
-
tags/1.0.3/includes/admin/rh-admin-functions.php (added)
-
tags/1.0.3/includes/admin/rh-columns.php (added)
-
tags/1.0.3/includes/admin/rh-help-tab.php (added)
-
tags/1.0.3/includes/admin/settings (added)
-
tags/1.0.3/includes/admin/settings/class-rh-settings-general.php (added)
-
tags/1.0.3/includes/admin/settings/class-rh-settings-integrations.php (added)
-
tags/1.0.3/includes/admin/settings/class-rh-settings-page.php (added)
-
tags/1.0.3/includes/admin/views (added)
-
tags/1.0.3/includes/admin/views/html-admin-settings.php (added)
-
tags/1.0.3/includes/admin/views/html-notice-labels.php (added)
-
tags/1.0.3/includes/admin/views/html-notice-update.php (added)
-
tags/1.0.3/includes/class-rh-cache-helper.php (added)
-
tags/1.0.3/includes/class-rh-comments.php (added)
-
tags/1.0.3/includes/class-rh-frontend-scripts.php (added)
-
tags/1.0.3/includes/class-rh-install.php (added)
-
tags/1.0.3/includes/class-rh-integrations.php (added)
-
tags/1.0.3/includes/class-rh-lightbox.php (added)
-
tags/1.0.3/includes/class-rh-post-types.php (added)
-
tags/1.0.3/includes/class-rh-query.php (added)
-
tags/1.0.3/includes/class-rh-settings-methods.php (added)
-
tags/1.0.3/includes/fields (added)
-
tags/1.0.3/includes/fields/CMB2.php (added)
-
tags/1.0.3/includes/fields/css (added)
-
tags/1.0.3/includes/fields/css/cmb2.css (added)
-
tags/1.0.3/includes/fields/css/cmb2.css.map (added)
-
tags/1.0.3/includes/fields/css/cmb2.min.css (added)
-
tags/1.0.3/includes/fields/css/index.php (added)
-
tags/1.0.3/includes/fields/css/sass (added)
-
tags/1.0.3/includes/fields/css/sass/cmb2.scss (added)
-
tags/1.0.3/includes/fields/css/sass/index.php (added)
-
tags/1.0.3/includes/fields/css/sass/partials (added)
-
tags/1.0.3/includes/fields/css/sass/partials/_jquery_ui.scss (added)
-
tags/1.0.3/includes/fields/css/sass/partials/_main_wrap.scss (added)
-
tags/1.0.3/includes/fields/css/sass/partials/_misc.scss (added)
-
tags/1.0.3/includes/fields/css/sass/partials/_mixins.scss (added)
-
tags/1.0.3/includes/fields/css/sass/partials/_post_metaboxes.scss (added)
-
tags/1.0.3/includes/fields/css/sass/partials/_sidebar_placements.scss (added)
-
tags/1.0.3/includes/fields/css/sass/partials/_timepicker.scss (added)
-
tags/1.0.3/includes/fields/css/sass/partials/_variables.scss (added)
-
tags/1.0.3/includes/fields/css/sass/partials/index.php (added)
-
tags/1.0.3/includes/fields/custom (added)
-
tags/1.0.3/includes/fields/custom/cmb2-select2 (added)
-
tags/1.0.3/includes/fields/custom/cmb2-select2/cmb2-select2-css.css (added)
-
tags/1.0.3/includes/fields/custom/cmb2-select2/cmb2-select2-js.js (added)
-
tags/1.0.3/includes/fields/custom/cmb2-select2/cmb2-select2.php (added)
-
tags/1.0.3/includes/fields/images (added)
-
tags/1.0.3/includes/fields/images/ico-delete.png (added)
-
tags/1.0.3/includes/fields/images/index.php (added)
-
tags/1.0.3/includes/fields/images/ui-bg_flat_0_aaaaaa_40x100.png (added)
-
tags/1.0.3/includes/fields/images/ui-bg_flat_75_ffffff_40x100.png (added)
-
tags/1.0.3/includes/fields/images/ui-bg_glass_55_fbf9ee_1x400.png (added)
-
tags/1.0.3/includes/fields/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/1.0.3/includes/fields/images/ui-bg_glass_75_dadada_1x400.png (added)
-
tags/1.0.3/includes/fields/images/ui-bg_glass_75_e6e6e6_1x400.png (added)
-
tags/1.0.3/includes/fields/images/ui-bg_glass_95_fef1ec_1x400.png (added)
-
tags/1.0.3/includes/fields/images/ui-bg_highlight-soft_75_cccccc_1x100.png (added)
-
tags/1.0.3/includes/fields/images/ui-icons_222222_256x240.png (added)
-
tags/1.0.3/includes/fields/images/ui-icons_2e83ff_256x240.png (added)
-
tags/1.0.3/includes/fields/images/ui-icons_454545_256x240.png (added)
-
tags/1.0.3/includes/fields/images/ui-icons_888888_256x240.png (added)
-
tags/1.0.3/includes/fields/images/ui-icons_cd0a0a_256x240.png (added)
-
tags/1.0.3/includes/fields/includes (added)
-
tags/1.0.3/includes/fields/includes/CMB2_Ajax.php (added)
-
tags/1.0.3/includes/fields/includes/CMB2_Field.php (added)
-
tags/1.0.3/includes/fields/includes/CMB2_Options.php (added)
-
tags/1.0.3/includes/fields/includes/CMB2_Sanitize.php (added)
-
tags/1.0.3/includes/fields/includes/CMB2_Show_Filters.php (added)
-
tags/1.0.3/includes/fields/includes/CMB2_Types.php (added)
-
tags/1.0.3/includes/fields/includes/CMB2_Utils.php (added)
-
tags/1.0.3/includes/fields/includes/CMB2_hookup.php (added)
-
tags/1.0.3/includes/fields/includes/helper-functions.php (added)
-
tags/1.0.3/includes/fields/includes/index.php (added)
-
tags/1.0.3/includes/fields/index.php (added)
-
tags/1.0.3/includes/fields/init.php (added)
-
tags/1.0.3/includes/fields/js (added)
-
tags/1.0.3/includes/fields/js/cmb2.js (added)
-
tags/1.0.3/includes/fields/js/cmb2.min.js (added)
-
tags/1.0.3/includes/fields/js/index.php (added)
-
tags/1.0.3/includes/fields/js/jquery.timePicker.min.js (added)
-
tags/1.0.3/includes/index.php (added)
-
tags/1.0.3/includes/rh-core-functions.php (added)
-
tags/1.0.3/includes/rh-fields.php (added)
-
tags/1.0.3/includes/rh-general-functions.php (added)
-
tags/1.0.3/includes/rh-page-functions.php (added)
-
tags/1.0.3/includes/rh-schema.php (added)
-
tags/1.0.3/includes/rh-shortcodes.php (added)
-
tags/1.0.3/includes/rh-tax.php (added)
-
tags/1.0.3/includes/rh-templates-functions.php (added)
-
tags/1.0.3/includes/rh-templates-hooks.php (added)
-
tags/1.0.3/includes/rh-templates.php (added)
-
tags/1.0.3/includes/shortcodes (added)
-
tags/1.0.3/includes/shortcodes/rh-shortcodes-archive.php (added)
-
tags/1.0.3/includes/shortcodes/rh-shortcodes-single.php (added)
-
tags/1.0.3/includes/templates-parts (added)
-
tags/1.0.3/includes/templates-parts/rh-templates-archive-functions.php (added)
-
tags/1.0.3/includes/templates-parts/rh-templates-search-functions.php (added)
-
tags/1.0.3/includes/templates-parts/rh-templates-sidebar-functions.php (added)
-
tags/1.0.3/includes/templates-parts/rh-templates-single-functions.php (added)
-
tags/1.0.3/includes/templates-parts/rh-templates-supports-functions.php (added)
-
tags/1.0.3/includes/templates-parts/rh-templates-tax-header-functions.php (added)
-
tags/1.0.3/includes/templates-parts/rh-templates-wrapper-functions.php (added)
-
tags/1.0.3/includes/updates (added)
-
tags/1.0.3/includes/updates/recipe-hero-update-1.0.php (added)
-
tags/1.0.3/index.php (added)
-
tags/1.0.3/languages (added)
-
tags/1.0.3/languages/index.php (added)
-
tags/1.0.3/languages/recipe-hero.mo (added)
-
tags/1.0.3/languages/recipe-hero.pot (added)
-
tags/1.0.3/recipe-hero.php (added)
-
tags/1.0.3/templates (added)
-
tags/1.0.3/templates/archive (added)
-
tags/1.0.3/templates/archive.php (added)
-
tags/1.0.3/templates/archive/category.php (added)
-
tags/1.0.3/templates/archive/description.php (added)
-
tags/1.0.3/templates/archive/details.php (added)
-
tags/1.0.3/templates/archive/meta.php (added)
-
tags/1.0.3/templates/archive/photo.php (added)
-
tags/1.0.3/templates/archive/rating.php (added)
-
tags/1.0.3/templates/archive/title.php (added)
-
tags/1.0.3/templates/content-archive-recipe.php (added)
-
tags/1.0.3/templates/content-single-recipe.php (added)
-
tags/1.0.3/templates/global (added)
-
tags/1.0.3/templates/global/sidebar.php (added)
-
tags/1.0.3/templates/global/wrapper-end.php (added)
-
tags/1.0.3/templates/global/wrapper-start.php (added)
-
tags/1.0.3/templates/loop (added)
-
tags/1.0.3/templates/loop/no-recipes-found.php (added)
-
tags/1.0.3/templates/loop/pagination.php (added)
-
tags/1.0.3/templates/search-results.php (added)
-
tags/1.0.3/templates/single (added)
-
tags/1.0.3/templates/single-recipe-reviews.php (added)
-
tags/1.0.3/templates/single.php (added)
-
tags/1.0.3/templates/single/category.php (added)
-
tags/1.0.3/templates/single/description.php (added)
-
tags/1.0.3/templates/single/details.php (added)
-
tags/1.0.3/templates/single/gallery.php (added)
-
tags/1.0.3/templates/single/ingredients.php (added)
-
tags/1.0.3/templates/single/meta.php (added)
-
tags/1.0.3/templates/single/nutrition.php (added)
-
tags/1.0.3/templates/single/photo.php (added)
-
tags/1.0.3/templates/single/rating.php (added)
-
tags/1.0.3/templates/single/review.php (added)
-
tags/1.0.3/templates/single/steps.php (added)
-
tags/1.0.3/templates/single/title.php (added)
-
tags/1.0.3/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/class-rh-post-types.php (modified) (5 diffs)
-
trunk/includes/class-rh-query.php (modified) (2 diffs)
-
trunk/includes/rh-fields.php (modified) (1 diff)
-
trunk/recipe-hero.php (modified) (3 diffs)
-
trunk/templates/archive/meta.php (modified) (2 diffs)
-
trunk/templates/single/ingredients.php (modified) (2 diffs)
-
trunk/templates/single/rating.php (modified) (4 diffs)
-
trunk/uninstall.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
recipe-hero/trunk/README.txt
r1044050 r1044356 5 5 Requires at least: 3.8.0 6 6 Tested up to: 4.1.0 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 134 134 == Changelog == 135 135 136 = 1.0.3 = 137 * Bug Fix: Reviews link / summary on archives 138 * Bug Fix: Include recipe_hero_enable_review_rating option in uninstall.php 139 * Bug Fix: RH_Query class missing a public var - added it! 140 * Buf Fix: Ingredients undefined index error 141 * Template Change: single/ingredients.php 142 * Template Change: review.php / rating.php / single-recipe-reviews.php 143 136 144 = 1.0.2 = 137 145 * New: Recipe Reviews / Ratings -
recipe-hero/trunk/includes/class-rh-post-types.php
r1043378 r1044356 13 13 exit; // Exit if accessed directly 14 14 } 15 15 16 16 /** 17 17 * Register 'Recipe' Custom Post Type. … … 25 25 26 26 public static function init() { 27 27 28 28 add_action( 'init', array( __CLASS__, 'register_taxonomies' ), 6 ); 29 29 add_action( 'init', array( __CLASS__, 'register_post_types' ), 6 ); … … 61 61 'not_found_in_trash' => __( 'No Course found in Trash' ), 62 62 ); 63 63 64 64 $course_pages = array('recipe'); 65 65 … … 96 96 'not_found_in_trash' => __( 'No Cuisine found in Trash' ), 97 97 ); 98 98 99 99 $cuisine_pages = array('recipe'); 100 100 101 101 $cuisine_args = array( 102 102 'labels' => $cuisine_labels, … … 150 150 'menu_name' => __( 'Recipe Hero' ) 151 151 ); 152 152 153 153 $taxonomies = array(); 154 154 155 155 $supports = array( 'title','editor','author','thumbnail','excerpt','comments','custom-fields','publicize','page-attributes' ); 156 156 157 157 $post_type_args = array( 158 158 'labels' => $labels, -
recipe-hero/trunk/includes/class-rh-query.php
r1038648 r1044356 8 8 * @link http://captaintheme.com 9 9 * @copyright 2014 Captain Theme 10 * @since 1.0.3 10 11 */ 11 12 … … 20 21 */ 21 22 class RH_Query { 23 24 /** @public array Query vars to add to wp */ 25 public $query_vars = array(); 22 26 23 27 /** -
recipe-hero/trunk/includes/rh-fields.php
r1043378 r1044356 163 163 'none' => __( 'None (No Quantity)', 'recipe-hero' ), 164 164 ) ), 165 'default' => apply_filters( 'recipe_hero_meta_ingredients_amount_default', ' gm' ),165 'default' => apply_filters( 'recipe_hero_meta_ingredients_amount_default', 'none' ), 166 166 //'sanitization_cb' => 'pw_select2_sanitise', 167 167 ), -
recipe-hero/trunk/recipe-hero.php
r1043378 r1044356 12 12 * Plugin URI: http://recipehero.in/ 13 13 * Description: The last recipe plugin you'll ever need. 14 * Version: 1.0. 214 * Version: 1.0.3 15 15 * Author: Bryce Adams 16 16 * Author URI: http://bryce.se/ … … 37 37 * 38 38 * @class RecipeHero 39 * @version 1.0. 239 * @version 1.0.3 40 40 */ 41 41 … … 45 45 * Plugin version, used for cache-busting of style and script file references. 46 46 * 47 * @since 1.0. 247 * @since 1.0.3 48 48 * 49 49 * @var string 50 50 */ 51 public static $version = '1.0. 2';51 public static $version = '1.0.3'; 52 52 53 53 /** -
recipe-hero/trunk/templates/archive/meta.php
r1043378 r1044356 5 5 * @package Recipe Hero 6 6 * @author Captain Theme <[email protected]> 7 * @version 1.0. 27 * @version 1.0.3 8 8 */ 9 9 … … 26 26 </div> 27 27 28 <div class="comments-link"> 29 <span class="dashicons dashicons-testimonial"></span> <a href="#reviews"><?php comments_number( __( '0 Reviews', 'recipe-hero' ), __( '1 Review', 'recipe-hero' ), __( '% Reviews', 'recipe-hero' ) ); ?></a> 30 </div> 28 <?php recipe_hero_get_template( 'single/rating.php' ); ?> 31 29 32 30 <?php if ( get_edit_post_link() ) { ?> -
recipe-hero/trunk/templates/single/ingredients.php
r1040292 r1044356 5 5 * @package Recipe Hero 6 6 * @author Captain Theme <[email protected]> 7 * @version 1.0. 17 * @version 1.0.3 8 8 * @todo Move functionaility into template parts and hook it in 9 9 */ … … 13 13 global $post; 14 14 $ingredients = get_post_meta( $post->ID, '_recipe_hero_ingredients_group', true ); 15 $ingredients = array_filter( $ingredients ); 15 16 16 17 // Check if any ingredients exist 17 if ( ( $ingredients[0]['quantity'] ) ) { ?>18 if ( isset( $ingredients[0]['name'] ) ) { ?> 18 19 19 20 <div class="recipe-single-ingredients"> -
recipe-hero/trunk/templates/single/rating.php
r1043378 r1044356 5 5 * @package Recipe Hero 6 6 * @author Captain Theme <[email protected]> 7 * @version 1.0. 27 * @version 1.0.3 8 8 */ 9 9 … … 17 17 $average = $recipe->get_average_rating(); 18 18 19 $link = is_archive() ? get_permalink( get_the_ID() ) . '#reviews' : '#reviews'; 20 19 21 if ( get_option( 'recipe_hero_enable_review_rating' ) === 'no' ) { 20 22 21 23 if ( comments_open() ) : ?> 22 <span class="dashicons dashicons-testimonial"></span> <a href=" #reviews" rel="nofollow"><?php printf( _n( '%s Review', '%s Reviews', $count, 'recipe-hero' ), '<span itemprop="ratingCount" class="count">' . $count . '</span>' ); ?></a>24 <span class="dashicons dashicons-testimonial"></span> <a href="<?php echo $link; ?>" rel="nofollow"><?php printf( _n( '%s Review', '%s Reviews', $count, 'recipe-hero' ), '<span itemprop="ratingCount" class="count">' . $count . '</span>' ); ?></a> 23 25 <?php endif; 24 26 … … 27 29 } 28 30 29 30 31 if ( $count > 0 ) : ?> 31 32 … … 33 34 34 35 <?php if ( comments_open() ) : ?> 35 <span class="dashicons dashicons-testimonial"></span> <a href=" #reviews" rel="nofollow"><?php printf( _n( '%s Review', '%s Reviews', $count, 'recipe-hero' ), '<span itemprop="ratingCount" class="count">' . $count . '</span>' ); ?></a>36 <span class="dashicons dashicons-testimonial"></span> <a href="<?php echo $link; ?>" rel="nofollow"><?php printf( _n( '%s Review', '%s Reviews', $count, 'recipe-hero' ), '<span itemprop="ratingCount" class="count">' . $count . '</span>' ); ?></a> 36 37 <?php endif; ?> 37 38 -
recipe-hero/trunk/uninstall.php
r1040292 r1044356 8 8 * @link http://captaintheme.com 9 9 * @copyright 2014 Captain Theme 10 * @since 1.0. 010 * @since 1.0.3 11 11 */ 12 12 … … 18 18 'recipe_hero_recipes_page_id', 19 19 'recipe_hero_recipe_order', 20 'recipe_hero_enable_review_rating', 20 21 'recipe_single_image_size', 21 22 'recipe_steps_image_size',
Note: See TracChangeset
for help on using the changeset viewer.