Title: Trouble with basic functions
Last modified: August 30, 2016

---

# Trouble with basic functions

 *  Resolved [Ricke 59](https://wordpress.org/support/users/ricke-59/)
 * (@ricke-59)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-basic-functions/)
 * I’m probably making a rookie mistake but I can’t get basic functions like Orderby
   and Headers to work.
 * Link to a testpage `http://www.skinnskattebergssmabatsklubb.se/?page_id=2281`
   
   sorting should be on column1 and then column4 I would also like to change the
   column header names
 * I’m running Win10 and have tested with both Google Chrome and MS Edge with the
   same result.
 * Code in Visual mode
    `[cfdb-table form="Boka Arbetsvecka" orderby="Vecka-1 Desc,
   Forste-eller-andreman Desc" show="Vecka-1,from_name,Mobilnummer,Forste-eller-
   andreman" headers="from-name=Namn,Vecka-1=Vecka"]`
 * Code in text mode
    `<a href="http://www.skinnskattebergssmabatsklubb.se/wp-admin/
   admin-ajax.php?action=cfdb-export&form=Boka%20Arbetsvecka&show=Vecka-1%2Cfrom_name%
   2CMobilnummer%2CForste-eller-andreman&content=&enc=HTML"><u><span style="color:#
   0066cc;">[cfdb-table form="Boka Arbetsvecka" <span style="font-family: Courier
   New;">orderby="Vecka-1 Desc,Forste-eller-andreman Desc</span>" show="Vecka-1,
   from_name,Mobilnummer,Forste-eller-andreman" <span style="font-family: Courier
   New;">headers</span><strong><span style="font-family: Courier New;">="from-name
   =Namn,Vecka-1=Vecka"</span></strong>]</span></u></a>`
 * [https://wordpress.org/plugins/contact-form-7-to-database-extension/](https://wordpress.org/plugins/contact-form-7-to-database-extension/)

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

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-basic-functions/#post-6517232)
 * You have [cfdb-table form=”Boka Arbetsvecka” followed by a SPAN tag.
 * Change the WP editor to text mode then paste the short code
 *  Thread Starter [Ricke 59](https://wordpress.org/support/users/ricke-59/)
 * (@ricke-59)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-basic-functions/#post-6517234)
 * Thanks, sorting works fine, but headers stay the same?
 * `[cfdb-table form="Boka Arbetsvecka" orderby="Vecka-1 Asc,Forste-eller-andreman
   Desc" show="Vecka-1,from_name,Mobilnummer,Forste-eller-andreman" headers="from-
   name=Namn,Vecka-1=Vecka"]`
 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-basic-functions/#post-6517279)
 * Make sure there is no line break inside the short code
 *  Thread Starter [Ricke 59](https://wordpress.org/support/users/ricke-59/)
 * (@ricke-59)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-basic-functions/#post-6517285)
 * Perfect, now it works fine.
    Donation on it’s way
 * Greetings from Sweden and many thanks for swift support

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

The topic ‘Trouble with basic functions’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

## Tags

 * [headers](https://wordpress.org/support/topic-tag/headers/)
 * [order by](https://wordpress.org/support/topic-tag/order-by/)
 * [sort](https://wordpress.org/support/topic-tag/sort/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ricke 59](https://wordpress.org/support/users/ricke-59/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-basic-functions/#post-6517285)
 * Status: resolved