[insert_php]
global $current_user; // Use global
get_currentuserinfo(); // Make sure global is set, if not set it.
if ( !is_user_logged_in() ) {// Check user object has not got subscriber role
echo ‘Login to submit your own post‘;
}
else {
echo ‘You are our valued user and we take pride in having you @Go4Reviews. Here is a medium to share your knowledge and creativity with other readers. Please note that the article once submitted, shall be moderated by our staff for its relevance. The article has to be related to either of these categories and shall not be promotional in nature:
Realty, Education – About School/College, Events, Admission Alert
The article shall contain no less than 200 words and shall have minimal (and only relevant links meant for reference purposes) external links. Sharing contact details (email or phone number) as part of the article are a strict no-no since we respect our users privacy. Happy Posting!!!’;
echo do_shortcode(‘[user-submitted-posts]’);
}
[/insert_php]