| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/themes/exs/template-parts/cpt/ |
Upload File : |
<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage ExS
* @since 0.0.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
$args = ! empty( $args ) ? $args : array();
$columns = ! empty( $args['columns'] );
if ( $columns ) :
?>
<div class="grid-item">
<?php endif; //columns
echo '<div>';
if ( has_post_thumbnail() ) {
echo '<a href="' . esc_url( get_permalink() ) . '" class="exs-cpt-thumbnail">';
the_post_thumbnail();
echo '</a>';
}
the_title( sprintf( '<h2 class="entry-title" itemprop="headline"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
the_excerpt();
wp_link_pages(
exs_get_wp_link_pages_atts()
);
echo '</div>';
if ( $columns ) : ?>
</div><!--.grid-item-->
<?php endif; //columns ?>