Support » Themes and Templates » how to edit specific text in custom-header.php: _e('$message')

  • I am using WP 3.0 and have built a theme on the ET-Starter theme. I have not hacked any core files. The only files I’ve edited are the theme-specific functions.php, header.php and style.css.

    I would like to change some of the text within the ‘custom-header.php’ file, but don’t want to edit that file. This is the text located within the _e(‘text’) containers. I am specifically wanting to change the text only on line 486 of that file.

    The delivered code from lines 482 – 488 is as follows:

    <?php if ( ! empty( $this->default_headers ) ) : ?>
    <tr valign=”top”>
    <th scope=”row”><?php _e( ‘Default Images’ ); ?></th>
    <td>
    <p><?php _e( ‘NOTE: here is where I want to change the text: If you don‘t want to upload your own image, you can use one of these cool headers.‘ ) ?></p>
    <?php
    $this->show_default_header_selector();

  • The topic ‘how to edit specific text in custom-header.php: _e('$message')’ is closed to new replies.