Need a table that filters by today's date
-
Hello. I am a new WordPress user. Here is what I need to figure out using tablepress
I need to add 2 tables to my site. Table 1 has 5 sections, and each section has a time slot associated to it. The table looks something like this:
Today’s date
Section A, 9 AM, 9:30 AM
Section B, 11 AM, 11:30 AMand so on..
the time is an input from a file/table/db (whatever works). I can have the input ready for the whole month or the whole year. The section A, b,… is static. So basically, everyday, the site will change the table/data, based on today’s date for each of the sections, defined in the input file or DB.
the file or db has data as:
header: date, section A, section A, section B, section B…
row1: 1/1/2015, 9 AM, 9:30 AM, 11 AM, 11:30 AM…The second table needs to update daily activities by day of the week:
e.g.Today is Monday
Activity A is at 9 AM
Activity B is at 7 PM
and so onThe data is like
Header: sunday, monday,…
Row1: act a, act b
Row2: act c,
Row3: act d, act eand so on…
The # of activities per day will change depending on the day of the week. Again the input can be from xml, csv, db, whatever.
Today this is done in javascript and xml files but it is very hard to debug and I am not sure how to replicate in word press (i didnt write the original files either so I dont know how to rewrite them). I have played with tablepress and can get the file to upload/import but it has all the data, and it needs to be filtered by date and day of the week respectively for the 2 tables. input data can be manipulated as needed to fit the plugin.
Thanks!
- The topic ‘Need a table that filters by today's date’ is closed to new replies.