[theme-reviewers] Page navigation links with excerpts?

Konstantin Obenland obenland at gmx.de
Sat Mar 17 20:03:13 UTC 2012


it's me again, with yet another question. :/

I'd really appreciate a second opinion on this ticket (http://themes.trac.wordpress.org/ticket/6868) if anyone gets a chance. Am I being to strict here?

Can Themes that display the excerpt in index pages omit the usage of wp_link_pages()?

And what about this best practice:
Use format strings instead of string concatenation — sprintf(__('Replace %1$s with %2$s'), $a, $b); is always better than __('Replace ').$a.__(' with ').$b;

Would this be required, recommended or optional?
<?php _e( 'This is a gallery about', 'esplanade' ); ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
<?php _e( 'and contains', 'esplanade'); ?>
<?php echo count( get_posts( array( 'numberposts' => -1, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'post_parent' => get_the_ID() ) ) ); ?>
<?php _e( 'images', 'esplanade'); ?>.

Thanks for your patience,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120317/246acecc/attachment.htm>

More information about the theme-reviewers mailing list