I'm using the ACF (Advanced Custom Fields) and selected the date picker.
I'm wondering if anyone has created a simple calendar plugin that can grab the field and produce a calendar. How should I do that?
|
I'm using the ACF (Advanced Custom Fields) and selected the date picker. I'm wondering if anyone has created a simple calendar plugin that can grab the field and produce a calendar. How should I do that? |
||||
|
|
I don't know any plugin like this. Anyway, you should provide specific information of what kind of calendar you want. By general means, For example, to generate a day listing of the current month with a highlighted date from the custom field, you would do something like:
Note: the above code is not tested. |
|||
|
|
|
As @Vincius mentioned above, I don't think anyone has created a full-blown calendar with ACF and ACF alone. But - that doesn't mean you can't plug into other Event Calendars (or --> attach the ACF data onto their Events post type). For example:
But, if you use the second example and just add-on additional data you need, every decent event plugin will allow you to override the respective views for each area - and you can then use normal ACF functions to output your data. Thanks! |
|||
|
|