WordPress.org

Support

Support » Themes and Templates » "add_custom_background" only for the home page

"add_custom_background" only for the home page

  • I’d like to add the custom background to the home page only.
    To do this I’d like to customize the _custom_background_cb() function, in includes/theme.php line 1535.
    In fact for me would be enough to change the last lines

    <style type="text/css">
    body { <?php echo trim( $style ); ?> }
    </style>
    <?php
    }

    and to echo something like

    <style type="text/css">
    body <strong>#HP</strong> { <?php echo trim( $style ); ?> }
    </style>
    <?php
    }

    Somebody could help me in that please ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘"add_custom_background" only for the home page’ is closed to new replies.