• Resolved Ed W

    (@ewilkes)


    I have been using the Upcoming Events widget with this template:
    {dtstart format=”M. d”} – {linking_title} {city before=” (” after=”)”}

    I am trying to duplicate this layout within the body of my content and have, thus far, been unable to do so. I’ve tried using the ‘My Calendar Shortcode Generator’ and placed that format in the Template field.
    I get the following shortcode as a result:
    [my_calendar template=”1e5b6a69a118859dfd1a652041181ac1″ before=”0″ after=”5″ show_today=”yes” type=”event” order=”asc”]
    The resultant content is still an actual calendar where I want only a list, formatted as it looks in the widget.

    Is this possible, am I missing something?

    • This topic was modified 6 years, 8 months ago by Ed W.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    How did you generate that shortcode? The my_calendar shortcode doesn’t have most of those attributes; though the my_calendar_upcoming shortcode does.

    This seems like what you’re looking for:

    [my_calendar_upcoming template=”1e5b6a69a118859dfd1a652041181ac1″ before=”0″ after=”5″ show_today=”yes” type=”event” order=”asc”]

    Thread Starter Ed W

    (@ewilkes)

    Hey, Joe….

    I generated it using the Upcoming Shortcode Generator. It doesn’t, for some reason, throw in the ‘upcoming’ part whenever I generate a shortcode. I’ll give yours a shot. Thanks!

    Thread Starter Ed W

    (@ewilkes)

    Joe,

    Adding “_upcoming” to the generated code did the trick! I don’t know why my installation isn’t differentiating between the Main, Upcoming, and Today formats but, now that I know that I can easily add the value manually…I’m good to go! Thanks for the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mimic widget format in content?’ is closed to new replies.