| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/wearewc/wp-content/themes/shoper-dark/template-parts/ |
Upload File : |
<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package shoper
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( array('shoper-single-post grid-item col-md-6 col-sm-6 col-12 ') ); ?>>
<?php
/**
* Hook - shoper_posts_blog_media.
*
* @hooked shoper_posts_formats_thumbnail - 10
*/
do_action( 'shoper_posts_blog_media' );
?>
<div class="post">
<?php
/**
* Hook - diet_shop_site_content_type.
*
* @hooked site_loop_heading - 10
* @hooked render_meta_list - 20
* @hooked site_content_type - 30
*/
$meta = array();
if ( is_singular() ) :
if( shoper_dark_get_option('signle_meta_hide') != true ){
$meta = array( 'author', 'date', 'category', 'comments' );
}
$meta = apply_filters( 'shoper_single_post_meta', $meta );
else :
if( shoper_dark_get_option('blog_meta_hide') != true ){
$meta = array( 'author', 'date', 'category', 'comments' );
}
$meta = apply_filters( 'shoper_blog_meta', $meta );
endif;
do_action( 'shoper_site_content_type', $meta );
?>
</div>
</article><!-- #post-<?php the_ID(); ?> -->