Author Archives: Kevin

WordPress Featured Image

I wanted to modify the way WordPress was displaying my featured image for posts. The desired function is the image shown thumbnail size, to the right on the main page or search results and be a link to the post page. Then, on the post page, remain thumbnail sized and be a link to the full size image. To do this I edit content.php in two places. First, comment out the thumbnail code around line 20 and insert the below code directly after. You will have to repeat this after updating WordPress because this file is overwritten.
<!–Moved Featured Image Start–>

<!–Remember to comment out thumbnail above–>

<a href=”
<?php
if ( is_home() ) {
// This is the blog posts index
the_permalink();
} else {
// This is not the blog posts index
if ( has_post_thumbnail() ) {
$full_image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘full’ );
echo $full_image_url[0] . ‘” title=”‘ . the_title_attribute( ‘echo=0’ );
//echo get_the_post_thumbnail( $post->ID, ‘medium’ );
}
}
?>
“>

<?php if ( ! post_password_required() && ! is_attachment() ) :
the_post_thumbnail(‘medium’);
endif; ?></a>
<!–Moved Featured Image End–>

ELBC, Part 159

I am so far behind. Sorry.

2015-01-06
11 cents
Total: $0.11
2015-01-11
1 cent
Total: $0.01
2015-01-12
5 cents
Total: $0.05
2015-01-23
2 cents
1 nickel
Total: $0.07
2015-01-27
1 cent
Total: $0.01
2015-01-28
1 cent
1 dime
Total: $0.11
2015-02-03
1 cent
Total: $0.01
2015-02-04
1 cent
Total: $0.01
2015-02-05
1 nickel
Total: $0.05
2015-02-06
1 cent
1 dime
Total: $0.11
2015-02-09
2 cents
Total: $0.02
2015-02-10
7 cents
Total: $0.07
2015-02-23
1 quarter
Total: $0.25
2015-02-24
3 cents
Total: $0.03
2015-02-25
2 cents
1 nickel
Total: $0.07
2015-02-26
1 cent
1 dime
Total: $0.11
2015-02-27
4 cents
Total: $0.04
2015-03-02
1 cent
Total: $0.01
2015-03-03
1 cent
Total: $0.01
2015-03-04
36 cents
Total: $0.36
2015-03-07
1 cent
Total: $0.01
2015-03-08
1 cent
Total: $0.01
2015-03-09
1 cent
1 dime
Total: $0.11
2015-03-24
2 cents
Total: $0.02
2015-03-30
1 cent
Total: $0.01
2015-03-31
1 cent
1 dime
Total: $0.11
2015-04-10
1 quarter
Total: $0.25
2015-04-22
1 cent
Total: $0.01
2015 Cumulative: $2.04

Overall Cumulative: $50.87 Loose Change

ELBC 2014 Review

ELBC 2014 Review2014 was the second year of my Every Little Bit Counts project. I think combining posts as I go rather than reporting each day on it’s own was an improvement. I still had trouble remembering to post. At least once I had over a month to do at a time.

The first thing I noticed is the number of $1 bills I found this year. Almost half of the money I found came from good old greenbacks. I also found a partial roll of dimes. That was a little weird. Again, pennies were the vast majority of what I found though closer to 75% than 84%.

Continue reading

Custom Bookmarklets for Power Surfing

I have made a few custom bookmarklets that I bring to my internet experience. These allow me to perform a few tasks that I do on a regular basis in one step rather than copying, surfing to a new page, pasting. These are bookmarks for productivity.

This one takes me to the Internet Archive Wayback Machine page for the current site I’m accessing:

This updates the Amazon.com product page to one with my affiliate link, like for this Hard Drive I just bought.


This one uses a Google API to creates the QR-Code for the web page you are visiting.


Camelcamelcamel is a great service that charts the Amazon.com price of all products so you can see if you are getting a good price. This bookmarklet can take me there in one step.

I hope that these can be useful to you or even inspire you to create new bookmarklets to serve your purposes.