| Server IP : 172.67.201.108 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/siparentBAK/wp-content/themes/JSMT-Genesis-1.1/ |
Upload File : |
<style>
.entry-title a {
color: #555;
font-weight: bold;
font-size: 20px;
}
img.attachment-thumbnail {
float: left;
margin: 4px 20px 0px 0px;
}
</style>
<?php
/**
* Template Name: Author Page
*/
remove_action( 'genesis_loop', 'genesis_do_loop' );
function child_do_custom_loop( ) {
echo '<ul class="entry-content">';
echo '<p style="padding-bottom:20px;">'.get_the_author_meta( 'description').'</p>';
if ( have_posts() ) :
while ( have_posts() ) : the_post();
?>
<div class="col-lg-12 post-img-box">
<div class="row mrg-botm">
<div class="col-lg-2 col-md-2 col-sm-2"><?php the_post_thumbnail('thumbnail') ?></div>
<div class="col-lg-10 col-md-10 col-sm-10"><article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title" style="line-height: unset;padding-top: 0px !important;margin-top: 0px !important;"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
<?php if ( 'post' === get_post_type() ) : ?>
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
</article><!-- #post-## --></div>
</div>
</div>
<?php
printf( '<li class="%s">', join( ' ', get_post_class() ) );
do_action( 'genesis_before_post_title' );
do_action( 'genesis_post_title' );
do_action( 'genesis_after_post_title' );
echo '</li>'; //* end .entry
endwhile; //* end of one post
echo '</ul>'; //* close .entry-content
do_action( 'genesis_after_endwhile' );
endif; //* end loop
wp_reset_query();
}
add_action( 'genesis_loop', 'child_do_custom_loop' );
//** filter the h2 into h3 for the genesis_post_title
function christina_post_title_output( $title ) {
if ( is_author() )
$title = get_the_title();
$permalink = sprintf( '<a href="%s" rel="bookmark">' . $title . '</a>', get_permalink() );
$title = sprintf( '<h3 class="entry-title">' . $permalink . '</h3>', apply_filters( 'genesis_post_title_text', get_the_title()) );
return $title;
}
add_filter( 'genesis_post_title_output', 'christina_post_title_output', 15 );
genesis();