Пример #1
0
        echo wp_oembed_get($meta['videourl'], array('width' => 648));
        ?>

        </div>
    <?php 
    } else {
        if (get_post_format() == 'gallery') {
            ?>

        <?php 
            multipurpose_post_gallery(900, 0);
            ?>

    <?php 
        } else {
            multipurpose_post_thumb(array(1100, 0));
        }
    }
    ?>
<div class="entry-content">
<?php 
    if (get_post_format() == 'audio') {
        echo do_shortcode('[audio]');
    }
    the_content();
    ?>
</div>
<?php 
    wp_link_pages();
    ?>
Пример #2
0
<div  <?php 
post_class();
?>
>
    <h2 class="entry-title"><a href="<?php 
the_permalink();
?>
"><?php 
the_title();
?>
</a>&nbsp;</h2>
    <?php 
multipurpose_post_thumb(array(900, 300));
?>
    <div class="entry-content"><?php 
the_excerpt();
?>
        <div class="breadcrumb">Posted on <?php 
echo get_the_date();
?>
 / Posted by <a href="<?php 
echo get_author_posts_url(get_the_author_meta('ID'));
?>
"><?php 
the_author();
?>
</a> / <a href="<?php 
the_permalink();
?>
">read more &#187;</a></div>
    </div>
Пример #3
0
while (have_posts()) {
    the_post();
    ?>
 
<div <?php 
    post_class('post');
    ?>
>
<div class="clear"></div>
<h1 class="entry-title"><?php 
    the_title();
    ?>
</h1>
<div class="entry-content">
<?php 
    multipurpose_post_thumb(array(1100, 0), true, array('class' => 'img-polaroid'));
    the_content();
    ?>
</div>
<?php 
    wp_link_pages();
    ?>
</div>
 <div class="mx_comments"> 
<?php 
    comments_template();
    ?>
</div>
<?php 
}
?>
Пример #4
0

<div  <?php 
post_class('media');
?>
>
    <a href="<?php 
the_permalink();
?>
" class="pull-left">
        <?php 
multipurpose_post_thumb(array(200, 200));
?>
    </a>
    <div class="entry-content media-body">
        <div class="audio-player">
        <?php 
echo do_shortcode('[audio]');
?>
        </div>
        <h2 class="entry-title"><a href="<?php 
the_permalink();
?>
"><?php 
the_title();
?>
</a>&nbsp;</h2>
        <?php 
the_excerpt();
?>
    </div>
Пример #5
0
        the_post();
        ?>
 
<div  <?php 
        post_class('post box arc');
        ?>
>
<h2 class="entry-title"><a href="<?php 
        the_permalink();
        ?>
"><?php 
        the_title();
        ?>
</a>&nbsp;</h2> 
<?php 
        multipurpose_post_thumb('edenfresh-responsive-blog-thumb');
        ?>
  
<div class="entry-content"><?php 
        the_excerpt();
        ?>
<div class="breadcrumb">Posted on <?php 
        echo get_the_date();
        ?>
 / Posted by <a href="<?php 
        echo get_author_posts_url(get_the_author_meta('ID'));
        ?>
"><?php 
        the_author();
        ?>
</a> / <a href="<?php 
Пример #6
0
            <div class="span12" >
                <ul class="thumbnails">
                    <?php 
    $q = new WP_Query('posts_per_page=2');
    $ccnt = 0;
    while ($q->have_posts()) {
        $q->the_post();
        ?>
                        <li class="span6 home-cat-single">
                            <div class="entry-content media">
                                <a href="<?php 
        the_permalink();
        ?>
" class="pull-left">
                                    <?php 
        multipurpose_post_thumb(array(200, 180), true, array('class' => 'img-rounded'));
        ?>
                                </a>
                                <div class="media-body">
                                <h2 class="entry-title"><a href="<?php 
        the_permalink();
        ?>
"><?php 
        the_title();
        ?>
</a>&nbsp;</h2>
                                <div class="post-meta"><i class="icon icon-time"></i> <?php 
        echo get_the_date();
        ?>
</div>
                                <p><?php