Title: Sorting
Last modified: August 21, 2016

---

# Sorting

 *  Resolved [tammyw54](https://wordpress.org/support/users/tammyw54/)
 * (@tammyw54)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/)
 * Tobias,
 * I am not able to get the sorting feature to work. Here is a link to my page: 
   [http://adriennerichard.com/book-info](http://adriennerichard.com/book-info)
 * I read several of the posts, but still not able to sort.
 * Thanks,
    Tammy
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/#post-4352380)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * My assumption here, after checking the code in the page, is that your theme does
   not contain a call to the function
 *     ```
       <?php wp_footer(); ?>
       ```
   
 * right before the closing
 *     ```
       </body>
       ```
   
 * HTML tag in the theme’s “footer.php” file. Could you please check that?
 * Regards,
    Tobias
 *  Thread Starter [tammyw54](https://wordpress.org/support/users/tammyw54/)
 * (@tammyw54)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/#post-4352391)
 * It appears that the call is there. I can see it on the template page and the 
   information in footer.php is displaying on the page? Any other ideas?
 * Thanks for your help!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/#post-4352395)
 * Hi,
 * ok, thanks for checking. It’s really weird then that the necessary JS calls are
   not in the page…
    Is the “Use DataTables” checkbox on the table’s “Edit” screen
   really checked? If so, this must mean that something is wrong there with that`
   wp_footer()` call. Maybe the “footer.php” is not even being used?
 * Regards,
    Tobias
 *  [Jodi Wigmore](https://wordpress.org/support/users/jodi-wigmore/)
 * (@jodi-wigmore)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/#post-4352525)
 * Hi, Tobias
 * I have having the same issue, and have both the correct code in the footer.php,
   plus the correct boxes checked in the editing area. When I click a column to 
   sort, the entire table goes blank. Here is a link to my working page, below. 
   Please advise.
 * [http://v2.equitablerealestate.ca/residential-vacancies/](http://v2.equitablerealestate.ca/residential-vacancies/)
 * Thank you, Jodi
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/#post-4352526)
 * Hi Jody,
 * thanks for your post, and sorry for the trouble.
 * Your case is different, you are actually affected by this “problem”: [http://wordpress.org/support/topic/sorting-kills-content](http://wordpress.org/support/topic/sorting-kills-content)
   
   Just delete the empty rows at the bottom of your table and everything will be
   fine 🙂
 * Regards,
    Tobias
 *  [Jodi Wigmore](https://wordpress.org/support/users/jodi-wigmore/)
 * (@jodi-wigmore)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/#post-4352527)
 * Ah! The client has been maintaining the table and I didn’t even notice the empty
   rows! Fixed, thanks again, Tobias – a donation is coming your way right now 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/#post-4352530)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
    And thanks
   for the donation, I really appreciate it!
 * Best wishes,
    Tobias

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

The topic ‘Sorting’ 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/)

## Tags

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

 * 7 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/sorting-4/#post-4352530)
 * Status: resolved