add_action('admin_menu', function () { add_management_page( 'Orphaned Pages (Strict)', 'Orphaned Pages (Strict)', 'manage_options', 'orphaned-pages-strict', 'witton_render_orphaned_pages_strict' ); }); function witton_render_orphaned_pages_strict() { if (!current_user_can('manage_options')) { wp_die('You do not have permission to access this page.'); } $pages = get_posts([ 'post_type' => 'page', 'post_status' => 'publish', 'posts_per_page' => -1, 'orderby' => 'title', 'order' => 'ASC', ]); $content_posts = get_posts([ 'post_type' => ['post', 'page'], 'post_status' => 'publish', 'posts_per_page' => -1, 'orderby' => 'ID', 'order' => 'ASC', ]); $menu_page_ids = witton_get_menu_page_ids(); $orphans = []; foreach ($pages as $page) { $page_id = (int) $page->ID; // Skip child pages if ((int) $page->post_parent > 0) { continue; } // Skip pages in menus if (in_array($page_id, $menu_page_ids, true)) { continue; } // Skip pages linked from content if (witton_page_is_linked_in_content($page, $content_posts)) { continue; } $orphans[] = $page; } echo '
'; echo '

Orphaned Pages (Strict)

'; echo '

This list excludes published pages that are in menus, are child pages, or are linked from published post/page content.

'; if (empty($orphans)) { echo '

No strict orphaned pages found.

'; echo '
'; return; } echo ''; echo ''; echo ''; foreach ($orphans as $page) { echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } echo '
IDTitleSlugDateViewEdit
' . (int) $page->ID . '' . esc_html($page->post_title) . '' . esc_html($page->post_name) . '' . esc_html($page->post_date) . 'ViewEdit
'; echo ''; } function witton_get_menu_page_ids() { $menu_page_ids = []; $locations = get_nav_menu_locations(); if (empty($locations)) { return $menu_page_ids; } foreach ($locations as $menu_id) { $items = wp_get_nav_menu_items($menu_id); if (empty($items)) { continue; } foreach ($items as $item) { if ( isset($item->object, $item->object_id) && $item->object === 'page' ) { $menu_page_ids[] = (int) $item->object_id; } } } return array_values(array_unique($menu_page_ids)); } function witton_page_is_linked_in_content($page, $content_posts) { $page_id = (int) $page->ID; $permalink = get_permalink($page_id); if (!$permalink) { return false; } $relative_path = wp_parse_url($permalink, PHP_URL_PATH); $slug = $page->post_name; $needles = array_filter(array_unique([ $permalink, untrailingslashit($permalink), trailingslashit($permalink), $relative_path, untrailingslashit((string) $relative_path), trailingslashit((string) $relative_path), '/' . trim($slug, '/') . '/', '/' . trim($slug, '/'), ])); foreach ($content_posts as $post) { // Skip self-linking check on the page itself if ((int) $post->ID === $page_id) { continue; } $content = (string) $post->post_content; if ($content === '') { continue; } foreach ($needles as $needle) { if ($needle !== '' && stripos($content, $needle) !== false) { return true; } } } return false; } Matchday Information - WITTON ALBION FOOTBALL CLUB
Witton Albion FC
Skip to content Skip to footer

Matchday Information

Welcome

Whether a first time visitor or reguler, home or away fan you will recieve a warm welcome at the U LOCK IT stadium.

Admission

Adults: £12
Concessions(Over65’s/Disabled): £7
Young Adults: (18-21 Year Old’s): £5
Under 18’s: £3 (FREE with Junior Membership Card)
Under 5’s - Admitted FREE

Access

Wheelchair users access is via the gate near to the turnstiles at the Wincham End of the stadium.
Disabled Facilities: There are two sections - one at each end of the main stand for Wheelchair users.
Disabled Parking is available in the staff and officials car park (Limited availability)

Payment

Cash and card are accepted at the turnstiles and throught the stadium

Refreshments

Social club - Serves alcohol, soft drinks, hot food, bar snacks
Dannys bar (Outside) - Serves alcohol and soft drinks
Tea Bar (Outside at Lostock end) - Hot food, Hot & cold drinks
Snack Bar (outside at Wincham End) - Serves hot & cold drinks and snacks

Witton Albion FC

The U Lock It Stadium,

Off Chapel Street
Wincham
Northwich
Cheshire 
CW9 6DA

Football for Everyone Community For Life

Witton Albion Football Club © 2026 (except fixtures, tables and images used by kind permission of their respective rights holders).. All rights reserved.

Website Creation:  Kev Wright –  media@wittonalbionfc.co.uk

Go to Top
Social Share Buttons and Icons powered by Ultimatelysocial