{"id":402,"date":"2009-09-10T20:15:01","date_gmt":"2009-09-11T02:15:01","guid":{"rendered":"http:\/\/websitedesign.www.websitesinaflash.com\/?p=402"},"modified":"2009-09-10T20:15:01","modified_gmt":"2009-09-11T02:15:01","slug":"wordpress-events-calendar-plugin-h2-bug","status":"publish","type":"post","link":"https:\/\/www.websitesinaflash.com\/2009\/09\/wordpress-events-calendar-plugin-h2-bug\/","title":{"rendered":"WordPress Events Calendar Plugin H2 Bug"},"content":{"rendered":"

I just installed WP Events Calendar (6.6-beta) for the first time and installed the large calendar on a page.<\/p>\n

For some reason, the Month of the Calendar was an<\/p>\n

and I couldn’t find the “Previous Month” and “Next Month” buttons. That is because there is an <H2><\/em> before the table that houses the months…<\/p>\n

You can edit the HTML of that section aroun line 400 of “events-calendar\/ec_calendar.class.php” Here’s what I did.<\/p>\n

Before:<\/h3>\n

<h2 style=\"text-align:center;\">
\n<table id=\"CalendarLarge-Header\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">
\n<tr>
\n<td width=\"25%\"><div align=\"left\"><span id=\"EC_previousMonthLarge\"><\/span><\/div><\/td>
\n<td width=\"50%\"><div id=\"EC_current-month\" align=\"center\"><div id=\"EC_ajaxLoader\"><img src=\"$ajax_loader\" \/><\/div>$titMonth $year<\/div><\/td>
\n<td width=\"25%\" align=\"right\"><span id=\"EC_nextMonthLarge\"><\/span><\/td>
\n<\/tr>
\n<\/table>
\n<\/h2>
\n<\/code><\/p><\/blockquote>\n

After:<\/h3>\n

<table id=\"CalendarLarge-Header\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">
\n<tr>
\n<td width=\"25%\"><div align=\"left\"><span id=\"EC_previousMonthLarge\"><\/span><\/div><\/td>
\n<td width=\"50%\"><div id=\"EC_current-month\" align=\"center\"><div id=\"EC_ajaxLoader\"><img src=\"$ajax_loader\" \/><\/div><h3>$titMonth $year<\/h3><\/div><\/td>
\n<td width=\"25%\" align=\"right\"><span id=\"EC_nextMonthLarge\"><\/span><\/td>
\n<\/tr>
\n<\/table><\/code><\/p><\/blockquote>\n

I just took out the <h2> and added an <h3> around the $titMonth $year<\/code><\/em>. You can edit it as you wish.<\/p>\n

Enjoy,
\nAshton Sanders<\/p>\n","protected":false},"excerpt":{"rendered":"I just installed WP Events Calendar (6.6-beta) for the first time and installed the large calendar on a page. For some reason, the Month of the Calendar was an and...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[39],"tags":[],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/posts\/402"}],"collection":[{"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/comments?post=402"}],"version-history":[{"count":0,"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/posts\/402\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/media?parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/categories?post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.websitesinaflash.com\/wp-json\/wp\/v2\/tags?post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}