Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter pokeandhopeblogger

    (@pokeandhopeblogger)

    How do I limit that by “week” or “number of days from now”?

    I’m just testing that. it’s showing me all events (back as far as 2011), so I’ll try to find the “future events” option to add into the mix.

    I think I’ve found the bit I need:

    scope
    Default Value: future

    Accepted Arguments : future, past, today, tomorrow, month, next-month, 1-months, 2-months, 3-months, 6-months, 12-months, all

    So I need to set scope=”1-months”
    It doesn’t look like a week, or a numgber of days, is legit…. although I’ll give it a whirl.

    Thread Starter pokeandhopeblogger

    (@pokeandhopeblogger)

    I’ve used the Region field in locations to input the first part of the UK postcode. My site is about one county, so about 12 postcodes. I’d hoped to use it to be able to generate a page of “Also near any one place are these other events” and by displaying events in one postcode part (typed into the region field), it’d work.

    And/or: All events in the AB1 Area:
    Using:
    [events_list region=”AB1″ scope=”1-months”]

    Although the dates are showing me the next month’s events, the region=”AB1″ part isn’t working as I expected.

    [events_list region=”AB1″ scope=”1-months”] gives me ALL events, without an end date.

    Thread Starter pokeandhopeblogger

    (@pokeandhopeblogger)

    I am starting to doubt I am using the same plugin, to be honest….. I am using shortcodes from here: https://wp-events-plugin.com/documentation/event-search-attributes/

    Is that the same plugin? I think I’m going mad trying to work it out ??

    And I just checked my plugins, I am using the plugin from https://wp-events-plugin.com/

    Am I even in the right forum? I thin I am, but the name keeps changing…. ??

    You’ve definitely got the right plugin, docs and forum ??

    The format you’re using…
    [events_list region="AB1"]
    …is also correct.

    That probably means there’s something up with the way you’re using your Regions. If you use the code format above – without the scope – what do you get?

    Thread Starter pokeandhopeblogger

    (@pokeandhopeblogger)

    Using [events_list region=”AB1″] gives me all events, all dates, for the part-postcode I entered in the region field.

    Looking at the list of results, it does seem to be only showing the events in the region/postcode I chose…. but without the scope it’s showing me every future date

    Or, to be clear: That code works, but I do need to limit the scope of how many it’ll show as I have some weekly clubs that meet weekly and some shows that go on for 3 months, which’d make for stupidly-long pages.

    Thread Starter pokeandhopeblogger

    (@pokeandhopeblogger)

    I think I have a breakthrough.

    Using the code:

    [events_list region=”AB1″ scope=”1-months”]

    Seems to be giving me the correct events (need to double check as I haven’t populated the region box for all locations yet in case it made no difference).

    So, events_list gives events correctly
    region=”AB1″ filters the correct regions
    scope=”1-months” however gives me everythng up to and including 31 August. So, not “1 month”, but “until the end of next month”.

    Not what I want, not ideal, but seems to be working. I need to do more testing on whether all events in any one region are pulling through.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry but is it working now?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I’m assuming yes, if not mark unresolved again!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘List of Events This Week’ is closed to new replies.