|
@@ 438-439 (lines=2) @@
|
| 435 |
|
|
| 436 |
|
$page_templates[ __( 'Custom (uses only Pod Page content)', 'pods' ) ] = '_custom'; |
| 437 |
|
|
| 438 |
|
if ( ! in_array( 'pods.php', $page_templates ) && locate_template( array( 'pods.php', false ) ) ) { |
| 439 |
|
$page_templates[ __( 'Pods (Pods Default)', 'pods' ) ] = 'pods.php'; |
| 440 |
|
} |
| 441 |
|
|
| 442 |
|
if ( ! in_array( 'page.php', $page_templates ) && locate_template( array( 'page.php', false ) ) ) { |
|
@@ 442-443 (lines=2) @@
|
| 439 |
|
$page_templates[ __( 'Pods (Pods Default)', 'pods' ) ] = 'pods.php'; |
| 440 |
|
} |
| 441 |
|
|
| 442 |
|
if ( ! in_array( 'page.php', $page_templates ) && locate_template( array( 'page.php', false ) ) ) { |
| 443 |
|
$page_templates[ __( 'Page (WP Default)', 'pods' ) ] = 'page.php'; |
| 444 |
|
} |
| 445 |
|
|
| 446 |
|
if ( ! in_array( 'index.php', $page_templates ) && locate_template( array( 'index.php', false ) ) ) { |
|
@@ 446-447 (lines=2) @@
|
| 443 |
|
$page_templates[ __( 'Page (WP Default)', 'pods' ) ] = 'page.php'; |
| 444 |
|
} |
| 445 |
|
|
| 446 |
|
if ( ! in_array( 'index.php', $page_templates ) && locate_template( array( 'index.php', false ) ) ) { |
| 447 |
|
$page_templates[ __( 'Index (WP Fallback)', 'pods' ) ] = 'index.php'; |
| 448 |
|
} |
| 449 |
|
|
| 450 |
|
ksort( $page_templates ); |