This repository was archived by the owner on Jul 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
executable file
·50 lines (47 loc) · 2.46 KB
/
Copy pathpage.php
File metadata and controls
executable file
·50 lines (47 loc) · 2.46 KB
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
<?php get_header(); ?>
<main class="content page-content">
<?php if ( have_posts() ) : ?>
<?php if ( is_page( 'about' ) ) : ?>
<?php get_template_part( 'template-parts/about' ); ?>
<?php elseif ( is_page( 'speakers' ) ) : ?>
<?php get_template_part( 'template-parts/speakers' ); ?>
<?php elseif ( is_page( 'award' ) ) : ?>
<?php get_template_part( 'template-parts/award' ); ?>
<?php elseif ( is_page( 'timetable' ) ) : ?>
<?php get_template_part( 'template-parts/timetable' ); ?>
<?php elseif ( is_page( 'session' ) ) : ?>
<?php get_template_part( 'template-parts/session' ); ?>
<?php elseif ( is_page( 'sponsors' ) ) : ?>
<?php get_template_part( 'template-parts/sponsors' ); ?>
<?php elseif ( is_page( 'tickets' ) ) : ?>
<?php get_template_part( 'template-parts/tickets' ); ?>
<?php else : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php endwhile; ?>
<?php endif; ?>
<?php else : ?>
<?php endif; ?>
<?php
$sharing = ! empty( get_post_meta( get_the_id(), 'sharing_disabled', true ) ) ? false : true ;
if ( $sharing === true ) :
?>
<div class="page-social">
<div class="footer-shares">
<div class="shares-title">Share</div>
<ul class="a2a_kit">
<li class="facebook">
<a href="/#facebook" class="a2a_button_facebook">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 18 18"><path d="M17.007 0H.993A.993.993 0 0 0 0 .993v16.014A.993.993 0 0 0 .993 18h8.628v-6.961H7.278V8.314h2.343v-2a3.274 3.274 0 0 1 3.494-3.591 19.925 19.925 0 0 1 2.092.106v2.43h-1.428c-1.13 0-1.35.534-1.35 1.322v1.73h2.7l-.351 2.725h-2.364V18h4.593a.993.993 0 0 0 .993-.993V.993A.993.993 0 0 0 17.007 0z"/></svg>
</a>
</li>
<li class="twitter">
<a href="/#twitter" class="a2a_button_twitter">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 19 15.411"><path d="M6.017 15.411A10.985 10.985 0 0 0 17.1 4.328V3.8A8.58 8.58 0 0 0 19 1.794a8.762 8.762 0 0 1-2.217.633A4.107 4.107 0 0 0 18.472.316a9.682 9.682 0 0 1-2.428.95A3.77 3.77 0 0 0 13.194 0a3.966 3.966 0 0 0-3.906 3.906 2.058 2.058 0 0 0 .106.844A10.913 10.913 0 0 1 1.372.633a4.042 4.042 0 0 0-.528 2.006 4.194 4.194 0 0 0 1.689 3.272 3.558 3.558 0 0 1-1.794-.528 3.858 3.858 0 0 0 3.167 3.8 3.254 3.254 0 0 1-1.056.106 1.8 1.8 0 0 1-.739-.106 4 4 0 0 0 3.694 2.744 7.97 7.97 0 0 1-4.856 1.689 2.922 2.922 0 0 1-.95-.106 9.963 9.963 0 0 0 6.017 1.9" fill-rule="evenodd"/></svg>
</a>
</li>
</ul>
</div>
</div>
<?php endif; ?>
</main>
<?php get_footer(); ?>