Replacing the Blog Intro Header in Nelo

Hello,

I would like to suppress the Blog Intro Header block in Nelo custom homepage by a slider (which code is <?= do_shortcode('[layerslider id="1"]'); ?> ).
Could you please help me: which php file shall I modify in the theme.

Hoping for your help,

Henri

  • Timothy Bowers

    Hey there.

    I believe you can find:

    <a href="<?php echo stripslashes($tn_wpmu_intro_header_imgurl); ?>">
    <?php if(file_exists($upload_path . 'intro_normal.jpg')) {?>
    <img src="<?php echo "$ttpl_path/intro_normal.jpg"; ?>" alt="intro" />
    <?php } else if(file_exists($upload_path . 'intro_crop.jpg')) {?>
    <img src="<?php echo "$ttpl_path/intro_crop.jpg"; ?>" alt="intro" />
    <?php } else { ?>
    <img src="<?php echo get_template_directory_uri(); ?>/lib/css/images/cimage-intro.gif" alt="intro" />
    <?php } ?>
    </a>
    <h2>
    <?php if($tn_wpmu_intro_header == '') { ?>
    This is intro header
    <?php } else { ?>
    <a href="<?php echo stripslashes($tn_wpmu_intro_header_imgurl); ?>"><?php echo stripslashes($tn_wpmu_intro_header); ?></a>
    <?php } ?>
    </h2>
    <?php if($tn_wpmu_intro_text == '') { ?>
    <?php _e('You can replace ever area on this page with a new text in <a href="wp-admin/themes.php?page=custom-homepage.php">your theme options</a> or <a href="wp-admin/themes.php?page=custom-homepage.php">upload and crop new images</a> to replace the ones you can see here already.', 'nelo'); ?>
    
    <?php } else { ?>
    
    <p><?php echo stripslashes( $tn_wpmu_intro_text ); ?></p>
    
    <?php } ?>

    Here:

    /wpmu-nelo/lib/templates/wp-template/custom-homepage.php

    Hope this helps.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.