hey. I’ve just started creating custom headers with the header capability of X Pro. However, when I create a custom header, it disables the ethos post carousel. How do I keep the post carousel functioning normally above the headers?
Hello @Peter_Fae,
Thanks for asking.
Post Carousel is part of the Standard Header of X and Pro Theme. Using Pro Theme header builder essentially you are creating custom headers. When a custom header is designed using header builder, it will override the default features and functions of standard header that unfortunately includes Pro Carousel.
Thanks for understanding.
I understand, yet this feels like something that could be addressed by Themeco.
I offer this. What you are saying defeats the purpose of using Ethos. Surely Themeco can provide a fix to this so that the post carousel which is part of the basic functionality is not disabled by the added functionality of being able to design headers. In fact, it could simply be another container on the header builder.
As a temporary fix this until this is hopefully embraced as a reasonable design alteration by Themeco, what is the manner by which one would place a revolution slider or other replacement for the ethos post carousel in a container within a custom header?
Hi,
As temporary fix, you can try adding the code below in your child theme’s functions.php
file.
function add_carousel() {
x_get_view( 'ethos', '_post', 'carousel' );
}
add_action( 'x_after_view_global__slider-above', 'add_carousel', 10 );
That will add the carousel on top.
Hope this helps
Thank you and yet this does not seem to work. It doubles the post carousel on top (which was already present), yet when I engage the custom header, the post carousel continues to vanish.
help?
(p.s. totally unrelated to relative to our communications - what is the difference between ‘Reply’ and ‘Inline Reply’ here In the support dialogue, not sure which to use)
Hello There,
Sorry if it did not work. It should be added in a different hook. Please use this instead:
function add_carousel() {
x_get_view( 'ethos', '_post', 'carousel' );
}
add_action( 'x_before_masthead_begin', 'add_carousel', 10 );
A reply is to post a reply to the thread. An inline reply is a reply intended to a previous response of a person in the thread.
Hope this helps.
Yah that doesn’t work either. The first bit of code doubles it up but doesn’t show it when the custom header is engaged, and the second bit of code does nothing at all.
I did some custom code for carousel a while back in the Custom CSS yet that was only to remove it on the front page (which I’d actually like to figure out how to undo).
Regardless, here’s the test page --> https://intothemythica.com/header-test/
Do you need FTP access to look around? (I have hopes that this can be adjusted for it would truly enhance the design for the People who I’m striving to serve )
Hi there,
The first code will not work if Pro header is active, it will only work if the standard header is active. The second code should work, but please try this one
function add_carousel() {
x_get_view( 'ethos', '_post', 'carousel' );
}
add_action( 'x_after_site_begin', 'add_carousel', 10 );
Them please provide your FTP credentials in case we need to directly check it.
Thanks!
Yah no dice. Still not working. I’m going to include the FTP login in a secure note.
This is what wants to happen - As said, I want to be able to create custom headers within the system that also allow the carousel to be seen. This way the carousel can show up all throughout the site as normal, yet I can also create and assign headers to different bits of the site relative to my concept.
Hello There,
The sftp details is not working for us. We are always disconnected using the details. Please double check it.
Meanwhile, make sure that you added the code in the correct child theme’s functions.php file as we have tested it in our local server and it worked for us.
Please let us know how it goes.
Weird. I tested the login and it worked. Sorry about that. And, I will try the previous code again. Perhaps I made a mistake .
Okay. I put the code in the child theme and it doubles up the carousel when I don’t have the header turned on.
yet, when I turn the header on, I get no carousel. still.
regardless, with the code installed, here, see how it’s not functioning -->https://intothemythica.com/witnessing-the-wonder-2/
Also, when I tried to login with the credentials using the IP address for FTP, it worked. Confusing.
See –
same password from the secure note
Hi there,
Unfortunately, the Post Carousel is not available if you use the Pro Header Builder, none of the codes above will work, I checked them personally one by one on my local installation. The whole view of the Posts Carousel cannot be loaded in Pro Header Builder.
We certainly appreciate the feedback! This is something we can add to our list of feature requests. This way it can be taken into consideration for future development. All of these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive.
Thank you.
Thank you so much. I was holding off on sending people to my site whilst wondering if this was going to work or not.
And I appreciate the recognition of my feedback, truly. I * adore * the X-Theme (which, like Mystique of the X-Men, can shapeshifter into other themes). It just didn’t make sense to me that Ethos has the beautiful post carousel and then the added functionality of the header would displace it. Either way, I appreciate that I KNOW to just stick with what I’ve got 'cause it actually makes less work for me I the short-term.
cheers
You’re welcome, Peter.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.