%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/gachan/www/wp-content/themes/jekas/
Upload File :
Create Path :
Current File : /home/gachan/www/wp-content/themes/jekas/search-work.php

<?php
$post_image =  get_template_directory_uri().'/img/post-image.jpg';

$post_desc = '';

if(function_exists('rwmb_meta')){

    $image = reset($img = rwmb_meta('work_picture',array('type' => 'image')));

    $post_image = $image['full_url'];

    $post_desc = rwmb_meta('work_desc');

}


$categories = wp_get_post_categories();

?>

<div class="blog-content">
    <div class="entry-header">
        <div class="blog-image">
            <img class="img-responsive" src="<?php print esc_url($post_image)?>" alt="">
            <div class="more-link">
                <a href="#"><i class="fa fa-plus"></i></a>
            </div>
        </div>
        <div class="post-date">
            <h3><?php print get_the_time('j')?><span><?php print get_the_time('F')?></span></h3>
        </div>
    </div>
    <div class="entry-content">
        <h3 class="entry-title"><a href="#"><?php esc_html_e('Adipisicing elit, sed do eiusmod tempor','jekas')?></a></h3>
        <ul class="entry-meta">
            <li><a href="<?php print esc_url(get_permalink())?>"><i class="fa fa-user"></i> <?php esc_html_e('By','jekas')?>: <?php print get_the_author()?> <span>/</span></a></li>
            <li>
                <?php foreach( $categories as $key => $category): ?>
                    <a href="<?php print esc_url(get_category_link($category)) ?>">
                        <?php if($key == 0): ?>
                            <i class="fa fa-tags"></i>
                        <?php endif;?>
                        <?php print  $category->name ?>
                        <?php if($key <  count($categories)): ?>
                            <span>/</span>
                        <?php endif;?>
                    </a>

                <?php endforeach;?>
            </li>

        </ul>
        <p> <?php htmlentities(wp_trim_words($post_desc,18,'...'));?> </p>
    </div>
</div>


Zerion Mini Shell 1.0