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 );
}
?>
Supporting Local Communities | Lakes & Dales Co-operative
/*
*/ ?>
Skip to content
Supporting Local Communities
Lakes & Dales Co-operative works hand in hand with the communities we serve, helping them prosper and improving the lives of our customers and members. From small local organisations to national causes, we aim to make a difference. If you would like to find out more about how we can help your group or project, take a look at our Community Grant scheme .
Did you know that we give 15% of our pre-tax profits to local community groups, helping them to thrive and prosper? Here are just some of the groups we have helped since the beginning of 2014:
Penrith Beekeepers Association
Penrith Mountain Rescue
Skelton School
Bobby Robson Charity Walk
Langwathby Mayday
Penrith Lions Club Golf
Alzheimer’s Society fundraiser
Penrith Town Band
Greystoke Sports Association
Penrith Preschool & Nursery
Sound Advice Cumbria
Clifton Primary School
Skelton Show
Bolton Mill
Duck Derby
The Great North Air Ambulance
Penrith & District Gardeners Association
Eden Valley Football Tournament
Ullswater Community College
Parish Of Penrith
Cancer Research Charity Ball at Rheged
Penrith Agricultural Show
Penrith Remembers WW1
Chain Of Survival
Cardiac Smart Awards
Queen Elizabeth Grammar School
Penrith Football Club
Shap Swimming Pool
Eden Valley Camera Club
Drama in the Dale
Hallbankgate Playgroup
Weardale Agricultural Society
Harehope Quarry
Wearhead War Memorial
Shap Community Development
Fell Pony Society
Keswick Victorian Xmas Fayre
PCC of Lazonby
Shap Primary School
Weardale Graduates
Penrith Cricket Club
Lazonby & District’s got Talent
Stanhope Silver Band
Friends of Lazonby School
Shap After School Club
Shap Memorial Hall
The Great ‘Craic’ Magazine
Keswick VETS FC
Amy’s Care
Keswick Lawn Tennis
Lazonby Swimming pool
Shap CIO
S hap Cinema
Penrith Preschool Nursery
Shap Swimming Pool
Keswick Film Festival
Frosterley School
Friars Bowling Club
Cumbria Action for Sustainability