Title: hide column from page
Last modified: August 22, 2016

---

# hide column from page

 *  [mdariful](https://wordpress.org/support/users/mdariful/)
 * (@mdariful)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/hide-column-from-page/)
 * Hello, it’s possible to hide some column from the front page?
 * [https://wordpress.org/plugins/custom-database-tables/](https://wordpress.org/plugins/custom-database-tables/)

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

 *  Plugin Author [ka2](https://wordpress.org/support/users/ka2/)
 * (@ka2)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/hide-column-from-page/#post-5273497)
 * Yes, it is possible.
    When you view the data list of a table using shortcode,
   you can specify a comma-delimited list of field names of the column that you 
   do not want to see. For example,
 * `[cdbt-view table = "$ {table_name}" exclude_cols = "created, updated"]`
 *  [Tempuz](https://wordpress.org/support/users/tempuz/)
 * (@tempuz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/hide-column-from-page/#post-5273707)
 * Hi
    I have tried to use …[cdbt-view table….exclude_cols=”created, updated”], 
   but it only manages to hide the one of the columns and not both “created date”/”
   updated date”. If you are able to help with this issue, I have another question.
   If I want to hide “No.” column, what is the name that needs to added to the shortcode?
 * Regards Simon
 *  [Tempuz](https://wordpress.org/support/users/tempuz/)
 * (@tempuz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/hide-column-from-page/#post-5273708)
 * Figured out how to “hide” the “No.”-column.
    I have not figured out how to make
   the “exclude_cols=”” hide more than just one column. I guess that […display_list_columnname
   =”false”] is another option, but I don’t know what the names for “ID” and “Created
   Date” are.
 * So first half of the question still remains.
 * Regards Simon
 *  Plugin Author [ka2](https://wordpress.org/support/users/ka2/)
 * (@ka2)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/hide-column-from-page/#post-5273709)
 * Thank you for the question.
 * If you want to hide a column of “No.”, you need to specify the “false” to attribute
   of “display_list_num”.
    In this case, example shortcode as follows:
 * [cdbt-view table=”…” display_list_num=”false” exclude_cols=”created,updated”]
 * Please try.
 *  [Tempuz](https://wordpress.org/support/users/tempuz/)
 * (@tempuz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/hide-column-from-page/#post-5273710)
 * Thanks, that worked. Just missed the lack of space between after the “,”.
    What
   if I want to hide the “ID” column? Tried to add it to the exclude_cols=”created,
   updated,id” and with “ident”, “iden” but couldnt figure out what to use.
 * Thanks for the help so far.
 * Regards Simon
 *  Plugin Author [ka2](https://wordpress.org/support/users/ka2/)
 * (@ka2)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/hide-column-from-page/#post-5273711)
 * I’m glad to be the behavior of your hope.
 * The column names of the ID column will be upper case alphabet.
    So, the shortcode
   is either of the following:
 * [cdbt-view table=”…” display_list_num=”false” exclude_cols=”created,updated”]
 * or
 * [cdbt-view table=”…” exclude_cols=”ID,created,updated”]
 * Please try also.
 *  [Tempuz](https://wordpress.org/support/users/tempuz/)
 * (@tempuz)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/hide-column-from-page/#post-5273712)
 * Ahh, thanks alot!
    That helped and now I only have the columns I wanted to be
   displayed. Awesome and great/quick response time.
 * *thumbs up*

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

The topic ‘hide column from page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-database-tables_e4e2e2.svg)
 * [Custom DataBase Tables](https://wordpress.org/plugins/custom-database-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-database-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-database-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-database-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-database-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-database-tables/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Tempuz](https://wordpress.org/support/users/tempuz/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/hide-column-from-page/#post-5273712)
 * Status: not resolved