edit_post_link('<font color="' . $ks_settings['edit_color'] . '">' . __('Edit') . '</font>', '<br />' . $tree_continued . '<img localsrc="104" alt="" />'); ?> <br /><?php echo $tree_last; ?> <font color="#666666" size="-1"><?php echo ks_excerpt(80, KTAI_NOT_ECHO); ?> </font></dt> <?php } ?> </dl> <div align="center"><?php ks_posts_nav_link(); ks_posts_nav_dropdown(array('before' => '<br />', 'min_pages' => 3)); ?> </div> <?php } else { ?> <h2><?php _e('Not Found', 'ktai_style'); ?> </h2> <p><?php _e('Sorry, no posts matched your criteria.'); ?> </p> <?php }
public function nav_dropdown($current, $total, $query = 'paged') { if ($total == 2) { $this->nav_link($current, $total, $query); } else { ks_posts_nav_dropdown(array('before' => '<div align="center">', 'after' => '<br /></div>', 'min_pages' => 3, 'show_all_limit' => 9, 'paged' => $current, 'max_pages' => $total, 'id' => $query, 'baseurl' => remove_query_arg(array($query, 'filter', 'action', 'wpnonce')))); } }