-
Website
http://blog.bull3t.me.uk/ -
Original page
http://blog.bull3t.me.uk/archives/wordpress/wordpress-theme-editing/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
hookey4
1 comment · 1 points
-
Michael Lankton
2 comments · 1 points
-
daddyjason
1 comment · 36 points
-
-
Popular Threads
I like the category cloud a lot compared with a straight list of categories. Might be something I could add an option for in Unwakeable 2.0.
Looks good Bull3t.
I'd like to come up with a clean mimimalistic style for displaying that data but am having trouble. I think I like it how you have it, simple on the white background. Maybe I don't even need to worry about styling it now that I see it would look good simply white.
Are you using sidebar modules from K2 or the WordPress Widgets? Or are you using a static sidebar.php file?
<?php /* Tags */ if (is_single() and function_exists('UTW_ShowTagsForCurrentPost')) { ?><span class="entry-tags"><?php _e('Tags:','k2_domain'); ?> <?php UTW_ShowTagsForCurrentPost("commalist") ?>.</span>
<?php } ?>
Pasted it underneath itself and then changed it to do the following:
<?php /* Ratings */ if(function_exists('the_ratings')) { ?><span class="entry-rate">Rating: <?php
ob_start();
the_ratings();
$remove_divs = ob_get_contents();
ob_end_clean();
echo str_replace('div', 'span', $remove_divs); ?> </span> <?php } ?>
Copied/pasted it again and changed it for the views:
<?php /* Views */ if(function_exists('the_views')) { ?>
<span class="entry-views"><?php the_views(); ?> </span> <?php } ?>
Basically, where you can see that it says class="entry-rate" and class="entry-views" I simply opened up the K2 style.css file and copied the entry-tags style, changed it to suit the new images and location. Works a treat.
If you would like me to email you the two files (theloop.php and style.css) I would be more than happy to do so.
I use the K2 Sidebar Modules for my sidebar as it seems to be a hell of a lot easier and nicer looking.
Thanks for sharing this buddy.