I am creating a website so that users can submit their articles from the front end. I have quite a few things set up:
- The ability to submit custom post types from the front end
- Blocked from the back-end.
I’d like to create a page (for logged in users) labeled “my posts” or my “submissions” that will show logged in users their own custom post post types and their status so that they know what’s been published, what will be published in the future, pending, drafts (so they can go back and edit), and pending (so that I as Editor, know when an article is ready for my review).
I’m guess I’m looking for a frontend user dashboard. I’ve tried WP User Frontend, but it clashes with s2member and won’t show posts from s2member registered users.
I just need something simple that will allow users easy access from the front end to manage their posts. I’ve been trying plugin after plugin and adding things to my short code creator but nothing works the way I need it to.
It doesn’t have to be pretty, just a simple code that a non coder (like me) update per by custom post types.
To explain further, i’d like to have one code on a page shows the users all the deals they’ve submitted (and their status), and another code to show users all the articles they’ve submitted (and their status), etc.
Any help would be very useful
Thanks in advance!
I have Something that i use from time to time when i need something like that:
Its commented all over the place so you can understand whats going on there.
Usage
simply create a page and add this shortcode:
[user_posts]
which will give you a list of posts by the logged in user.
You can also change the post type like so:
[user_posts post_type="deal" number="5"]