@@ 373-374 (lines=2) @@ | ||
370 | ||
371 | $page_templates[ __( 'Custom (uses only Pod Page content)', 'pods' ) ] = '_custom'; |
|
372 | ||
373 | if ( !in_array( 'pods.php', $page_templates ) && locate_template( array( 'pods.php', false ) ) ) |
|
374 | $page_templates[ __( 'Pods (Pods Default)', 'pods' ) ] = 'pods.php'; |
|
375 | ||
376 | if ( !in_array( 'page.php', $page_templates ) && locate_template( array( 'page.php', false ) ) ) |
|
377 | $page_templates[ __( 'Page (WP Default)', 'pods' ) ] = 'page.php'; |
|
@@ 376-377 (lines=2) @@ | ||
373 | if ( !in_array( 'pods.php', $page_templates ) && locate_template( array( 'pods.php', false ) ) ) |
|
374 | $page_templates[ __( 'Pods (Pods Default)', 'pods' ) ] = 'pods.php'; |
|
375 | ||
376 | if ( !in_array( 'page.php', $page_templates ) && locate_template( array( 'page.php', false ) ) ) |
|
377 | $page_templates[ __( 'Page (WP Default)', 'pods' ) ] = 'page.php'; |
|
378 | ||
379 | if ( !in_array( 'index.php', $page_templates ) && locate_template( array( 'index.php', false ) ) ) |
|
380 | $page_templates[ __( 'Index (WP Fallback)', 'pods' ) ] = 'index.php'; |
|
@@ 379-380 (lines=2) @@ | ||
376 | if ( !in_array( 'page.php', $page_templates ) && locate_template( array( 'page.php', false ) ) ) |
|
377 | $page_templates[ __( 'Page (WP Default)', 'pods' ) ] = 'page.php'; |
|
378 | ||
379 | if ( !in_array( 'index.php', $page_templates ) && locate_template( array( 'index.php', false ) ) ) |
|
380 | $page_templates[ __( 'Index (WP Fallback)', 'pods' ) ] = 'index.php'; |
|
381 | ||
382 | ksort( $page_templates ); |
|
383 |