• Resolved ingozoell

    (@ingozoell)


    Hi,

    I’d like to show only my current events on top of my sidebar.

    Example:

    My Events:
    – item
    – item
    – item
    – …

    If currently no events, then it should look likes:

    My Events:
    “Sorry, but no events at the moments”

    Is this possible.
    I use your shortcode [custom-facebook-feed]

    Thanks
    Ingo

    https://wordpress.org/plugins/custom-facebook-feed/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hey Ingo,

    Try adding something like this to the plugin’s Custom JavaScript section (Customize page > Misc tab > Custom JavaScript) and let me know whether it works for you:

    if( $('#cff .cff-item').length < 1 ) $('#cff').append('<p>Sorry, but no events at the moments</p>');

    John

    Thread Starter ingozoell

    (@ingozoell)

    Hi John,

    works fine, nice.

    Thanks
    Ingo

    Plugin Author smashballoon

    (@smashballoon)

    Awesome, glad to hear that. Happy to help!

    John

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show message by no events’ is closed to new replies.