/** * @since 0.1.0 * @deprecated 0.3.0 */ function my_life_get_image_attachment_count() { _deprecated_function(__FUNCTION__, '0.3.0', 'post_format_tools_get_image_attachment_count'); post_format_tools_get_image_attachment_count(); }
?> <?php echo apply_atomic_shortcode('entry_title', '[entry-title]'); ?> <div class="entry-summary"> <?php if (has_excerpt()) { the_excerpt(); wp_link_pages(array('before' => '<p class="page-links">' . __('Pages:', 'my-life'), 'after' => '</p>')); } ?> <?php $count = post_format_tools_get_image_attachment_count(); ?> <p class="image-count"><?php printf(_n('This gallery contains %s image.', 'This gallery contains %s images.', $count, 'my-life'), $count); ?> </p> </div><!-- .entry-summary --> <?php echo apply_atomic_shortcode('entry_meta', '<div class="entry-meta">' . __('[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'my-life') . '</div>'); ?> <?php } ?>