<?php /** * @package WordPress * @subpackage Traveler * @since 1.0 * * User html add to wishlist * * Created by ShineTheme * */ if (is_user_logged_in()) { ?> <?php $data = STUser_f::get_icon_wishlist(); ?> <?php if (!empty($title)) { ?> <div class=" clear mt20" style="margin-bottom: 10px;"> <?php if (!empty($title)) { echo '<span>' . $title . ': </span>'; } ?> <a data-placement="top" rel="tooltip" data-original-title="<?php echo balanceTags($data['original-title']); ?> " class="btn_add_wishlist btn btn-primary <?php if (!empty($class)) {
function st_cruise_add_review() { if (is_singular('cruise')) { return '<div class="text-right mb10"> <a class="btn btn-primary" href="' . get_comments_link() . '">' . __('Write a review', ST_TEXTDOMAIN) . '</a> <a class="btn_add_wishlist btn btn-primary" data-type="' . get_post_type(get_the_ID()) . '" data-id="' . get_the_ID() . '" > ' . STUser_f::get_icon_wishlist() . ' </a> </div>'; } }