Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1362788
    brendanduggan11
    Participant

    Hello I would like the blog header to appear on my blog posts as well. Can`t seem to get it to work.

    Thank You

    #1362790
    brendanduggan11
    Participant
    This reply has been marked as private.
    #1362910
    Rahul
    Moderator

    Hey There,

    Thanks for writing in!

    The blog header seems to be working on your blog posts. Would you mind providing us with a Screenshot to take a closer look of it?

    Thanks for understanding!

    #1364972
    brendanduggan11
    Participant

    Sorry, What I meant was the Title: Sunshine Salsa Tours – Salsa tours in the beautiful country of Colombia

    Right now it is only appearing on my blog main page,,, I would like it to appear on all my post as well. Thank You

    #1365479
    Paul R
    Moderator

    Hi,

    To achieve that, you can add this in your child theme’s functions.php file.

    
    function add_single_post_header() {
        if(is_singular('post')  && x_get_option( 'x_integrity_blog_header_enable' ) == '1') { ?>
        <header class="x-header-landmark x-container max width">
            <h1 class="h-landmark"><span><?php echo x_get_option( 'x_integrity_blog_title' ); ?></span></h1>
            <p class="p-landmark-sub"><span><?php echo x_get_option( 'x_integrity_blog_subtitle' ); ?></span></p>
      </header>
    <?php    }
    }
    
    add_action( 'x_after_view_global__slider-below', 'add_single_post_header', 10 );
    

    Hope that helps.

    #1366132
    brendanduggan11
    Participant

    Fatal error: Cannot redeclare add_single_post_header() (previously declared in /home4/sunshjs0/public_html/wp-content/themes/x-child/functions.php:65) in /home4/sunshjs0/public_html/wp-content/themes/x-child/functions.php on line 81

    I get the above error

    #1366143
    brendanduggan11
    Participant

    Help!!!

    Now my website is down and showing this error whenever I try to log in to my word press admin!!!

    #1366468
    Jade
    Moderator

    HI there,

    Kindly provide us with your FTP details so that we can check it.

    Thank you.

  • <script> jQuery(function($){ $("#no-reply-1362788 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>