Help creating first plugin
-
Hello all. I’m trying to create my first plugin – a plugin version of my market theme. I have never created a plugin before and I’m not good with php (other than wordpress stuff), but I do know how to read tutorials. I’ve found plenty that show you how to add additional content to the end / beginning of a post (such as a sentence wrapped in paragraph tags), but I need something a little beyond that.
What I want to do is have a
<form>
code generated and added to the end of each post which will lead to a paypal buy now button. Everytime I try putting a form code in place of the paragraph tags from tutorials, it causes the plugin to break and it obviously doesn’t get activated. I’m not sure if this is just because it won’t accept the form code, or because I am using custom fields in the form code (one echos the price set in a custom field to set the buy now button price, email email is called from the admin email specified in wordpress, etc).Can this be done and can anyone point me in the right direction? If not, I’ll gladly pay someone to do it if they are interested.
Please let me know as soon as possible.
Thank you.
- The topic ‘Help creating first plugin’ is closed to new replies.