Title: Create custom views?
Last modified: December 28, 2021

---

# Create custom views?

 *  [aezzell2020](https://wordpress.org/support/users/aezzell2020/)
 * (@aezzell2020)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/create-custom-views/)
 * I’ve been looking at the FullCalendar documentation, and am wondering if it’s
   possible with this plugin to display custom views.
 * For example, a list view that starts on the current day and covers the next 10
   days.
 * I tried a couple things using the FullCalendar configuration, but nothing worked,
   so either I’m totally off base (always a possibility) or it’s not possible within
   the confines of the plugin.

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

 *  Thread Starter [aezzell2020](https://wordpress.org/support/users/aezzell2020/)
 * (@aezzell2020)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/create-custom-views/#post-15256089)
 * Still looking for an answer to this. Displaying the current week’s worth of events
   starting on Sunday isn’t terribly useful if you look at the calendar on Friday
   or Saturday.
 * Hoping that it’s possible and that I’m just missing something.
 *  Thread Starter [aezzell2020](https://wordpress.org/support/users/aezzell2020/)
 * (@aezzell2020)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/create-custom-views/#post-15256138)
 * I dug around some more in the plugin documentation, and found this.
 * [https://michielvaneerd.github.io/privategooglecalendars/examples/#calendar-view-title-and-buttons](https://michielvaneerd.github.io/privategooglecalendars/examples/#calendar-view-title-and-buttons)
 * >  It’s also possible to specify today as the first day:
   > [pgc first_day=”+0″]
   > Or yesterday:
   > [pgc first_day=”-1″]
   > Or tomorrow:
   > [pgc first_day=”+1″]`
 * I was able to add
 * >  “first_day”: “+0”
 * to the JSON config for the widget and start the listview today. The first couple
   times I tried it, it didn’t seem to have worked. Probably a caching issue is 
   my guess.
 * So now I have it partially working the way I would like: I can start the list
   of events on the current day, but **I don’t see any way to display events past
   the end of the current week in the listWeek view**.
 *  Plugin Author [michielve](https://wordpress.org/support/users/michielve/)
 * (@michielve)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/create-custom-views/#post-15257338)
 * “I don’t see any way to display events past the end of the current week in the
   listWeek view.”
 * I’m not sure if this is possible, but if it’s possible it has to be a FullCalendar
   setting. I think FullCalendar listWeek always displays 7 days.
 *  Thread Starter [aezzell2020](https://wordpress.org/support/users/aezzell2020/)
 * (@aezzell2020)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/create-custom-views/#post-15261379)
 * I went into lib/fullcalendar4/list and edited the main.min.js file to change:
   `
   listWeek:{type:"list",duration:{weeks:1}` to this: `listWeek:{type:"list",duration:{
   days:10}` and that (along with setting “first_day”: “+0”) accomplished what I
   wanted to do: [https://new.phoenixuu.org/connect/calendar/](https://new.phoenixuu.org/connect/calendar/)
 * I realize that editing the code for the plugin that way leaves us in the position
   of having my changes overwritten if the plugin updates, and doesn’t allow someone
   to decide they want to display 14 days instead of 10 without editing the code,
   so I’m still looking for a way to change that setting in the JSON config.
 * Do you know if that’s possible?
 * Thanks.

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

The topic ‘Create custom views?’ is closed to new replies.

 * ![](https://ps.w.org/private-google-calendars/assets/icon-256x256.png?rev=2203549)
 * [Private Google Calendars](https://wordpress.org/plugins/private-google-calendars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/private-google-calendars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/private-google-calendars/)
 * [Active Topics](https://wordpress.org/support/plugin/private-google-calendars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/private-google-calendars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/private-google-calendars/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [aezzell2020](https://wordpress.org/support/users/aezzell2020/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/create-custom-views/#post-15261379)
 * Status: not resolved