Support » Plugin: Jock on air now » Now Playing is blank.

  • I just installed Joan, and the schedule/today shortcodes work and display just fine. The Now Playing one … does nothing. I’m pretty sure there is some code missing from the plugin file – here is the function for the joan-now-playing shortcode:

    function showme_joan(){
        $output = '<style>'.get_option('joan_css', '').'</style>';
        $output .= '<div class="joan-now-playing"></div>';
        return $output;
    add_shortcode('joan-now-playing', 'showme_joan');

    As you can see, it simply outputs an empty div. There isn’t even code there to query the database like the other functions do. Plugin was installed 11/1/2017, from within the dashboard.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ganddser


    I cannot imagine what would cause this error right after installation we use the now playing shortcode on all our sites running JOAN and it works fine. But when the developer comes back to work next week he’ll take a look.

    It’s fine for my purposes, I reworked the code somewhat anyway to integrate with an XML music feed I already had built. Just thought I’d report it here in case there was an error with the files that were uploaded and it affects others who may not be comfortable with PHP. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Now Playing is blank.’ is closed to new replies.