Deleted line of code in "Custom Header" then pasted it back, white screen?

  • Author
  • #2694232

    * Sample implementation of the Custom Header feature
    * You can add an optional custom header image to header.php like so …

    <?php if ( get_header_image() ) : ?>
    ” rel=”home”>
    <img src=”<?php header_image(); ?>” width=”<?php echo esc_attr( get_custom_header()->width ); ?>” height=”<?php echo esc_attr( get_custom_header()->height ); ?>” alt=””>

    <?php endif; // End header image check. ?>

    * @package fortunato

    * Set up the WordPress core custom header feature.
    function fortunato_custom_header_setup() {
    add_theme_support( ‘custom-header’, apply_filters( ‘fortunato_custom_header_args’, array(
    ‘default-image’ => get_template_directory_uri() . ‘/images/fortunato-main-image-example.jpg’,
    ‘width’ => 1920,
    ‘height’ => 1080,
    ‘flex-height’ => true,
    ‘header-text’ => false,
    ) ) );
    add_action( ‘after_setup_theme’, ‘fortunato_custom_header_setup’ );

    I deleted the line that says ” ‘fortunato_custom_header_args’, array ” because I’m an idiot and then realized that it was not what I meant to do. After that I pasted it back exactly (i think!) where i found it. After that I clicked back on my locally hosted website to see if anything changed and now all I have is a white screen. looked through the files on my computer for my WordPress and I am looking at the custom-header.php folder, is there anything I can do or code I can change to reverse this?? HELLLLLP!

The topic ‘Deleted line of code in "Custom Header" then pasted it back, white screen?’ is closed to new replies.