• Resolved yndigot

    (@yndigot)


    Is there a way to be able to search by a specific date in the dashboard?

    The options include showing all events today, tomorrow, next month, and there seems to be a way with PHP to create a custom range, but typing a date into the search bar does not return events on that date, and there is no way to select a date and see only events on that date if it is not “today” or “tomorrow”.

    We need to be able to pull up all events on a certain date (for example, Christmas day) several months in advance to edit or delete them all, and we have hundreds of events in our system, so going to each event one by one is incredibly tedious and time consuming when there ought to be a way to search for “everything on 25 December” and pull them all up at once.

    https://wordpress.org/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Sorry, at the moment the only option would be to create a custom date range with PHP:

    http://wp-events-plugin.com/tutorials/create-your-own-event-scope/

    Thread Starter yndigot

    (@yndigot)

    I saw that, but it looks like it would require someone to edit the PHP each time you wanted to change the scope and that it might be difficult or impossible to pull specific dates rather than dates relative to today’s timestamp. Is that correct?

    If that’s true, then unfortunately it’s not a viable workaround for our purposes, but thank you for the answer.

    It should be possible to use a “dynamic date”, meaning it looked for Dec 25th last year, for example.

    That would mean once created wouldn’t need updating every year.

    I am not sure if this will help you…

    Go into your “dashboard”.. that is Events page where it shows all your listed events.

    Now look up at the URL in your browser.. it should look something like this…
    ….wp-admin/edit.php?post_type=event
    now add this to the end for your date…
    &scope=2015-12-25

    thus.. ….wp-admin/edit.php?post_type=event&scope=2015-12-25
    and hit enter.. it should work (works for me).

    If maybe you wanted to search specific categories… use the drop down box for the category… pick any “scope” in the box… hit filter.
    Then go up in the browser URL and change the scope to the date you want… hit enter.

    I tried a range of dates but it doesn’t seem to work in a “URL”.
    ie 2015-12-25,2015-12-31

    You could use your Events Search Form if you have one for a range of dates… but you can’t bulk edit that list.

    Thread Starter yndigot

    (@yndigot)

    Robswaimea — it would be great to have a solution without directly altering the URL, but that’s an AMAZING work around and pulls up just the data we need. I imagine it will be a little difficult to get my less tech literate colleagues to understand it right away, but it’s so much simpler than deleting things one by one, so I’m hoping they’ll be motivated to learn.

    It’ll certainly make MY life easier.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Search by date in dashboard’ is closed to new replies.