/
page-hugy-schema.php
49 lines (46 loc) · 1.42 KB
/
page-hugy-schema.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* The template for displaying program page.
* Template Name: HuGy Schemasida
*
* @package WordPress
* @subpackage HuGy (Starkers)
* @since HuGy 1.0
*/
?>
<?php Starkers_Utilities::get_template_parts( array( 'parts/shared/html-header', 'parts/shared/header' ) ); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div class="slideshow-wrapper">
<?php /* slideshow */ ?>
<?php echo HuGy::get_slideshow(get_field('hg_slideshow',get_the_ID()),'program slideshow','slideshow'); ?>
</div>
<div class="content-wrapper">
<div class="content">
<h1><?php the_title(); ?></h1>
<?php echo HuGy::get_tags(); ?>
<?php //echo HuGy::get_author(); ?>
<?php echo HuGy::get_columntext(); ?>
<?php the_content(); ?>
<div class='filter toggle'></div>
<div class='filter tool'></div>
<div class='klasser'>
<h2>Klasser</h2>
<?php echo get_field('klasser'); ?>
</div>
<div class='larare'>
<h2>Lärare</h2>
<?php echo get_field('larare'); ?>
</div>
<div class='salar'>
<h2>Salar</h2>
<?php echo get_field('salar'); ?>
</div>
<?php //comments_template( '', true ); ?>
</div>
<div class="block-wrapper">
<?php echo HuGy::get_contacts(get_the_ID()); ?><?php echo HuGy::get_related(get_the_ID()); ?>
</div>
<?php echo HuGy::get_modules(get_the_ID()); ?>
</div>
<?php endwhile; ?>
<?php Starkers_Utilities::get_template_parts( array( 'parts/shared/footer','parts/shared/html-footer' ) ); ?>