WordPress.org

Ready to get started?Download WordPress

Forums

Simple Events Calendar
[resolved] There are no events to display (6 posts)

  1. amaslinphoto
    Member
    Posted 1 year ago #

    I've added code [events] to my age and it comes up with There are no events to display even when there should be

    Can you help?

    http://wordpress.org/extend/plugins/simple-events-calendar/

  2. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 1 year ago #

    Hi amaslinphoto,

    My guess is that the event date and/or time lies in the past already. In that case events are automatically hidden. Try adding age=all to the shortcode and see if that fixes it.

    Cheers,
    Jerry

  3. amaslinphoto
    Member
    Posted 1 year ago #

    Ahhh I didn't change the end date!

    Is there anyway to get this as a widget as well??

    Thanks

  4. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 1 year ago #

    Yes there is, but that does require you to dive into your template's code a bit! If you're comfortable with that, continue reading: It's not a native feature of the plugin yet, but you can enable shortcodes inside the Text widget by adding the following line to your theme's

    functions.php
    file:

    add_filter('widget_text', 'do_shortcode');

    Now add the Text widget to your sidebar and add the shortcode inside the text field. Save it and done!

  5. amaslinphoto
    Member
    Posted 1 year ago #

    Where abouts in functions.php do i add it?

  6. amaslinphoto
    Member
    Posted 1 year ago #

    Ahhh don't worry got it! Anyway to change font size and colour? thanks!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic