Posted: April 12, 2018 at 3:41 pm
|
I was reviewing your post (https://eventespresso.com/topic/ee4-missing-page-titles/) from 2015, but I am not able to find the header.php file you reference in your response. Wondering if the files may have changed? I am also using X Theme with the Ethos stack. I wasn’t sure if this is the file that needs to be modified: VIEWS/ETHOS/_CONTENT-POST-HEADER.PHP If so, could you help modify the code for me so the event titles appear? Here’s a link to one of the events without a title: https://www.watsoncaringscience.org/events/international-caritas-consortium-icc-2018/ Thank you! |
Hi Jean, We’ll need an updated copy of the theme you’re working with because that’s the code that will be modified. Is there a place we can download the theme from? |
|
|
can I send you a zip file? |
We’ve actually found that emailing attachments that consist of large zip files (like most themes from Themeforest) exceed the email service’s limits. A more reliable way is a dropbox link. You can post that link here or email it to |
|
|
I just sent it via email. Thank you! |
Hi Jean, The above file is the correct file, however, on your site that template is not being called. I can see you are using x-child, does that child theme already have a copy of the above file within it? If so what are the contents of that file? |
|
|
There are no files in that framework/views folder in the child theme, they are all empty. |
Hmm, so I think there’s a setting I’m missing in X somewhere then. Here’s one of my test sites with X, using Ethos stack and viewing an EE event – http://take.ms/vies2 The ‘Tony’ text above the event title is just me adding some text to Do you know of a setting used to disable the header/meta content of a post? |
|
|
There is a setting in Theme Options, Blog, Content called “Post Meta” – but that setting impacts the post’s author, category and date underneath the blog title – which I currently have set to “off”. I did test it, just in case it impacted the titles on the event pages but it didn’t. |
Ok, the version of X that you sent to us, is that the version from your site, or is that the fresh version you downloaded from Themeco? Have you edited any of the template files on the version in use on your site? I went through the Ethos stack template files and confirmed that they should be loading the header without any settings (as far as I can tell they should be). The call should be in It should have something like this:
Towards the bottom of the file, does your template have that? |
|
|
Yes, that is the same version I am using on my site. I have not edited any of the template files. Yes, that is the same code I have in the bottom of the file. |
I think I’ve found the cause, on the event itself, have you set the template to use ‘Layout – Fullwidth’ – http://take.ms/CXy6e If so, that’s why as it’s a page template and doesn’t load the header. If using that setting can you temporarily switch it to use the ‘Default template’ and see if the title loads then. |
|
|
Yes, the title does load on Default Template. However, I would like to use the full layout. Any suggestions? Nice discovery, by the way! |
Here’s one way that I found, and if it seems a little convoluted, that’s because it is and you might want to contact X theme support, they may have a more elegant solution: 1) You add the following folder structure to your child theme: Side note, your folder structure in the child theme will look like this: |
|
|
Thank you Josh, I really appreciate your time with this. I will give this a try and contact X support as well and see what they say. Many thanks! |
|
Hi Josh – just wanted to let you know that X confirmed your approach. This is what they said: The provided instruction is correct since Ethos page titles are part of the landmark templates. And since landmark template isn’t integrated with other post types then yes, it’s the only way. And this one should fix all titles regardless of post types <?php elseif ( is_page() || is_singular() ) : ?> Thanks again for your help with this, I appreciate it! |
Thank you for keeping us updated, Jean 🙂 Any further problems please let us know. |
|
The support post ‘Event Titles Missing from Event Pages in EE4’ 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.