There I have two types of events:
1. weekly classes (e.g. each „Monday“)
2. special events on a specific date (e.g. „2017 07 27“)
For both I will have a Custom Post Type.
1. weekly class: the day will get a select field (or radiobuttons) for selecting the weekday.
2. special event: will have a date field
What I would like to achieve:
Displaying today´s events on the homepage.
Like for example:
What´s up today: (= e.g. Wednesday, 2017 06 28)
– Regular Class Nr 1, 10am (which is on each Wednesday)
– Special Event XY, 2pm (which is only on 2017 06 28)
– Regular Class Nr 2, 4pm (which is on each Wednesday)
So I need to create a view which is able to get:
a) todays weekday and display only posts with the current weekday-value
b) check todays date and display only posts of that date
… sorted with the time information (which simply could be a single line field for both I guess)
So, that´s it.
Would be so great if you could give me some advise.
Hello. Thank you for contacting the Toolset support.
I will try to help you to achieve exactly what you are looking for but I need to review your structure how you store your content and with which post types.
Is it possible for you to send me temporary access details so that I can review your current setup?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
thanks VERY MUCH! for offering to deal with my request in that detail!!! 🙂
For now I was able to create a solution by myself – not with one single view but with two views (one for the weekly classes and one for the special events) – which turned out even better for the client. So for now, my issue is kind of resolved.
But again: I appreciate very much that you offer so much help! This is really great!
Bye for now and all the best!
Manuel
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.