Q:

Adding custom month buttons to FullCalendar

I'd like to be able to add a row of buttons across the header of the calendar that displays the months of the year, and when clicked, takes you to that month in month view.
I've tried and failed to to add this using views. In this example I want the calendar to skip to January:
views: {
    january: {
            type: 'month',
            duration: { months: 1 },
            start  : '2016-01-01',
            end: '2016-01-31',
            buttonText: 'January'
            }
        },

Anyone any ideas? Is there a better way to do this?
Thanks!

A:

Try this..
This will add button to the right when the page loads. write this inside ready function.
$('.fc-right').find('.fc-button-group').after("<input type='button' value='january' onclick='gotoJan();'");

Then inside the function.
 function gotoJan() {
        $('#calendar').fullCalendar( 'gotoDate', '2014-01-01');
 }

