Hi,
thanks for your post, and sorry for the trouble.
For this, you could look into using the TablePress Cell Highlighting Extension from https://tablepress.org/download/extension/tablepress-cell-highlighting.zip . For some examples, please see https://wordpress.org/support/topic/tablepress-conditional-colours-in-cells/ For more, please also see the PHP file source code, which has an example in the comment at the top.
Regards,
Tobias
I am glad you got a donation.
I thought I had sent a reply to your last message. Don’t know what happen to it.
Which is. I have not got it working right.
Have download Tablepress cell highlighting extension and is activated.
page =
[table id=3 highlight=”Y” highlight_full_cell_match=”false”
datatables_columnfilterwidgets=true
datatables_columnfilterwidgets_exclude_columns=1,2,3,5,6,7,8 /]
and in
css
.tablepress-id-3 .highlight-Y {
background-color: #fcfc03 !important;
}
So what I should get is in coulum 4 is anything with a Y has a coulor background.
What have I not got right.??
———————————————————————–
question what addon can I use to a search in back office tablepress. I have over 4000 names if I need to change/find something it is not easy.
Thanks for your time
Richard Quick
Hi,
please try this modified CSS:
.tablepress-id-3 .highlight-y {
background-color: #fcfc03 !important;
}
In the CSS, the letter needs to be lower-case.
In addition, you might want to add another parameter to the Shortcode to restrict the search to the fourth column (otherwise every Y in the table will be highlighted):
highlight_columns=4
For the second question: Unfortunately, there’s not direct Extension for that. You can search tables on the “List of Tables”, to find all tables that contain a search term. Then, on each table’s “Edit” screen, you can use the browser search function to find the search term (hit Ctrl+F (Windows) or Cmd+F (Mac)). For mass search/replace, you could export the table to a CSV file, and open that in a normal text editor. Those usually have a search/replace feature. Then, just import the modified CSV file again, choosing to replace the existing table.
Regards,
Tobias