add_image_size('food_home_banner', 960, 400, true);
add_image_size('food_home_panels', 310, 210, true);
add_image_size('food_home_small_panel', 310, 149, true);
add_image_size('recipe-full', 330, 500, true);
add_image_size('recipe-thumbnail', 110, 110, true);
// Youtube Link
function youtubeID($idIn) {
if(strpos($idIn,'v=')!=false) {
$idIn = substr($idIn,strpos($idIn,'v=')+2);
}
return $idIn;
}
function youtubeLink($linkIn) {
return 'http://www.youtube.com/embed/'.youtubeID($linkIn);
}
add_action('admin_menu', 'my_remove_menu_pages_lad');
function my_remove_menu_pages_lad() {
remove_menu_page('edit.php?post_type=job');
remove_menu_page('edit.php?post_type=store');
}
// Recipes
add_action( 'init', 'register_cpt_recipe' );
function register_cpt_recipe() {
$labels = array(
'name' => _x( 'Recipes', 'recipes'),
'singular_name' => _x( 'Recipe', 'recipes' ),
'add_new' => _x( 'Add New', 'recipes' ),
'add_new_item' => _x( 'Add New Recipe', 'recipes' ),
'edit_item' => _x( 'Edit Recipe', 'recipes' ),
'new_item' => _x( 'New Recipe', 'recipes' ),
'view_item' => _x( 'View Recipe', 'recipes' ),
'search_items' => _x( 'Search Recipes', 'recipes' ),
'not_found' => _x( 'No recipe found', 'recipes' ),
'not_found_in_trash' => _x( 'No recipe found in Trash', 'recipes' ),
'parent_item_colon' => _x( 'Parent recipe:', 'recipes' ),
'menu_name' => _x( 'Recipes', 'recipes' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'supports' => array('title','thumbnail'),
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 11,
'show_in_nav_menus' => false,
'publicly_queryable' => true,
'exclude_from_search' => false,
'has_archive' => true,
'query_var' => true,
'can_export' => true,
'rewrite' => true,
'capability_type' => 'post'
);
register_post_type( 'recipes', $args );
}
?>
Lakes & Dales To Sponsor Weardale Show | Lakes and Dales
/*
*/ ?>
Skip to content
Lakes & Dales To Sponsor Weardale Show
if($postType!='noticeboard') { ?>
} ?>
25 May 2018
Lakes & Dales Co-op are really pleased to be able to support this year’s Weardale Show via a Lakes and Dales Community Grant.
The grant was presented to Joan Warriner from the Weardale Agricultural Society by Christine, manager at our St John’s Chapel store, and the funds will be used to help provide a variety of children’s entertainment at the show.
The 149th Weardale Show will take place in St. John’s Chapel, Co. Durham on Saturday, 25th August 2018.
if($postType!='noticeboard') { ?>
} ?>
Go Back
/* */ ?>