Tagged: x
-
AuthorPosts
-
March 9, 2017 at 7:19 am #1400477
Hi X-THEME,
Is there a way to get headers on on the blog and blog posts please?
Many thanks in advance,
CMSI
March 9, 2017 at 7:41 am #1400504Hi There,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
March 10, 2017 at 4:57 am #1401751This reply has been marked as private.March 10, 2017 at 8:40 am #1401929Hi There,
When you refer to headers are you refering to the slider above the masthead?
Please clarify.
Thanks
March 14, 2017 at 5:33 am #1406190Yes, that’s correct. We wanted to add a slider header to the blog posts.
Many thanks in advance.
March 14, 2017 at 7:26 am #1406297Hi,
To achieve that, you can add this in your child theme’s functions.php file.
function add_my_slider(){ if(is_home() || is_singular('post')){ echo do_shortcode('[rev_slider alias="top-slider"]'); } } add_action('x_after_view_global__slider-above', 'add_my_slider');
Change
[rev_slider alias="top-slider"]
with your slider shortcode (https://www.screencast.com/t/RrYBGaOT4E)Hope that helps.
March 17, 2017 at 3:04 am #1410750Hi,
This seems to work ok, but also causes issues with the side bar? and the footer menu dissapearing. Please see attached screen shot.
Any ideas what may be causing this please?
Many thanks in advance.
March 17, 2017 at 10:04 am #1411084Hi there,
Would you mind providing your FTP details as well so that we could test the code in your setup?
Thank you.
March 21, 2017 at 4:38 am #1414711This reply has been marked as private.March 21, 2017 at 4:46 pm #1415516Hi There,
Thank you for the credentials, but did you already address the issue? I am seeing widgets on the footer and sidebar now.
WordPress normally does that, it resets the widgets to inactive when you switch theme. You should able to drag the widgets back to its respective areas (footer/sidebar) from Appearance > Widgets.
Thanks.
-
AuthorPosts