HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux srvntsweb01 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: admntserv (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //proc/1591264/cwd/themes/itfirm/template-parts/content-portfolio.php
<?php
/**
 * Template part for displaying posts in loop
 *
 * @package Itfirm
 */
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('archive-portfolio'); ?>>
    <div class="grid-item-inner">
        <?php if (has_post_thumbnail()) {
            $featured_img_url = get_the_post_thumbnail_url(get_the_ID(),'itfirm-portfolio'); 
            echo '<div class="item--featured">'; ?>
                <a href="<?php echo esc_url( get_permalink()); ?>"><?php the_post_thumbnail('itfirm-portfolio'); ?></a>
            <?php echo '</div>';
        } ?>
        <div class="item--holder">
            <div class="item--meta">
                <h4 class="item--title">
                    <a href="<?php echo esc_url( get_permalink()); ?>" title="<?php the_title(); ?>">
                        <?php the_title(); ?>
                    </a>
                </h4>
                <div class="item--category"><?php the_terms( get_the_ID(), 'portfolio-category', '', ', ', '' ); ?></div>
            </div>
            <div class="item--readmore">
                <a href="<?php echo esc_url( get_permalink()); ?>">+</a>
            </div>
        </div>
    </div>
</article><!-- #post -->