Table in WordPress admin is not showing correctly
Table in WordPress admin is not showing correctly
![alexsoussa](https://secure.gravatar.com/avatar/595255499f9e50be1a943fa08a0c52b5/?default=https%3A%2F%2Fvanillicon.com%2F595255499f9e50be1a943fa08a0c52b5_200.png&rating=g&size=120)
Hello, I've done some tables using a plugin with DataTables. It's working fine on frontend (image 1) but not in back-end (image 2).
When I look through the console I have this errors:
This discussion has been closed.
Answers
Please provide a link to your page or to a test page showing the problem, in accordance with the forum rules.
https://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read#latest
I'm not sure what you mean by front-end and back-end. The problem is that you're missing jQuery and the SearchPanes source files - they need to be included in that page.
Colin
Hello, sorry.
Frontend URL: https://tecniambient.com/casal/veure-despeses/
Back-end: https://tecniambient.com/casal/wp-admin/admin.php?page=cmr_despeses
User: test
Password: testfordatabase
Hello @colin
I think this is not the problem. I've these files included:
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/buttons/1.6.1/css/buttons.dataTables.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/colreorder/1.5.2/css/colReorder.dataTables.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/responsive/2.2.3/css/responsive.dataTables.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/searchpanes/1.0.1/css/searchPanes.dataTables.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/select/1.3.1/css/select.dataTables.min.css"/>
I don't see jQuery anywhere.
@tangerine jquery is included in WordPress. It's working on frontend, but not in backend (wp-admin).
This is what I don't know kow to solve.
You'll need to ask WordPress support how you can include jQuery on both client facing pages and the admin pages.
Allan