Check if there are any previous posts.
-
Hello I have a Custom Post Type:
previous_post_link_plus( array( 'meta_key' => 'event_startdate', 'order_by' => 'custom', 'link' => '<div class="previous-post">« %title</div>', 'format' => '%link', ));
If there are no previous posts, I want to echo something else.
How can I do this?
Thank you
http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Check if there are any previous posts.’ is closed to new replies.