check_eprofile_shortcode_lite(); $tc_page = $tc->aio_check_tc_shortcode_lite(); $nonce = wp_create_nonce("aio_tcl_front"); $link = admin_url('admin-ajax.php?action=aio_tcl_front&post_id=' . get_the_ID() . '&nonce=' . esc_attr($nonce)); if ($eprofile_page != null){ $profile_button = ' '; } if (is_user_logged_in()){ $template .= '
'; } else{ $template .= '

' . esc_attr_x('You must be logged in to use the time clock', 'aio-time-clock-lite') . '.

'; } echo $template;