<li<?php if (is_page('member')) { echo ' class="current_page_item"'; } ?> ><?php vp_user_profile_link(); ?> </li> <li<?php if (is_page('settings')) { echo ' class="current_page_item"'; } ?> ><?php vp_page_link(array('slug' => 'settings', 'text' => __('Settings', 'v2press'), 'rel' => 'nofollow')); ?> </li> <?php if (current_user_can('administrator')) { ?> <li><a href="<?php echo admin_url(); ?> " title="<?php _ex('Admin', 'menu', 'v2press'); ?> "><?php _ex('Admin', 'menu', 'v2press'); ?> </a></li>
?> <p class="xsmall fade"><?php bloginfo('description'); ?> </p> <?php } ?> </div> <div class="inner"> <p class="center"><?php vp_page_link(array('slug' => 'signup', 'text' => __('Signup', 'v2press'), 'class' => 'btn')); ?> </p> <p class="fade center"><?php printf(__('Already signup? %s', 'v2press'), vp_page_link(array('slug' => 'signin', 'text' => __('Signin', 'v2press'), 'display' => false))); ?> </p> </div> <?php } // END if is_user_logged_in() ?> </div> <?php if (is_home()) { vp_get_template_part('sidebar', 'home'); } elseif (is_single() && !vp_is_edit() || is_category()) { vp_get_template_part('sidebar', 'category'); } elseif (is_page('new') || vp_is_edit()) {
/** * Form Navigation links. * * @since */ function vp_form_nav() { $output = '<div class="form-nav">'; if (is_page('signin') && get_option('users_can_register')) { $output .= vp_page_link(array('slug' => 'signup', 'display' => false)) . ' | '; } elseif (is_page('signup')) { $output .= vp_page_link(array('slug' => 'signin', 'display' => false)) . ' | '; } $output .= vp_page_link(array('slug' => 'forgot', 'text' => __('Forgot password?', 'v2press'), 'display' => false)); $output .= '</div>'; echo $output; }
<div class="footing no-border"> <p class="xsmall"><?php vp_page_link(array('slug' => 'recent', 'text' => __('» More Recent Topics', 'v2press'))); ?> </p> </div> </section> <section id="home-node-navi" class="box"> <div class="heading clearfix"> <p class="f-left fade"><?php _e('Node Navigation', 'v2press'); ?> </p> <p class="f-right"><?php vp_page_link(array('slug' => 'planes', 'text' => __('View All Nodes', 'v2press'))); ?> </p> </div> <?php vp_node_navi(); ?> </section> </div><!--END #main--> <?php get_sidebar(); ?> <?php