Support

Home Forums Event Espresso Premium Genesis and Event Espresso

Genesis and Event Espresso

Posted: November 7, 2012 at 1:33 pm


Suhaib Siddiqi

November 7, 2012 at 1:33 pm

I have a strange behavior. I am using Genesis Framework and Decor Child theme. I am displaying the Calendar at the /events/events-calendar page and Calendar widget in the left side bar. However, since Genesis child themes pages and post are highly widgetized, I must have Calendar widget in the sidebar, otherwise Calendar will not display on the /events/events-calander page. When, I go to /events/events-calendar page, the Calendar widget from side bar will disappear and show Calendar in the contents area of the post/page. Very strange behavior. Here a link to site if wish to take a look at it http://www.bostondesiconnection.com


Jonathan Wilson

November 7, 2012 at 1:56 pm

Hello,

In the calendar widget, you need to either add the Page ID, or the page name “events-calendar” to the Calendar Page field.


Suhaib Siddiqi

November 7, 2012 at 2:09 pm

Jonathan, I did, but to display Calendar at http://bostondesiconnection.com/events-calendar/, I must have Calendar widget in the sidebar. Is that not strange?


Suhaib Siddiqi

November 7, 2012 at 2:19 pm

Jonathan, I did, but to display Calendar at http://bostondesiconnection.com/events-calendar/, I must have Calendar widget in the sidebar. Is that not strange?

DUPLICATE MESSAGE BY MISTAKE SORRY…


Josh

  • Support Staff

November 7, 2012 at 2:23 pm

Hi there,

Is the [ESPRESSO_CALENDAR] calendar shortcode entered on this page:
http://bostondesiconnection.com/events-calendar/

The calendar page needs to have a calendar shortode on it.

Also, the calendar can only be displayed once on the page, so when configured correctly, the calendar widget will not appear on the calendar page.

There are more calendar shortcode options in the calendar documentation:
https://eventespresso.com/wiki/calendar/


Suhaib Siddiqi

November 7, 2012 at 2:36 pm

Josh, Yes [ESPRESSO_CALENDAR] is entered. If I remove the Calendar Widget then Calendar will not show on the page, even with shortcode [ESPRESSO_CALENDAR] on the page/post. It is a strange behavior.


Josh

  • Support Staff

November 8, 2012 at 8:14 am

Hi Suhaib,

I’ve installed the same theme on my test site and cannot reproduce this:

http://bit.ly/VHHGeQ

So it’s not an issue with Genesis, it’s likely a plugin. Unless of course there’s been some modifications made to this theme, but out of the box the calendar is displaying as expected. Note that the calendar on my test site is displaying the full calendar controls and the q-tips. It’s not the widget version.

If you take a look at the source of the page, you’ll see that in the section of the page that loads up the JavaScript for the calendar, there are paragraph tags for each new line, which is breaking the full calendar. So what’s happening is the calendar shortcode output is being auto-formatted with paragraph tags by a function somewhere.

You could try wrapping the calendar shortcode with [raw] tags as a quick fix, but in this case I’m not certain that will work as it’s not a theme issue.

I would then suggest as a next step to deactivate plugins one by one to rule out a plugin conflict.

Typically this is a theme issue where the theme has a function that’s removing core WordPress content filters. It’s a common issue, and you can read more about it here:
http://theandystratton.com/2011/shortcode-autoformatting-html-with-paragraphs-and-line-breaks


Suhaib Siddiqi

November 8, 2012 at 11:33 am

Josh, thanks for looking into it. Your Calendar page is on full-width page. Have you tried the template with left and right sidbars, like my page. In my case if I display Calender looks like yours if I use a full-width page display, and other pages display and look like yours with right sidebar. I am using a page with right and left sidebar.

I understand, it could be a theme issue. I am OK with the way it behave, as I tried several other Event management plugins, most of them broke on Genesis child themes. At least Event Espresso works, albeit Calendar issues.


Suhaib Siddiqi

November 8, 2012 at 11:59 am

Also, the are not causing the problems. The are being added by WordPress. WordPress is known to do it sometime. It is easy to fix. I added
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );

to my functions.php. The extra are there any more but the issue remains.


Josh

  • Support Staff

November 20, 2012 at 5:58 pm

I did try it with the other sidebars and couldn’t replicate it, so I don’t think it’s a theme issue, but rather a plugin issue. WordPress isn’t adding the paragraph tags either, or the same would be happening on my test site. Have you tried deactivating plugins?


Suhaib Siddiqi

November 20, 2012 at 7:02 pm

Thanks, let me troubleshoot plugins. For now everything is working except Calendar issue.


Suhaib Siddiqi

November 21, 2012 at 9:11 am

Hi Josh,
You can close this ticket. It was not plugins conflicts either. I inserted php code for calendar into template and all is fine.

The support post ‘Genesis and Event Espresso’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso