table sorter in dashboard page
-
hello.
I’d like to use easy table and table sorter column in ‘admin dash board page’. basic table is working, but sort function doesn’t work. Following code is what I did in ‘mytheme/functions.php’.
Could anybody give advise?
ps. easytable and sortable column is working on regular page and post.add_action(‘admin_menu’, ‘register_custom_menu_page’);
function register_custom_menu_page() { add_menu_page(‘custom’,’custom’,’manage_options’,’custom_menu’,’custom_menu_page’,”,6);
}
function custom_menu_page() {
echo do_shortcode(‘[table caption=”Just test table” width=”500″ colwidth=”20|100|50″ colalign=”left|left|center|left|right”]
no,head1,head2,head3,head4
1,row1col1,row1col2,row1col3,100
2,row2col1,row2col2,row2col3,20000
3,row3col1,,row3col3,1405
4,row4col1,row4col2,row4col3,23023
[/table]’);
}
- The topic ‘table sorter in dashboard page’ is closed to new replies.