• Bigint

    (@bigint)


    Hi there,

    Thank you, for sharing the plugin open source.

    The schedule I have set runs over Saturday and Sunday, not through the week. Therefore, when using the [joan-now-playing] short-code through the week the plugin shows:

    Up next: DJ Rix
    12:00 pm – 4:00 pm

    Well, on my schedule DJ Rix would not be playing until Saturday morning. So, it would be better for me if the plugin showed the day too, like this:

    Up next: DJ Rix
    Sat 12:00 pm – 4:00 pm

    I’ve tried adding the day to joan.js, but I’m struggling. Would you have a snippet of code that would enable me to do this please?

    Thanks.

    Dan.

Viewing 1 replies (of 1 total)
  • Thread Starter Bigint

    (@bigint)

    Also, line 36 on joan.js is missing a closing forward slash on <h3></h3>; so, it’s adding another h3 below. Should be:

    outputHTML += ‘<h3 class=”current-show”>’+currentShow+'</h3>’;

    Re: Original issue.

    For the minute I have got around the issue by adding the day to the Show title, like:

    Up next: DJ Rix (Sat)
    12:00 pm – 4:00 pm

    Thanks again.

    • This reply was modified 5 years ago by Bigint.
Viewing 1 replies (of 1 total)
  • The topic ‘Add Day to Output of [joan-now-playing] short-code’ is closed to new replies.