I am trying to: customize display of events
I visited this URL: hidden link
I expected to see: the description of the event, which I plan to customize with layouts
Instead, I got: the description showing up in the main post body where it belongs, and then again at bottom of page after footer
I have copied the following from my most recent reply on my other current support ticket, because they are really separate issues. Nigel is working on the other one, and should be assigned to this one, too.
The single event display is behaving oddly. Sample:
hidden link
As you can see here, the event content is showing twice, once where I expect it and again below the footer. I need to resolve that, and then do major restructuring of the content that is displayed. My Calendar support says:
===
So, what my filter checks, in order, are:
is_single()
in_the_loop()
is_main_query()
does $post->post_type == 'mc-events'
In order for the replacement to happen, all of these have to be true.
It really doesn't make a lot of sense for this to happen. The $post variable is pulled from global scope, so for that to happen is reasonable; but the check for 'is_main_query()' really shouldn't be returning as true in the footer post.
This seems like a bug in whatever is producing the footer data; it shouldn't be doing anything that causes that query to identify as the main query.
===
The event page is under control of a layout, so he's saying there's a bug in the toolset code, or else in the way I've applied it.
This is very urgent, the site is supposed to go live today and I still have to customize the event display once we get it not to show twice