Hi there!
Thanks for getting in touch–sorry to hear you’re having trouble here!
Are you using the default single event template without modifications, or have you applied any customizations to that template? If you’re using our stock templates, you might consider taking a look at our Themer’s Guide, which provides plenty of information on modifying our templates and is likely to be the quickest route to getting your pages looking just the way you want them. 🙂
Let us know if you should continue to have any issues, and we’ll see what we can do to help!
Thank you for getting back to me. I have been using a customized template using the instructions from the Themer’s Guide. I am working locally, so unfortunately I can’t send you a link directly to the site for you to see, but I have linked a couple screenshots to better explain what problem I am having. In the first image, there is an element at the top with “Calendar” which is correct. This is using the template file “page_calendar.php”. In the second image, the element at the top with “Calendar” remains, which I don’t want. It is using the “[my-theme]>tribe-events>single-event.php” file. I don’t see anything in the code that is causing it to keep this element, so I am assuming it is something with the file heirarchy. What can I do so that “single-page.php” does not keep the top element from the calendar page?
https://drive.google.com/open?id=0B6-Q_wickW4IRHh3eldJbkhCblk
https://drive.google.com/open?id=0B6-Q_wickW4ITk1xcTBDdjFueWs
Hi again!
Thanks for providing some images and a bit more context for your issue! Unfortunately, having your site install on a local server does make troubleshooting a bit more challenging, but I’ll do my best to help out here! 🙂
If you’ve been able to isolate where the code for your header image is originating (perhaps in your header.php file?), you can enclose that portion of code in an if statement to ensure that it only displays on the main calendar page. Here’s some code you can try:
if(tribe_is_month() && !is_tax()) {
[header image code here]
}
This can also be applied anywhere else in your template files where you’d like to designate content for your main calendar page only.
I hope that helps! Let me know if you should have questions or concerns as you go!
That works perfectly! It’s exactly what I needed. Thank you!
Hey glad to see the issue is now resolved 🙂
I’m marking this topic as resolved, if you need help with anything else please create a new thread and we will be happy to assist you.
Cheers and happy Friday!