Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="col-sm-3 col-xs-6 wfp_button">
- <?php
- if( is_user_logged_in() ){
- echo '<span class="option">';
- if( function_exists( 'wfp_button' ) ){
- wfp_button();
- }
- echo '</span>';
- }
- else{
- ?>
- <a href="<?php echo esc_url( wp_login_url( get_permalink() ) );?>" class="option">
- <i class="fa fa-star-o" aria-hidden="true"></i>
- <span class="option-text">
- <?php esc_html_e( 'Login to bookmark', 'mars' );?>
- </span>
- </a>
- <?php
- }
- ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement