| Server IP : 216.238.66.20 / Your IP : 216.73.216.199 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sweetheart.mx/htdocs/wp-content/themes/rosemary/ |
Upload File : |
<?php get_header(); ?>
<div class="archive-box">
<span>Colaboraciones de</span>
<?php
$author = get_queried_object();
$authorID = $author->ID;
?>
<h1><?php echo get_the_author_meta('display_name', $authorID) ?></h1>
</div>
<div class="container">
<div id="content">
<div id="main" <?php if(get_theme_mod('sp_sidebar_archive') == true) : ?>class="fullwidth"<?php endif; ?>>
<div class="post-author">
<table>
<tr>
<td>
<div class="author-img">
<?php echo get_avatar( get_the_author_meta('email', $authorID), '200' ); ?>
<div class="clearfix"> </div>
</div>
</td>
<td>
<div class="author-content">
<h5><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' , $authorID) ); ?>"><?php echo get_the_author_meta('display_name', $authorID); ?></a></h5>
<p><?php nl2br(the_author_meta('description', $authorID)); ?>
<br>
<br>
<?php if(get_the_author_meta('facebook', $authorID)) : ?><a target="_blank" class="author-social" href="https://facebook.com/<?php echo the_author_meta('facebook', $authorID); ?>"><i class="fa fa-facebook"></i></a><?php endif; ?>
<?php if(get_the_author_meta('twitter', $authorID)) : ?><a target="_blank" class="author-social" href="https://twitter.com/<?php echo the_author_meta('twitter', $authorID); ?>"><i class="fa fa-twitter"></i></a><?php endif; ?>
<?php if(get_the_author_meta('instagram', $authorID)) : ?><a target="_blank" class="author-social" href="https://instagram.com/<?php echo the_author_meta('instagram', $authorID); ?>"><i class="fa fa-instagram"></i></a><?php endif; ?>
<?php if(get_the_author_meta('google', $authorID)) : ?><a target="_blank" class="author-social" href="https://plus.google.com/<?php echo the_author_meta('google', $authorID); ?>?rel=author"><i class="fa fa-google-plus"></i></a><?php endif; ?>
<?php if(get_the_author_meta('pinterest', $authorID)) : ?><a target="_blank" class="author-social" href="https://pinterest.com/<?php echo the_author_meta('pinterest', $authorID); ?>"><i class="fa fa-pinterest"></i></a><?php endif; ?>
<?php if(get_the_author_meta('tumblr', $authorID)) : ?><a target="_blank" class="author-social" href="https://<?php echo the_author_meta('tumblr', $authorID); ?>.tumblr.com/"><i class="fa fa-tumblr"></i></a><?php endif; ?>
<?php if(get_the_author_meta('youtube', $authorID)) : ?><a target="_blank" class="author-social" href="https://www.youtube.com/user/<?php echo the_author_meta('youtube', $authorID); ?>"><i class="fa fa-youtube"></i></a><?php endif; ?>
</p>
</div>
</td>
</tr>
</table>
</div>
<h4 class="widget-title">
Sus Publicaciones
</h4>
<div class="clearfix"> </div>
<?php if(get_theme_mod('sp_archive_layout') == 'grid' || get_theme_mod('sp_archive_layout') == 'full_grid') : ?><ul class="sp-grid"><?php endif; ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php if(get_theme_mod('sp_archive_layout') == 'grid') : ?>
<?php get_template_part('content', 'grid'); ?>
<?php elseif(get_theme_mod('sp_archive_layout') == 'list') : ?>
<?php get_template_part('content', 'list'); ?>
<?php elseif(get_theme_mod('sp_archive_layout') == 'full_list') : ?>
<?php if( $wp_query->current_post == 0 && !is_paged() ) : ?>
<?php get_template_part('content'); ?>
<?php else : ?>
<?php get_template_part('content', 'list'); ?>
<?php endif; ?>
<?php elseif(get_theme_mod('sp_archive_layout') == 'full_grid') : ?>
<?php if( $wp_query->current_post == 0 && !is_paged() ) : ?>
<?php get_template_part('content'); ?>
<?php else : ?>
<?php get_template_part('content', 'grid'); ?>
<?php endif; ?>
<?php else : ?>
<?php get_template_part('content'); ?>
<?php endif; ?>
<?php endwhile; ?>
<?php if(get_theme_mod('sp_archive_layout') == 'grid' || get_theme_mod('sp_archive_layout') == 'full_grid') : ?></ul><?php endif; ?>
<?php solopine_pagination(); ?>
<?php endif; ?>
</div>
<?php if(get_theme_mod('sp_sidebar_archive')) : else : ?><?php get_sidebar(); ?><?php endif; ?>
<?php get_footer(); ?>