Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1400477

    cms-i
    Participant

    Hi X-THEME,

    Is there a way to get headers on on the blog and blog posts please?

    Many thanks in advance,

    CMSI

    #1400504

    Rahul
    Moderator

    Hi 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.

    #1401751

    cms-i
    Participant
    This reply has been marked as private.
    #1401929

    Joao
    Moderator

    Hi There,

    When you refer to headers are you refering to the slider above the masthead?

    Please clarify.

    Thanks

    #1406190

    cms-i
    Participant

    Yes, that’s correct. We wanted to add a slider header to the blog posts.

    Many thanks in advance.

    #1406297

    Paul R
    Moderator

    Hi,

    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.

    #1410750

    cms-i
    Participant

    Hi,

    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.

    #1411084

    Jade
    Moderator

    Hi there,

    Would you mind providing your FTP details as well so that we could test the code in your setup?

    Thank you.

    #1414711

    cms-i
    Participant
    This reply has been marked as private.
    #1415516

    Friech
    Moderator

    Hi 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.