HEX
Server: Apache/2
System: Linux localhost 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
User: rasad (1007)
PHP: 7.4.33
Disabled: shell_exec,system,passthru,exec,popen,ini_restore,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_bind,symlink,link,pfsockopen,ini_alter,dl,pcntl_exec,pcntl_fork,proc_close,proc_open,proc_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_uname,show_source,getfile,mkfifo
Upload Files
File: /home/rasad/public_html/wp-content/themes/ofogh/taxonomy-gallery_category.php
<?php get_header(); ?>
<?php global $qaleb;?>
 <?php get_template_part('inc/archive-photo');?>
<div class="container">
<section class="vass">
<div class="tiitle"><h3><?php the_archive_title(); ?></h3></div>
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<div class="ittem">
<div class="thumb">
<?php if($qaleb['gallery-pag-number']=='1'){?>
<?php if(get_post_meta( get_the_ID(), 'number-photo', true )!=null){ ?>
<div class="tiime"><i class="fa fa-clone" aria-hidden="true"></i> <?php echo get_post_meta( get_the_ID(), 'number-photo', true ); ?></div>
<?php } ?>
<?php } ?>
<?php if(has_post_thumbnail()){?>
<a href="<?php the_permalink(); ?>"><img src="<?php the_post_thumbnail_url(''); ?>" alt="<?php the_title(); ?>"></a>
<?php }else{ ?>
<img src="<?php bloginfo("template_url"); ?>/img/none.png">
<?php } ?>
<a href="<?php the_permalink(); ?>" class="i-play"><i class="fa fa-camera"></i></a>
</div>
<div class="det">
<h2>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="daat">
<?php if($qaleb['gallery-pag-author']=='1'){?><li><i class="fa fa-user" aria-hidden="true"></i> <?php the_author_posts_link(); ?></li><?php } ?>
<?php if($qaleb['gallery-pag-time']=='1'){?><li><i class="fa fa-clock" aria-hidden="true"></i> <?php the_time(' d F Y ');  ?></li><?php } ?>
<?php if($qaleb['gallery-pag-views']=='1'){?><li><i class="fa fa-signal" aria-hidden="true"></i> <?php echo getPostViews(get_the_ID()); ?></li><?php } ?>
<?php if($qaleb['gallery-pag-comments']=='1'){?><li><i class="fa fa-comments" aria-hidden="true"></i> <?php comments_popup_link('0', '1 دیدگاه', '% دیدگاه'); ?></li><?php } ?>
</div>
</div>
</div>
<?php endwhile; else: echo "<b>چیزی یافت نشد</b>"; endif; ?>
</section>
<?php qaleb_numeric_posts_nav(); ?>
<div class="clearfix"></div>
</div>
<style>.ittem .thumb a.i-play::before{display: none;}</style>
<?php get_footer(); ?>