We have had a variety of posts about posting from the front-end. I had gotten us started with a series of posts. After getting a solid foundation in place, I started back to school and life got crazy. I had to switch to Gravity Forms for my own needs, I needed some pretty advanced forms, and just didn’t have the time to keep maintaining the code I had begun. At that time, I asked my readers to please continue developing this code and hit me up with any new features. That started a while back with our edit and delete code from fitoussi. Next up we have some code from Lisa of WP Axis who sent in a solution to get our validation working properly.
We’ve had an ongoing series of posts related to posting from the front end on WordPress. Even expanding on that to include editing and deleting. Those were very popular posts, and helped a lot of people. I wanted to guide people to an exciting series of tutorials that is ongoing on WPTuts+ right now. Check out this series for some new information and tutorials for your front end posting needs. I haven’t had much time lately to work on that series, but I think you will find plenty of information in that tutorial to improve your code, and to learn from!
Let me know what you think of that tutorial? Does it work for you?
I’ve made a couple of posts over the past while about Gravity Forms. Specifically with regards to their user registration module. This module has saved me tonnes of spam, plus it just makes my sites look a little more polished and professional in my opinion. It’s nice to have a site branded registration process. Well, recently Gravity Forms released an update, and while this update didn’t do anything major for me, the release notes spelled out a very cool roadmap for the near future, let’s discuss!
One of our VoodooPress readers had a question recently. Seems they were using the front end posting form we started talking about here. They became concerned that allowing users to upload new images for every post using this technique would soon fill their hosting allotment. That’s a valid concern. Let’s look at one possible technique here.
OK people. my apology to any of you who actually waited for me to post this. there was a lot going on for me latley. trip to my country, holidays, work got crazy in the holidays, new year, camping trip for my birthday and the best part is my new iMac :). so now i can smothly write This second part of this tutorial. In the first part i showed you how to create “my-posts” page and how to delete a post. In this tutorial i will show you how to edit post from front end. There is a little more going on in this part so i will try to explain it the best way i can. note that this form works for custom taxonomies when it comes to categories and tags. so i am not sure how it will work with regular categories and tag but if there are problems we can all try to figure it out. and same as in the first part of the tutorial i will break it to sections.
This is a continuous tutorial to the “post from your front end” tutorial by voodoo. I will break the tutorial to two parts to make it easier. First part will be creating “my-posts.php” template file. This file displays a list of posts (approved and pending) of a user when he is logged in when each post will have “Edit” and “Delete” buttons. Clicking on “delete” button of a post will instantly delete it. Clicking on “Edit” will send the user to “edit-post.php” file that we will create in the second part of this tutorial.
Here’s a link to an article I think several of us are going to want to look at. The forthcoming WordPress 3.3 release is going to make it quite easy to add the full editor on the front end. We have a very active discussion going on VoodooPress where we’ve established how to post from the front end. I’m not going to have time to work on this for a bit, but wanted to point out the links. Hopefully someone can get this going. It looks like it will be pretty simple for us to get a full editor on our front end posting. If someone works this out, let us know in the comments. Maybe make a full post on your site and link it here, or you can write a guest post on VoodooPress about it.
We’ve used meta boxes in a couple of different ways on our tutorials here. We’ve added them from functions.php to be used in the backend post screen, and we’ve added them to our front end posting form. Let’s expand on that idea a little, we’re going to take a look at how to use dropdowns, radio fields, and checkboxes with our meta boxes from the front and back ends.
Over the past three days we’ve accomplished quite a bit. First we set up a form to post from the front end. Once we had the form all set up, we dropped in some code to allow images to be uploaded with the form. And finally we added in the ability to use custom meta boxes on our form to collect additional information in custom fields for us to use. That’s a lot of code. Plus I had some difficulties with code that sometimes worked and sometimes did not. I got that all fixed. I thought it might be best to drop the full code I have in one post so that we can review it together.
So far this week, we have learned how to post from the front end. And we’ve expanded on that by allowing image uploads from the front end. We are going to go one step further today and add a meta box to our form. This way we can use the meta box to gather data and feed it into a custom field so we can use that data. The data can be just about anything, really use your imagination here. I’ll give some examples of stuff I’m thinking of, let’s get into it!