WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] Short code attributes: lvalue / ltype (3 posts)

  1. swissmade
    Member
    Posted 7 months ago #

    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/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 7 months ago #

    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.

  3. swissmade
    Member
    Posted 7 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.