WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
Displaying All Days in List (2 posts)

  1. FredrixDesign
    Member
    Posted 1 year ago #

    I love the plugin! I just have a question.

    I'm creating a line of days in a month on the frontpage using the shortcode format=list. Since I'm creating a line of days, I'd like to display ALL days in a month - not just the days with an event attached, but also the once without an event. So how would I be able to display 1, 2, 3 ... 29, 30?

    Thanks,
    - Frederick Andersen

    http://wordpress.org/extend/plugins/my-calendar/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    This requires a code edit. On line 885 of my-calendar-output.php, change:

    if ( $event_output != '' )

    to

    if ( 1=1 )

    The original is a check to only display the list item if the event has data. You're simply negating that check, and the output will show for every date.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic