Beispiel #1
0
        ?>
" target="_blank" rel="nofollow"></a>
									<a class="share-icon google" title="Recommend on Google+" href="https://plusone.google.com/_/+1/confirm?hl=de&amp;amp;url=<?php 
        echo urlencode(get_permalink($post->ID));
        ?>
&amp;amp;title=<?php 
        echo rawurlencode(strip_tags(get_the_title()));
        ?>
" target="blank" rel="nofollow"></a>
								</div>-->
							</div><!-- end of card content -->
							<div class="author-box">
								<div class="row">
									<div class="col-sm-3 text-center">
										<?php 
        userphoto_the_author_photo();
        ?>
									</div>
									<div class="col-sm-9">
										<h3>About <?php 
        the_author();
        ?>
</h3>
										<?php 
        the_author_meta('description');
        ?>
										<div class="social">
											<a class="icon twitter" href="<?php 
        the_author_meta('twitter');
        ?>
" title="<?php 
Beispiel #2
0
									<?php 
    $pic = profilepic_internal_picpath($curauth->ID, false);
    ?>
									<img src="<?php 
    echo $pic;
    ?>
" width="128" align="right" id="avatar_<?php 
    echo $curauth->ID;
    ?>
" />
								<?php 
} else {
    if (function_exists('userphoto_the_author_photo')) {
        ?>
									<?php 
        userphoto_the_author_photo('', '', array('align' => 'right', 'id' => 'avatar_' . $curauth->ID), get_bloginfo('template_directory') . '/img/avatar-sample.png');
        ?>
								<?php 
    } else {
        ?>
									<?php 
        $pic = get_bloginfo('template_directory') . '/img/avatar-sample.png';
        ?>
									<img src="<?php 
        echo $pic;
        ?>
" width="128" align="right" id="avatar_<?php 
        echo $curauth->ID;
        ?>
" />
								<?php 
	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">

		<?php 
while (have_posts()) {
    the_post();
    ?>

			<?php 
    get_template_part('content', 'single');
    ?>

			<div class="clearfix author-info">
				<div class="author-photo"><?php 
    userphoto_the_author_photo('', '', $attributes = array('width' => 75, 'height' => 75));
    ?>
</div>
				<div class="author-content">
					<h3><?php 
    the_author();
    ?>
</h3>
					<p><?php 
    the_author_meta('description');
    ?>
</p>
					<div class="author-links">
						<a href="<?php 
    echo get_author_posts_url(get_the_author_meta('ID'));
    ?>
    ?>
">
	  <img alt="" src="http://radikalportal.no/wp-content/uploads/userphoto/51.jpg" class="img-rounded">
        </a>
<?php 
} else {
    ?>
        <a href="<?php 
    the_permalink();
    ?>
" rel="bookmark" title="Permanent lenke til <?php 
    the_title_attribute();
    ?>
">
         <?php 
    userphoto_the_author_photo('', '', array(), get_template_directory_uri() . '/img/anon.gif');
    ?>
        </a>
<?php 
}
?>
</div>

<div class="media-body">

<div class="entry-category">
         <?php 
$klartale_eller_skrivekonkurranse = false;
foreach (get_the_category() as $category) {
    if ($category->cat_name != 'Skjult fra forsiden' && $category->cat_name != 'Ingen kategori' && $category->cat_name != 'Romtekst' && $category->cat_name != 'Romvideo' && $category->cat_name != 'Romkronikk') {
        if ($klartale_eller_skrivekonkurranse == false) {