HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/church.martyknows.com/wp-content/themes/gridz/content-grid.php
<?php
/**
 * @package gridz
 */
?>
<article id="post-<?php the_ID(); ?>" <?php post_class("grid"); ?>>
<?php $show_featured = false; $show_excerpt = false; ?>
<?php if(get_post_format() == "image"): ?>
    <?php $featured = trim(gridz_first_image()); if($featured == "") { $show_featured = true; $show_excerpt = true; } else echo $featured; ?>
<?php elseif(get_post_format() == "audio"): ?>
    <?php $featured = trim(gridz_post_audio()); if($featured == "") { $show_featured = true; $show_excerpt = true; } else echo $featured; ?>
<?php elseif(get_post_format() == "video"): ?>
    <?php $featured = trim(gridz_post_video()); if($featured == "") { $show_featured = true; $show_excerpt = true; } else echo $featured; ?>
<?php elseif(get_post_format() == "quote"): ?>
    <?php $featured = trim(gridz_post_quote()); if($featured == "") { $show_featured = true; $show_excerpt = true; } else echo $featured; ?>
<?php elseif(get_post_format() == "gallery"): ?>
    <?php $featured = trim(gridz_post_gallery("gridz-slider")); if($featured == "") { $show_featured = true; $show_excerpt = true; } else echo $featured; ?>
<?php else: ?>
    <?php $show_featured = true; $show_excerpt = true; ?>
<?php endif; ?>
    <header class="entry-header">
        <?php if($show_featured) gridz_featured_image("full"); ?>
        <?php
            if(is_single() || is_page()): the_title('<h1 class="entry-title">', '</h1>');
            else: the_title('<h1 class="entry-title"><a href="'.esc_url(get_permalink()).'" rel="bookmark">', '</a></h1>');
            endif;
        ?>
        <div class="entry-meta"><?php gridz_posted_on('M j, Y', '', __('By ','gridz')); ?></div>
    </header>
    <?php if($show_excerpt): ?>
        <div class="entry-content"><?php the_excerpt(); ?></div>
    <?php endif; ?>
    <div class="entry-footer">
        <table class="tablayout"><tr>
            <td class="tdleft"><?php gridz_posted_on('M j, Y'); ?></td>
            <td class="tdright">
                <?php gridz_comments_link(); ?>
            </td>
        </tr></table>
    </div>
</article>