Add thumbnails in ‘li’ list

If this is a post loop can’t you just put your images in li’s within the editor. Just select them and put them into a bulleted list.

Random ID for custom post type

the_ID() must be within The Loop. from the_ID codex page global $post will merely get the last post that was set as the global post object which will depend greatly on what is done in the rest of the request. If somewhere in your header template, page template or content template you change or modify … Read more

Echo a div to header.php from functions.php

The wp_head() template tag is intended to fire in the HTML document head, rather than the page header, and is used to output script and stylesheet links and tags, and other similar things in the HTML document head. It should appear immediately before the closing HTML </head> tag, like so: <?php wp_head(); ?> </head> If … Read more

Custom icons for Custom Post Type category lists

If your theme uses body_class and post_class then you should have CSS enough to do this. Make a <div> for your icon. <div class=”mycategoryicon”></div> Add some style. .category-slug .mycategoryicon { height:32px; width:32px; background:#ffffff url(‘slug-icon.jpg’) no-repeat; } The “slug” part of the class name should be your actual category slug. Height and width can of course … Read more

Absolute path in WordPress Network site

It is a googd practice to write references to files from CSS file using relative path to the theme and not one absolute. So, for instance: background: transparent url(‘images/sprite_phone.png’) no-repeat 0 0; Anyway, on your case there is something wrong with the uploaded file, because none of the paths you give above work.