Support

Home Forums Pre-Sales Event Espresso Header Output

Event Espresso Header Output

Posted: December 11, 2014 at 6:32 am

Viewing 8 reply threads


mttd

December 11, 2014 at 6:32 am

Hi,

Is there anyway to change the point at which EE outputs the divs it uses? I’m running in to a problem whereby I want to redirect a user to download the PDF based on a custom post type and I’m now unable to since installing EE as the headers are already started by the plugin…

Thanks,
TOm


mttd

December 11, 2014 at 6:40 am

I’ve just checked the raw HTML and I can’t believe what I’m seeing, but the plugin is outputting the divs PRE document loading…insane! How can this be changed or modified to hook on to, say wp_footer or another more sensible place?

<div id="espresso-notices"></div>
<div id="espresso-ajax-loading" style="display:none;">
<span class="ee-spinner ee-spin"></span><span style="display:none;">loading...</span>
</div>

<div id="espresso-ajax-notices">

<div id="espresso-ajax-notices-success" class="espresso-ajax-notices success fade-away" style="display:none;">
×
<p class="espresso-notices-msg"></p>
</div>

<div id="espresso-ajax-notices-attention" class="espresso-ajax-notices attention fade-away" style="display:none;">
×
<p class="espresso-notices-msg"></p>
</div>

<div id="espresso-ajax-notices-error" class="espresso-ajax-notices error fade-away" style="display:none;">
×
<p class="espresso-notices-msg"></p>
</div>

</div>
<!doctype html>


Dean

December 11, 2014 at 7:07 am

Hi,

That shouldn’t be happening. Running a test on a default WordPress theme shows the above HTML being created added within the < body > of the HTML.

What theme are you using?

Have you tried testing with a different theme just to double check? (the Them Test Drive plugin is very good for that).

Can you provide a link to the page in question?

  • This reply was modified 9 years, 11 months ago by Dean. Reason: typo


mttd

December 11, 2014 at 9:06 am

Aha, you saying that has just made me realise. I’m guessing it’s something to do with the fact I’m using Timber and Twig templates. Still odd though, will have to investigate further I guess! Thanks!


mttd

December 11, 2014 at 9:10 am

It’s all local at the moment so will have to investigate what’s happening with Timber.


mttd

December 12, 2014 at 4:45 am

Although having said that it’s only on one page, not throughout the site. It’s odd. Not too sure what’s causing it…


Dean

December 12, 2014 at 5:10 am

Without seeing the site it’s hard to say, and with little knowledge of Timber/Twig it might be even harder.

Have you tested with a default WordPress theme to see if the issue persists then? If it does then at least it points to your current theme as the likely issue.


mttd

December 12, 2014 at 5:21 am

Yeah for sure, it’s odd as it doesn’t appear on any other page, just on this CPT for some reason. Will try and get an external link up so you can see. Just trying to work through it all to see what the problem is.


Dean

December 12, 2014 at 5:37 am

OK, please keep us updated.

Viewing 8 reply threads

The support post ‘Event Espresso Header Output’ 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