diff --git a/page-speakers.php b/page-speakers.php index c84fa41..8275f43 100644 --- a/page-speakers.php +++ b/page-speakers.php @@ -1,90 +1,30 @@ 'footer-schedule', 'container_class' => 'content subnav cf' ) ); -} - +/* Template Name: Speakers */ +get_header(); +$content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php'; +//var_dump($data); ?> -
-
-

+
+

Лектори

-
- 'speakers', 'nopaging' => 'true', 'order' => 'ASC' ); - $speakers = new WP_Query( $speakers_args ); - - if ( $speakers->have_posts() ) : - while ( $speakers->have_posts() ) : $speakers->the_post(); - ?> - - - -
-
- 'speakers', 'nopaging' => 'true', 'order' => 'ASC' ); - $speakers = new WP_Query( $speakers_args ); - - if ( $speakers->have_posts() ) : - while ( $speakers->have_posts() ) : $speakers->the_post(); - ?> -
- - - -

-
- '; - if (!empty($custom['github'])) echo ''; - if (!empty($custom['public_email'])) echo ''; -?> -
- - -
-
- + + foreach ($content['gspk'] as $line) { + echo $line, PHP_EOL; + } + +?> +
+ +
+
+ +