Post from front-end only by logged in users, form posts as “posted by:

you can use

global $current_user;
get_currentuserinfo();

and then add

'post_author' => $current_user->ID

to your $new_post array.

then you can use

<p>Posted by: <?php the_author(); ?></p>

Leave a Comment

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduedusedueduedueduseduseduedus