Sitemap

My sitemap shows my posts under each category, namely Audio Visual, Ham Radio Blogs, HTML5, etc.

You can see that my categorization can be much improved.

Sidebars on the left or right (2)

If the screen width is relatively large, it looks better to have the sidebar width fixed rather than incremented proportionally to the screen size.

@media screen and (min-width: 1000px) {

.wrap {
    overflow: hidden;
}

    .has-sidebar:not(.error404) #primary {
        float: right;
        width: 94%;
        margin-left: -360px;
        padding-left: 360px;
    }
  
    .has-sidebar #secondary {
        float: left;
        padding-top: 0;
        width: 360px;
    }

}

Force your browser to reload the CSS file (2)

Defining the version number of a sytel.css file with UNIX time is not very user friendly, so here comes a code;

function my_update_styles( $styles ) {
    $mtime = filemtime( get_stylesheet_directory() . '/style.css' );
    $styles->default_version = date("Y-m-d-D-H:i:s", $mtime);
}
add_action( 'wp_default_styles', 'my_update_styles' );

The sad part is that with Chrome DevTools the version number that is too long is not fully displayed unless mouse overed.