Chris Andrews
asked on
wordpress: how can I show pending status on single.php?
My theme has it's own interface for user's to enter their posts. After they enter the post, the page loops back and shows the post.
I've changed the functions in the theme to set the first post as 'pending', so I can review it.
I need to let the user know the post is pending though.
What can I put into single.php so show that the post is pending? I want to do something like this:
if (post is pending) { //how do I code this part?
echo "Your post will go live after it's reviewed";
}
Would appreciate any help, Chris
I've changed the functions in the theme to set the first post as 'pending', so I can review it.
I need to let the user know the post is pending though.
What can I put into single.php so show that the post is pending? I want to do something like this:
if (post is pending) { //how do I code this part?
echo "Your post will go live after it's reviewed";
}
Would appreciate any help, Chris
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much,
Chris