Get post title with link
I am using this code to send an email from my wordpress site. It send permalinks of the posts. How can i edit this to have linked titles instead of just permalinks; if(count($ids) > 0){ $user_id = $usermeta[‘user_id’]; $userdata = get_userdata($user_id); $email = $userdata->data->user_email; //echo $email; $links=””; foreach($ids as $id){ $link = get_permalink($id); $links .= … Read more