forked from xwolfde/Piratenkleider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.php
45 lines (36 loc) · 1.57 KB
/
author.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
<?php get_header();
$options = get_option( 'piratenkleider_theme_options' );
$bilderoptions = get_option( 'piratenkleider_theme_defaultbilder' );
if (!isset($bilderoptions['src-default-symbolbild-author']))
$bilderoptions['src-default-symbolbild-author'] = $defaultoptions['src-default-symbolbild-author'];
?>
<div class="section content" id="main-content">
<div class="row">
<div class="content-primary">
<div class="content-header">
<?php if ( have_posts() ) the_post(); ?>
<h1><?php printf( __( '%s', 'piratenkleider' ), get_the_author() ); ?></h1>
<?php if ($options['aktiv-platzhalterbilder-indexseiten']) { ?>
<div class="symbolbild">
<img src="<?php echo $bilderoptions['src-default-symbolbild-author']?>" alt="" >
</div>
<?php } ?>
</div>
<div class="skin">
<?php if ( get_the_author_meta( 'description' ) ) : ?>
<?php the_author_meta( 'description' ); ?>
<hr>
<?php endif; ?>
<?php rewind_posts(); get_template_part( 'loop', 'author' ); ?>
</div>
</div>
<div class="content-aside">
<div class="skin">
<h1 class="skip"><?php _e( 'Weitere Informationen', 'piratenkleider' ); ?></h1>
<?php get_sidebar(); ?>
</div>
</div>
</div>
<?php get_piratenkleider_socialmediaicons($options['alle-socialmediabuttons']); ?>
</div>
<?php get_footer(); ?>