From 7fd8c66edd366f1c3749f44692b35b95a60f1006 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Mon, 19 Oct 2015 13:09:20 +0300 Subject: [PATCH] speaker page template --- page-speakers.php | 104 ++++++++++------------------------------------ 1 file changed, 22 insertions(+), 82 deletions(-) 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; + } + +?> +
+ +
+
+ +