Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--Login buttons-->
- <div class="eight columns login-buttons">
- <ul class="button-group radius right">
- <?php if (is_user_logged_in()): ?>
- <?php /* Only show if Buddypress is installed */ ?>
- <?php if (function_exists('bp_is_active')): ?>
- <li class="relative btn-profile">
- <div href="#" class="secondary button dropdown" data-options="is_hover:true">
- <a href="<?php bp_loggedin_user_link(); ?>" class="tiny secondary button radius"><i class="icon-user hide-for-medium-down"></i> <?php _e("PROFILE", 'kleo_framework'); ?></a><div class="kleo-notifications"><?php if( bp_is_active('messages') && messages_get_unread_count() > 0 ) { ?><a href="<?php echo bp_loggedin_user_domain().'messages/'; ?>" data-width="210" title="<?php _e("New messages", 'kleo_framework');?>" class="kleo-message-count has-tip tip-left"><?php echo messages_get_unread_count(); ?></a><?php } ?><?php if (bp_is_active('friends') && bp_friend_get_total_requests_count() > 0): ?> <a href="<? echo bp_loggedin_user_domain().'friends/requests'; ?>" data-width="210" title="<?php _e("Friend requests", 'kleo_framework');?>" class="kleo-friends-req has-tip tip-right"><?php echo bp_friend_get_total_requests_count(); ?></a><?php endif; ?> </div>
- <ul>
- <li id="nav-menu-item-862"><a href="http://sweet.codez.ro/about-us/" rel="nofollow">About us</a></li>
- <li id="nav-menu-item-855"><a href="http://sweet.codez.ro/reasons-to-join/" rel="nofollow">Reasons to join</a></li>
- <li id="nav-menu-item-857"><a href="http://sweet.codez.ro/404-page/" rel="nofollow">404 Page <span class="label">24</span></a></li>
- <li id="nav-menu-item-860"><a href="http://sweet.codez.ro/full-width/" rel="nofollow">Full Width Template</a></li>
- <li id="nav-menu-item-858"><a href="http://sweet.codez.ro/left-sidebar-template/" rel="nofollow">Left Sidebar Template</a></li>
- <li id="nav-menu-item-859"><a href="http://sweet.codez.ro/right-sidebar-template/" rel="nofollow">Right Sidebar Template</a></li>
- <li id="nav-menu-item-830"><a href="http://seventhqueen.com/demo/sweetdatewp/?s=Lorem" rel="nofollow">Search Page</a></li>
- <li id="nav-menu-item-866"><a href="http://sweet.codez.ro/shortcodes/layout/" rel="nofollow">Shortcodes</a></li>
- </ul>
- </div>
- </li>
- <?php endif; ?>
- <li><a href="<?php echo wp_logout_url(get_bloginfo('url')); ?> " class="tiny button radius"><i class="icon-off hide-for-medium-down"></i> <?php _e("LOG OUT", 'kleo_framework'); ?></a></li>
- <?php else: ?>
- <li><a href="#" data-reveal-id="login_panel" class="tiny secondary button radius"><i class="icon-user hide-for-medium-down"></i> <?php _e("LOG IN", 'kleo_framework'); ?></a></li>
- <?php if(get_option('users_can_register')) { ?>
- <li><a href="#" data-reveal-id="register_panel" class="tiny button radius"><i class="icon-group hide-for-medium-down"></i> <?php _e("SIGN UP", 'kleo_framework'); ?></a></li>
- <?php } ?>
- <?php endif; ?>
- </ul>
- </div>
- <!--end login buttons-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement