Exclude all tablepress table material from print
-
I have used the excellent TableView a lot, and now I use it on almost any page on my recipe site to match recipes with sauces.
At the end of a recipe, I include a shortcode to display the relevant recipes/sauces for this cut
[table id=112 hide_columns=”1,2,4″ datatables_filter=false filter=”bearnaise” /]The table are +500 rows in the recipes and sauces table.
PRINTING
When I print from a page I can exclude ALMOST all table material by using CSS for that particular table (ID=112):@media print {
/* These styles will only be used when the page is printed or saved to PDF. */
.tablepress-id-112 {
display: none;
}
.dataTables_paginate a {
display: none;
}
.tablepress-table-name-id-112 {
display: none;
}
}This will exclude the table, the title and the <Previous Next> text.
But I can not find a way to exclude the top “Show XX entries”?
Thanks a lot
KarstenI use the latest version of WordPress and Tablepress
The page I need help with: [log in to see the link]
The topic ‘Exclude all tablepress table material from print’ is closed to new replies.