I am trying to figure out on how do I make my wordpress website to be able to add portfolio
items from the frontend. Plugins such as WP-User-Frontend allows posting from frontend but only works with blog posts.
Is there any ways or any plugins similar to wp-user-frotend but being able to add custom post type items?
If you are willing to pay for it, the Gravity Forms plugin allows you to create forms that map to your Custom Post Types (even regular post and page – types) as well as map to your custom fields.
For those who aren’t and who are willing to roll up their sleeves then you can create a front end form that posts data into any post type of your choosing quite easily.
Here is a basic example;
Your HTML form would look something similar to;
You can place this all into your theme template file. Normally, I would take it a step further and run the processing logic (PHP) from a function within my functions.php hooked onto an action however it will work from within a theme file too.
This is only intended to be a basic example and its void of any serious error checking and validation. However this gives you the essential framework for what you need to be posting from the front end to your post types in the back end.
There are also numerous tutorials that expand on the subject on WPSE if you run a search you will find a wealth of information.
try this it will help you..! Aakib 🙂