Title: Column ordering question
Last modified: January 24, 2017

---

# Column ordering question

 *  Resolved [rsteinhoff](https://wordpress.org/support/users/rsteinhoff/)
 * (@rsteinhoff)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/column-ordering-question/)
 * Hi Tobias,
 * Thank you for your help earlier with the column order extension.
 * I have just started to use the extension and have a question. I have a table 
   that has a lot going on with it:
 * [table id=7 responsive=scroll responsive_breakpoint=phone hide_columns=”1,2,3,4,5,6,7,8,9,11,12,13,14,15,18,19,20,21,22,23,24,25,26,27,28,30,31,32,33,34″
   row_order=sort row_order_sort_column=J /]
 * This table works perfectly as columns 10, 16, 17, and 29 are shown and everything
   else is hidden.
 * When I try to implement column ordering nothing happens. I’m trying to swap column
   17 and column 29. Here is my code:
 * [table id=7 responsive=scroll responsive_breakpoint=phone hide_columns=”1,2,3,4,5,6,7,8,9,11,12,13,14,15,18,19,20,21,22,23,24,25,26,27,28,30,31,32,33,34″
   column_order=”manual” column_order_manual_order=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,29,18,19,20,21,22,23,24,25,26,27,28,17,30,31,32,33,34
   row_order=sort row_order_sort_column=J /]
 * Any feedback would be greatly appreciated.
 * Thanks!
 * Ronald

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/column-ordering-question/#post-8692573)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Is the TablePress Column Order Extension installed and activated?
 * You should then not need the `hide_columns` parameter, actually, and you can 
   use ranges to simplify the Shortcode:
 *     ```
       [table id=7 responsive=scroll responsive_breakpoint=phone column_order="manual" column_order_manual_order="1-16,29,18-28,17,30-34" row_order=sort row_order_sort_column=J /]
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [rsteinhoff](https://wordpress.org/support/users/rsteinhoff/)
 * (@rsteinhoff)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/column-ordering-question/#post-8692638)
 * Hi Tobias,
 * Thanks for looking into this for me.
 * Yes, the Table Column Order extension is installed and activated.
 * If I remove the hide_columns parameter then the columns that I want hidden are
   shown. I’m trying to hide all columns except for 10, 16, 17, and 29 but then 
   I want to order those columns as 10, 16, 29, 17.
 * Thanks,
 * Ronald
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/column-ordering-question/#post-8692760)
 * Hi,
 * ah, well then you’ll just need
 *     ```
       [table id=7 responsive=scroll responsive_breakpoint=phone column_order="manual" column_order_manual_order="10,16,29,17" row_order=sort row_order_sort_column=J /]
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [rsteinhoff](https://wordpress.org/support/users/rsteinhoff/)
 * (@rsteinhoff)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/column-ordering-question/#post-8692866)
 * Wow, so simple! So if you use column ordering you don’t need to hide the columns.
   Very interesting!
 * Thanks Tobias!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/column-ordering-question/#post-8692931)
 * Hi,
 * correct – basically that is because the “manual” order mode also selects which
   columns to show (and in which order).
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   here in the plugin directory. Thanks!
    -  This reply was modified 9 years, 4 months ago by [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/).

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

The topic ‘Column ordering question’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/column-ordering-question/#post-8692931)
 * Status: resolved