Jquery tablesorter in wordpress

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Jquery tablesorter in wordpress

Download tablesorter at

upload to your wordpress

place this at wordpress header

<script type="text/javascript" src="/path/to/jquery-latest.js"></script>   
<script type="text/javascript" src="/path/to/jquery.tablesorter.js"></script>
<link rel="stylesheet" type="text/css" href="themes/green/style.css" />

In you post or where you want your table to be. place following code

<table id="myTable"> 
    <th>Last Name</th> 
    <th>First Name</th> 
    <th>Web Site</th> 
    <td>[hidden email]</td> 
    <td>[hidden email]</td> 
    <td>[hidden email]</td> 
    <td>[hidden email]</td> 

Place this code into javascript jquery.tablesorter.js


mytable is your table ID that you can change. you can customize your table width or anything in green/style.css if you are using green style.

You received this message because you are subscribed to the Google Groups "jQuery Plugins" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/jquery-plugins?hl=en