Server IP : 184.154.167.98 / Your IP : 3.133.153.232 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/wp-content/themes/avril/template-parts/content/ |
Upload File : |
<?php /** * Template part for displaying results in search pages. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Avril */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post-items mb-6'); ?>> <figure class="post-image"> <a href="<?php esc_url(get_permalink()); ?>" class="post-hover"> <?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?> </a> <div class="post-meta imu"> <span class="post-list"> <ul class="post-categories"><li><a href="<?php esc_url(get_permalink()); ?>"><?php the_category(' '); ?></a></li></ul> </span> </div> </figure> <div class="post-content"> <div class="post-meta up"> <span class="posted-on"> <a href="<?php echo esc_url(get_month_link(get_post_time('Y'),get_post_time('m'))); ?>"><?php echo esc_html(get_the_date('M j Y')); ?></a> </span> </div> <?php if ( is_single() ) : the_title('<h5 class="post-title">', '</h5>' ); else: the_title( sprintf( '<h5 class="post-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h5>' ); endif; the_content( sprintf( __( 'Read More', 'avril' ), '<span class="screen-reader-text"> '.esc_html(get_the_title()).'</span>' ) ); ?> <div class="post-meta down"> <span class="author-name"> <i class="fa fa-user-secret"></i> <a href="<?php echo esc_url(get_author_posts_url( get_the_author_meta( 'ID' ) ));?>"><?php esc_html(the_author()); ?></a> </span> <span class="comments-link"> <i class="fa fa-comment"></i> <a href="<?php echo esc_url(get_comments_link( $post->ID )); ?>"><?php echo esc_html(get_comments_number($post->ID)); ?> <?php esc_html_e('Comments','avril'); ?></a> </span> </div> </div> </article>