Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $queried_post = get_post($post_id);
- $user_info = get_userdata($post->post_author);
- $first = $user_info->first_name;
- $last = $user_info->last_name;
- //create the main category
- wp_insert_term('Jainam','category',array('slug' => 'jainam-patel',));
- echo "<a href='$first $last'>$first $last </a>";
- ?>
- year/month/articlePOSTEDbyAUTHOR/authorFirstName%20authorLastName
- Error 404 - Not Found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement