WordPress.org

Support

Support » Plugins and Hacks » My Calendar » [Resolved] Short code attributes: lvalue / ltype

[Resolved] Short code attributes: lvalue / ltype

  • Hi,

    I just try to use this plugin and I would like to display on a page just the events for a specific location and if I understood it correctly, I need to use the short code lvalue / ltype?

    So I created a new page and added:

    [my_calendar format=”list” above=”nav” time=”day” lvalue=”Training”]
    tried as well:
    [my_calendar format=”list” above=”nav” time=”day” ltype=”Training”]

    Anyway, it still displays events for all locations.

    I hope I am doing it right, I am completely new to this 🙂

    Thanks,
    Michael

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    @joedolson

    It needs both an ltype and an lvalue. The ltype is what location field you’re limiting by, the lvalue is what value that field should have.

    This two field system allows you to narrow by a wide variety of possibilities.

    [my_calendar format=”list” above=”nav” time=”day” ltype=”name” lvalue=”Training”]

    “Name” is the Location name field.

    Thanks a lot for your answer, now I got it to run 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Short code attributes: lvalue / ltype’ is closed to new replies.
Skip to toolbar