Hide WordPress header image on specific URL

Objective: Hide WordPress header image on specific URL Target URL: All URL except http://hilmanali.com/blog/ Theme: Sorbet (child) File name: header.php Original code: <body <?php body_class(); ?>> <div id=”page” class=”hfeed site”> <?php do_action( ‘before’ ); ?> <header id=”masthead” class=”site-header” role=”banner”> <?php if ( get_header_image() ) : ?> <a href=”<?php echo esc_url( home_url( … Continue reading Hide WordPress header image on specific URL

WordPress theme Tracks – Random background for non thumbnail posts

Just a simple note for myself, unless there is a reader out there 🙂 This article is about to modify the WordPress theme Tracks, which is basically will display a random background in non-thumbnail (featured image) posts. Here we go; Create images with name “background_1.jpg” to “background_12.jpg” in running numbers … Continue reading WordPress theme Tracks – Random background for non thumbnail posts