Title: Ordering ALL tabs
Last modified: August 24, 2016

---

# Ordering ALL tabs

 *  Resolved [pbsanders15](https://wordpress.org/support/users/pbsanders15/)
 * (@pbsanders15)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/ordering-all-tabs/)
 * My theme comes with the “Description”, “Additional Information”, and “Reviews”
   tabs. I’m using Easy Custom WooCommerce Product Tabs to create two additional
   tabs: “Video” and “Ingredients”.
 * I want to be able to order the tabs in this order:
 * Videos, Description, Ingredients, Additional Information, Reviews.
 * But I can only use this plugin to rearrange the order of the two new tabs created
   through this plugin. (Video and Ingredients).
 * I can edit the order of other tabs by editing the functions.php file. But I can’t
   seem to separate the two custom tabs made through the plugin. They are always
   right next to each other. Any ideas?
 * The development site can be seen here:
    [http://www.philsandersdesign.com/sites/kaiderma/](http://www.philsandersdesign.com/sites/kaiderma/)
   with a good example of the product tabs here: [http://www.philsandersdesign.com/sites/kaiderma/product/ocean-body-oil/](http://www.philsandersdesign.com/sites/kaiderma/product/ocean-body-oil/)
 * I’ve been referencing this while trying to figure it out:
    [http://docs.woothemes.com/document/editing-product-data-tabs/](http://docs.woothemes.com/document/editing-product-data-tabs/)
 * [https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/)

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

 *  Plugin Author [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * (@eherman24)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/ordering-all-tabs/#post-6046986)
 * Hi,
 * This is more of a global WooCommerce question as opposed to an issue with our
   custom tabs plugin.
 * The link you provided:
    [http://docs.woothemes.com/document/editing-product-data-tabs/](http://docs.woothemes.com/document/editing-product-data-tabs/)
 * Is correct. You’ll need to enter custom code to override the default order of
   WooCommerce tabs, and ensure that our tabs get placed before the others.
 * Evan
 *  [Manuel Hudec](https://wordpress.org/support/users/urbnn/)
 * (@urbnn)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/ordering-all-tabs/#post-6047013)
 * But how?
 * `$tabs['WHAT SHOULD I WRITE IN HERE?']['priority'] = 5;`
 *  Plugin Author [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * (@eherman24)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/ordering-all-tabs/#post-6047014)
 * Whatever the title of your tab is.
 * Example:
 * Tab title is “My Custom Product”
 * Your code would read:
    `$tabs['my-custom-product']['priority'] = 5;`
 * Feel free to take a look at how we are ordering the tabs via code in the plugin:
 * [https://github.com/yikesinc/yikes-inc-easy-custom-woocommerce-product-tabs/blob/master/yikes-inc-easy-custom-woocommerce-product-tabs.php#L174-L198](https://github.com/yikesinc/yikes-inc-easy-custom-woocommerce-product-tabs/blob/master/yikes-inc-easy-custom-woocommerce-product-tabs.php#L174-L198)
 * You’ll see the tab is set to `$tabs[$tab['id']]` on [line 184](https://github.com/yikesinc/yikes-inc-easy-custom-woocommerce-product-tabs/blob/master/yikes-inc-easy-custom-woocommerce-product-tabs.php#L184).

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

The topic ‘Ordering ALL tabs’ is closed to new replies.

 * ![](https://ps.w.org/yikes-inc-easy-custom-woocommerce-product-tabs/assets/icon-
   256x256.png?rev=1558461)
 * [Custom Product Tabs for WooCommerce](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/)
 * [Active Topics](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/reviews/)

## Tags

 * [custom tabs](https://wordpress.org/support/topic-tag/custom-tabs/)
 * [order](https://wordpress.org/support/topic-tag/order/)

 * 3 replies
 * 3 participants
 * Last reply from: [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/ordering-all-tabs/#post-6047014)
 * Status: resolved