Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #42062
    Anonymous
    Inactive

    I am prepared to do this using $wp->query, but before doing so need to know if it’s already possible out-of-the-box.

    Scenario: Multiple events fall on same day.

    Desired formatting:

    [Event Date]
    [Event #1]
    [Event #2]
    [Event #3]

    [Event Date]
    [Event #1]
    [Event #2]

    Is this available via the plugin directly, or should I just run manual queries?

    #44595
    Franky
    Keymaster

    If it is for specific dates, you can always use the [events_list] shortcode. Use multiple statements of this format on the same page:

    [events_list YYYY-MM-DD]

    eg.

    On 2010/09/05
    [events_list 2010-09-05]

    On 2010/09/07
    [events_list 2010-09-07]

    But if you want it automatically for all events: not possible for now

    #44596
    Anonymous
    Inactive

    Don’t mean to be a smart-ass, but of course I want it automatically….If I didn’t I wouldn’t be using the plugin. 🙂

    Thanks for the reply, I’ll go ahead and code it up.

    #44597
    Franky
    Keymaster

    Yeah, I figured you wanted it automatically 🙂

    #44598
    Franky
    Keymaster

    Hi,

    I implemented this now in the trunk version, as a new parameter to the [events_list] shortcode:

    [events_list showperiod=daily]

    or

    [events_list showperiod=monthly]

    #44599
    Anonymous
    Inactive

    Hi

    I’m using version 3.1.3 and (like Moxie) I would like this layout

    [Event Date]

    [Event #1]

    [Event #2]

    [Event Date]

    [Event #1]

    [Event #2]

    But when I use “[events_list showperiod=daily #_TOWN #_LINKEDNAME ]“

    this is the result:

    2010/09/23

    23 Sep 2010 – Göteborg

    Eventnamn: Bok & Bibliotek 2010 Kategori: #_CATEGORY

    2010/09/28

    28 Sep 2010 – Stockholm

    Eventnamn: Intern kommunikation 2010 Kategori: #_CATEGORY

    28 Sep 2010 – Mölndal

    Eventnamn: Sociala Medier och Affärsnytta Kategori: #_CATEGORY

    1. How do I get rid of “#_CATEGORY” ?

    2. Why id the date shown at the events ? (ie “28 Sep 2010”)?

    (When I have not used the shortcodes for date and year)

    3. Can I format the date shown first ? ( ie “2010/09/23”)

    #44600
    Franky
    Keymaster

    The formatting codes (these starting with #_) are not to be used as arguments in the shortcodes; and are ignored. In your case this will result in: [events_list showperiod=daily]

    And for the other info: see the format settings (“Default event list format” in your case)

    Please do read the documentation on how to use the shortcodes and the formatting codes.

    And for #_CATEGORY: doesn’t exist, it is “#_CATEGORIES”

    #44601
    Anonymous
    Inactive

    1. Category: My mistake – i’ve written the wrong thing in “Default event list format”

    2. ‘Double dates”: I removed “#j#M#Y” from “Default event list format” – and it worked :o)

    3. I’m reading on – and trying to get ‘the rigth look’

    Thank you for the help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top