Simple Events Calendar
[resolved] Events Short Code for sidebar Widget (4 posts)

  1. mdspaula
    Posted 3 years ago #

    I have the [events] code on a Page and it works fine. Is there any way to get the calendar listing to work in a sidebar Widget? (When I use the [events] short code it doesn't work - it just displays '[events]' and not the calendar listing. Am I doing something wrong?)


  2. Yusri Mathews
    Posted 3 years ago #

    I am also looking for this shortcode as I am facing the same problem. [events] only works on a post or page!

  3. mdspaula
    Posted 3 years ago #

    I wanted the [events] to work in a sidebar widget. So I searched for the answer at the developer's site and discovered you have to add some short code to your functions.php file. and then the [events] in the sidebar widget works.
    Add the [events] to your sidebar widget then . . .
    Add this to your functions.php file:
    //Simple Events Calendar function to display Calendar in Text Widget Sidebar
    add_filter('widget_text', 'do_shortcode');
    That should do the trick - it worked for me. :<)

  4. Jerry G. Rietveld
    Plugin Author

    Posted 3 years ago #

    Hi mdspaula and iammathews,

    Thanks for explaining the process for adding the Simple Events Calendar plugin to the sidebar mdspaula. I will try to add this options to the plugin so you don't have to add any code to the functions.php file anymore.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic