Esempio n. 1
0
/**
 * Display the event date if it exists otherwise display post date.
 */
function the_intelliwidget_date($format = 'j', $publish = FALSE)
{
    echo get_the_intelliwidget_date($format, $publish);
}
Esempio n. 2
0
    <div class="intelliwidget-image-container intelliwidget-image-container-<?php 
            echo $instance['image_size'];
            ?>
 intelliwidget-align-<?php 
            echo $instance['imagealign'];
            ?>
">
      <?php 
            the_intelliwidget_image(empty($instance['no_img_links']), $instance['image_size']);
            ?>
    </div>
    <?php 
        }
        ?>
    <div class="intelliwidget-date"> <?php 
        printf(__('%1$s %2$s, %3$s', 'intelliwidget'), get_the_intelliwidget_date('M'), get_the_intelliwidget_date('j'), get_the_intelliwidget_date('Y'));
        ?>
 </div>
    <h3 id="intelliwidget_title_<?php 
        the_intelliwidget_ID();
        ?>
" class="intelliwidget-title">
      <?php 
        the_intelliwidget_post_link(NULL, empty($instance['keep_title']));
        ?>
    </h3>
    <div id="intelliwidget_excerpt_<?php 
        the_intelliwidget_ID();
        ?>
" class="intelliwidget-excerpt">
      <?php 
 function the_intelliwidget_date($format = 'j')
 {
     echo get_the_intelliwidget_date($format);
 }