forked from CRIK0VA/alethemes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-about.php
executable file
·106 lines (95 loc) · 5.92 KB
/
template-about.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
/**
* Template Name: Template About (team)
*/
get_header(); ?>
<!-- Content -->
<div class="about-center-align">
<div class="content-left">
<?php if ( has_nav_menu( 'aboutpage_menu' ) ) {
wp_nav_menu(array(
'theme_location'=> 'aboutpage_menu',
'menu' => 'About Page Menu',
'menu_class' => 'nav cf',
'walker' => new Aletheme_Nav_Walker(),
'container' => '',
));
} ?>
<ul class="peoples">
<?php if(ale_get_meta('memname1')){ ?>
<li>
<div style="background-image: url('<?php echo ale_get_meta('memava1'); ?>');" class="avatar"></div>
<h2><a class="click"><?php echo ale_get_meta('memname1'); ?></a></h2>
<p><?php echo ale_get_meta('memprof1'); ?></p>
<ul class="social">
<?php if(ale_get_meta('memfb1')){ ?><li class="facebook"><a href="<?php echo ale_get_meta('memfb1'); ?>" ></a></li><?php } ?>
<?php if(ale_get_meta('memtw1')){ ?><li class="twitter"><a href="<?php echo ale_get_meta('memtw1'); ?>" ></a></li><?php } ?>
<?php if(ale_get_meta('memem1')){ ?><li class="mail"><a href="mainlto:<?php echo ale_get_meta('memem1'); ?>" ></a></li><?php } ?>
</ul>
<div class="dynamic-text" style="display: none">
<div class="h2"><?php _e('About','aletheme'); ?> <?php echo ale_get_meta('memname1'); ?></div>
<?php ale_filtered_meta('memdesc1'); ?>
</div>
</li>
<?php } ?>
<?php if(ale_get_meta('memname2')){ ?>
<li>
<div style="background-image: url('<?php echo ale_get_meta('memava2'); ?>');" class="avatar"></div>
<h2><a class="click"><?php echo ale_get_meta('memname2'); ?></a></h2>
<p><?php echo ale_get_meta('memprof2'); ?></p>
<ul class="social">
<?php if(ale_get_meta('memfb2')){ ?><li class="facebook"><a href="<?php echo ale_get_meta('memfb2'); ?>" ></a></li><?php } ?>
<?php if(ale_get_meta('memtw2')){ ?><li class="twitter"><a href="<?php echo ale_get_meta('memtw2'); ?>" ></a></li><?php } ?>
<?php if(ale_get_meta('memem2')){ ?><li class="mail"><a href="mainlto:<?php echo ale_get_meta('memem2'); ?>" ></a></li><?php } ?>
</ul>
<div class="dynamic-text" style="display: none">
<div class="h2"><?php _e('About','aletheme'); ?> <?php echo ale_get_meta('memname2'); ?></div>
<?php ale_filtered_meta('memdesc2'); ?>
</div>
</li>
<?php } ?>
<?php if(ale_get_meta('memname3')){ ?>
<li>
<div style="background-image: url('<?php echo ale_get_meta('memava3'); ?>');" class="avatar"></div>
<h2><a class="click"><?php echo ale_get_meta('memname3'); ?></a></h2>
<p><?php echo ale_get_meta('memprof3'); ?></p>
<ul class="social">
<?php if(ale_get_meta('memfb3')){ ?><li class="facebook"><a href="<?php echo ale_get_meta('memfb3'); ?>" ></a></li><?php } ?>
<?php if(ale_get_meta('memtw3')){ ?><li class="twitter"><a href="<?php echo ale_get_meta('memtw3'); ?>" ></a></li><?php } ?>
<?php if(ale_get_meta('memem3')){ ?><li class="mail"><a href="mainlto:<?php echo ale_get_meta('memem3'); ?>" ></a></li><?php } ?>
</ul>
<div class="dynamic-text" style="display: none">
<div class="h2"><?php _e('About','aletheme'); ?> <?php echo ale_get_meta('memname3'); ?></div>
<?php ale_filtered_meta('memdesc3'); ?>
</div>
</li>
<?php } ?>
<?php if(ale_get_meta('memname4')){ ?>
<li>
<div style="background-image: url('<?php echo ale_get_meta('memava4'); ?>');" class="avatar"></div>
<h2><a class="click"><?php echo ale_get_meta('memname4'); ?></a></h2>
<p><?php echo ale_get_meta('memprof4'); ?></p>
<ul class="social">
<?php if(ale_get_meta('memfb4')){ ?><li class="facebook"><a href="<?php echo ale_get_meta('memfb4'); ?>" ></a></li><?php } ?>
<?php if(ale_get_meta('memtw4')){ ?><li class="twitter"><a href="<?php echo ale_get_meta('memtw4'); ?>" ></a></li><?php } ?>
<?php if(ale_get_meta('memem4')){ ?><li class="mail"><a href="mainlto:<?php echo ale_get_meta('memem4'); ?>" ></a></li><?php } ?>
</ul>
<div class="dynamic-text" style="display: none">
<div class="h2"><?php _e('About','aletheme'); ?> <?php echo ale_get_meta('memname4'); ?></div>
<?php ale_filtered_meta('memdesc4'); ?>
</div>
</li>
<?php } ?>
</ul>
</div>
<div class="content-right">
<!-- BY DEFAULT HERE ELENE MARLENE -->
<div class="text">
<div class="h2"><?php the_title(); ?></div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
</div>
</div>
<?php get_footer(); ?>