• Hello everyone,

    I’m quite new to WordPress and its plugins, so I’m sorry in advance if I have missed something obvious.

    My current situation is as follows:
    I currently have a couple of monitors displaying different images thanks to Foyer.
    At specific times, let’s say from 10AM to 11AM I want the content on some of these screens to change to something else, which should happen on a daily basis.

    Now I know that there is the option to “Schedule temporary channel” on the Display-Page of the Foyer plugin, but it’s only for a specified singular occurence, if I’ve understood it correctly. Changing the settings for every screen, which has to change its content, within a specified period for every day would add up quite a bit of time spent on a process which I’d imagine to be very streamline-able.

    I’ve already looked for different plugins to change this setting, but I have not found something that works properly in combination with Foyer.
    Maybe I’ve just looked at the wrong options- Either way I’d appreciate help / suggestions on how I could implement a way to achieve the desired outcome.

    Thanks in advance,
    Jan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Agree that this would be truly useful and a great feature for upcoming versions.

    If anyone is interested, I modified a couple of php files to basically ignore the date of the temporary schedule and only check the time. This gives me the ability to assign a time period, and every day, it will use that channel.

    /admin/class-foyer-admin-display.php
    Line 63.. Change the wording to indicate that the date is ignored.
    __( ‘Schedule daily secondary channel (date is ignored)’ , ‘foyer’ ),

    /includes/class-foyer-display.php
    Beginning at line 142
    if ( date(‘His’,$scheduled_channel[‘start’]) > date(‘His’) ) {
    continue;
    }

    if ( date(‘His’,$scheduled_channel[‘end’]) < date(‘His’) ) {
    continue;
    }

    • This reply was modified 2 years, 10 months ago by liquid64.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Specific Daily Schedule for Displays’ is closed to new replies.