• After buying the timetable extension I have a question about it.

    I want to display productions for only tomorrow using the shortcode below which seems to work fine.

    [wpt_productions_timetable end_after=’today’ start_before=’tomorrow’]{{title|permalink}}{{dates}}[/wpt_productions_timetable]

    However it outputs the production in the table format like below but I only want to display the tomorrows dates and times not every other date and time in the production. Is this possible from within the shortcode, anyone?

    Name of Movie
    ?June 12, 2018 to June 13, 2018
    Tue 12 – 8:00pm
    Wed 13 – 8:00pm

    • This topic was modified 6 years, 5 months ago by kevkong1.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeroen Schmit

    (@slimndap)

    You may be able to hide the extra days with CSS:

    .wpt_production_timetable tr > * {
      display: none;
    }
    
    .wpt_production_timetable tr > *:first-child,
    .wpt_production_timetable tr > *:nth-child(2) {
      display: table-cell;
    }
    Thread Starter kevkong1

    (@kevkong1)

    Thanks but that would not work. Tomorrows listing might also have an entry for today as well as tomorrow but sometimes not so it would be impossible to do any count with css.

    If I just wanted to show today then that would be easy as I’d just hide everything after the first row,

    • This reply was modified 6 years, 5 months ago by kevkong1.
    Plugin Author Jeroen Schmit

    (@slimndap)

    In that case I don’t think it possible to achieve this easily. It would require changes to the code of the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Timetable extension’ is closed to new replies.