Title: How to create a function
Last modified: January 19, 2017

---

# How to create a function

 *  [hbran](https://wordpress.org/support/users/hannahebrantley1/)
 * (@hannahebrantley1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/)
 * _[ Moved to the [Fixing WordPress sub-forum](https://wordpress.org/support/topic/before-posting-in-everything-wordpress/).]_
 * Hello,
 * On my website, we have a list of aircraft that our company has for sale. Much
   like an online shop, we have a page with a picture of each aircraft and a link
   to the product details for each. I would like to create a function so that my
   company can add aircraft as needed through a backend form. My guess is that I
   would need one function to add the pic/link to product details and another function
   to add the product details on a separate page?
 * Here is the URL for reference: [http://www.usaviation.aero/services/aircraft-sales/aircraft-for-sale/](http://www.usaviation.aero/services/aircraft-sales/aircraft-for-sale/)
 * With that being said, I have tried to create my own function but have not had
   any success. When I tried to find more information on how to do it, I ended up
   hopelessly confused. Does anyone out there know how I can set this up?
 * Your help is much appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/#post-8653182)
 * I’m confused. You’re using WooCommerce, so why not just use PRODUCTS->ADD PRODUCT?
 * Specifically, what are you trying to do that you can’t do through WC directly?
 *  Thread Starter [hbran](https://wordpress.org/support/users/hannahebrantley1/)
 * (@hannahebrantley1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/#post-8654692)
 * That would be because I had an extremely blonde moment and that thought had not
   occurred to me. Thank you for pointing that out.
 *  Thread Starter [hbran](https://wordpress.org/support/users/hannahebrantley1/)
 * (@hannahebrantley1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/#post-8654974)
 * Steve,
 * I tried using WooCommerce; however, I am looking to make more of a catalog than
   an online store. I do not want the “Add Cart” “Account” or “Checkout” options
   on the site. I tried a few different plugins to remove those options, but they
   all gave me an error message on the product page. Any advice?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/#post-8655002)
 * I’d ask about the errors in the support areas for those plugins — one assumes
   they *should* work correctly.
 *  Thread Starter [hbran](https://wordpress.org/support/users/hannahebrantley1/)
 * (@hannahebrantley1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/#post-8671713)
 * Steve,
 * I created another support thread because I have not received a satisfactory answer.
   WooCommerce is not going to work for what I need. I am not interested in finding
   an existing plugin. I need a custom function, and I need to know how to create
   one. Please allow others to respond with their advice before closing my threads.
 * So, can you please explain to me how to create a function?
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/#post-8672031)
 * Side note:
 * > I created another support thread because I have not received a satisfactory
   > answer.
 * Yeah. Don’t do that, it makes it harder for other unpaid volunteers such as yourself
   to provide support. Normally duplicates are deleted when found.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/#post-8672131)
 * > explain to me how to create a function
 * I can’t tell you what you really need to know. It’s a big project. I think I’d
   build some custom post types and custom taxonomies.
 * If you want to learn to develop in WordPress, this is where to start: [https://developer.wordpress.org/](https://developer.wordpress.org/)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘How to create a function’ is closed to new replies.

## Tags

 * [forms](https://wordpress.org/support/topic-tag/forms/)
 * [functions](https://wordpress.org/support/topic-tag/functions/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/how-to-create-a-function/#post-8672131)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
