Beispiel #1
0
_e('Recommended Downloads', 'wpdmpro');
?>
</div>
    <div class="panel-body">
        <div class="panel-row">
            <?php 
$q = new WP_Query(array('post_type' => 'wpdmpro', 'posts_per_page' => 3));
while ($q->have_posts()) {
    $q->the_post();
    ?>
                <div class="col-md-4">
                    <div class="card">


                        <?php 
    wpdm_post_thumb(array(400, 300));
    ?>
                        <a href="<?php 
    the_permalink();
    ?>
" class="card-footer">
                            <?php 
    the_title();
    ?>
                        </a>
                    </div>
                </div>

                <?php 
}
wp_reset_postdata();
Beispiel #2
0
_e('Recommended Downloads', 'wpdmpro');
?>
</div>
    <div class="panel-body">
        <div class="panel-row">
            <?php 
$q = new WP_Query(array('post_type' => 'wpdmpro', 'posts_per_page' => 3));
while ($q->have_posts()) {
    $q->the_post();
    ?>
                <div class="col-md-4">
                    <div class="card">


                        <?php 
    wpdm_post_thumb(array(200, 150));
    ?>
                        <a href="<?php 
    the_permalink();
    ?>
" class="card-footer">
                            <?php 
    the_title();
    ?>
                        </a>
                    </div>
                </div>

                <?php 
}
wp_reset_postdata();