Revision: 40287
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 28, 2011 22:52 by hussong
Initial Code
<?php elseif ( in_category('6') ) : ?>
<div class="navigation-links">
<?php previous_post_link_plus( array(
'order_by' => 'custom',
'meta_key' => 'Datum',
'format' => '%link',
'link' => '« Vorige',
'before' => '<span class="previous">',
'after' => '</span>',
'in_same_cat' => true,
) );?>
<?php next_post_link_plus( array(
'order_by' => 'custom',
'meta_key' => 'Datum',
'format' => '%link',
'link' => 'Nächste »',
'before' => '<span class="next">',
'after' => '</span>',
'in_same_cat' => true,
) );?>
</div><!-- .navigation-links -->
Initial URL
Initial Description
Custom sorting for events based on a custom field needs to be added to navigation-links.php requires plugin: http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/
Initial Title
Custom sorting for previous/next post links
Initial Tags
wordpress, navigation, order
Initial Language
PHP