HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/onlineshop/wp-content/themes/nautica/vc_templates/post/_single-fp-v1.php
<?php $thumbsize = isset($thumbsize)? $thumbsize : 'medium';?>
<?php
    $post_category = "";
    $categories = get_the_category();
    $separator = ' ';
    $output = '';
    if($categories){
        foreach($categories as $category) {
            $output .= '<a href="'.get_category_link( $category->term_id ).'" title="' . esc_attr( sprintf( esc_html__( "View all posts in %s", 'nautica' ), $category->name ) ) . '">'.$category->cat_name.'</a>'.$separator;
        }
    $post_category = trim($output, $separator);
    }      
?>
    <article class="post row space-20">
        <?php
        if ( has_post_thumbnail() ) {
            ?>
                <div class="col-sm-6">
                    <figure class="entry-thumb">
                        <a href="<?php the_permalink(); ?>" class="entry-image zoom-2">
                            <?php the_post_thumbnail( $thumbsize );?>
                        </a>
                        <!-- vote    -->
                        <?php do_action('nautica_show_rating') ?>
                        <div class="category-highlight hidden">
                            <?php echo trim($post_category) ?>
                        </div>
                    </figure>
                </div>
            <?php
        }
        ?>
        <div class="entry-content col-sm-6">
            <?php
            if (get_the_title()) {
            ?>
                <h4 class="entry-title space-padding-top-0">
                    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
                </h4>
            <?php
            }
            ?>
            <div class="entry-content-inner clearfix">
                <div class="entry-meta">
                    <div class="entry-category hidden">
                        <?php the_category(); ?>
                    </div>
                
                    <ul class="entry-comment list-inline hidden">
                        <li class="comment-count">
                            <?php comments_popup_link(esc_html__(' 0 ', 'nautica'), esc_html__(' 1 ', 'nautica'), esc_html__(' % ', 'nautica')); ?>
                        </li>
                    </ul>

                     <div class="entry-create">
                        <span class="author"><?php echo esc_html_e('By', 'nautica'); the_author_posts_link(); ?></span>
                        <span class="entry-date"><?php the_time( 'M d, Y' ); ?></span>
                    </div>
                </div>
            </div>
            <?php
                if (! has_excerpt()) {
                    echo trim("");
                } else {
                    ?>
                        <p class="entry-description"><?php echo nautica_fnc_excerpt(60,'...'); ?></p>
                    <?php
                }
            ?>
            
            
        </div>
    </article>