forked from Vizzuality/openDRI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
83 lines (72 loc) · 2.17 KB
/
page.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php get_header(); ?>
<?
if ( is_page( 'resources' ) ) {
?>
<div id="content">
<span class="corner-map"></span>
<div id="inner-content" class="wrap cf">
<main id="main" class="m-all cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post();
the_content();
endwhile; endif; ?>
<div class="m-all cf index-row last-resources">
<div class="row-container">
<a href="https://www.youtube.com/watch?v=EkfjEFpv_Zc" target="_blank">
<article class="resource-cont --scnd-img">
<section>
<span>video</span>
<hr>
<h3>Inasafe Introduction</h3>
</section>
</article>
</a>
<a href="https://www.gfdrr.org/sites/gfdrr/files/publication/GFDRR_AR12_low_0.pdf" target="_blank">
<article class="resource-cont">
<section>
<span>PDF</span>
<hr>
<h3>GFDRR Annual Report 2012</h3>
</section>
</article>
</a>
</div>
</div>
</main>
<?php /* get_sidebar();*/ ?>
</div>
</div>
<? } // end resources
elseif ( is_page( 'about' ) ) {
?>
<div id="content">
<span class="corner-map about"></span>
<div class="blue-bar-top about" id="blue-bar">
<div class="wrap wrapper">
<span><a href="#principles">our principles</a></span>
<span><a href="#contact">contact</a></span>
<span><a href="#more-content">related web pages</a></span>
<span><a href="#partners">partners</a></span>
<span><a href="#members">team members</a></span>
</div>
</div>
<div id="inner-content" class="wrap cf">
<?php if (have_posts()) : while (have_posts()) : the_post();
the_content();
endwhile; endif; ?></div>
</div>
<? } // end about
// default
else {
?>
<div id="content">
<div id="inner-content" class="wrap cf">
<h1><?php echo get_the_title(); ?></h1>
<? if (have_posts()) : while (have_posts()) : the_post();
the_content();
endwhile;
endif;
}
?>
</div>
</div>
<?php get_footer(); ?>