Site News Archives

Something New

If you’re reading this then it’s pretty likely that you’ve noticed the banner ad at the top of the page and the half-banners between each entry.  I’ve decided to try out some of the more commonly used forms of advertising such as Bidvertiser and some others to see if they can actually be made to generate a useful amount of income.

This means that not only will the ads appear between posts (I figure that gives them decent exposure but keeps them from being too intrusive), but will probably appear in the sidebar as well and other places depending on what type of advertising it is.

Also, within the limits of what various and sundry ad programs permit, I’ll be using several of them in an effort to get the most revenue out of it without interfering with the primary content.

Technorati Tags: advertising, bidvertiser, context+advertising, earning+money, income, revenue

When wordpress went from version 2.2 to 2.3, one of the changes I noticed was the incoming links are no longer shown from Technorati.  Instead you see the incoming links from a google blogsearch.  I started out doing this because I wasn't all that thrilled about the change and wanted to change back.  Along the way it occurred to me that having both sets of incoming links could make for some useful comparisons.

After grepping around to find where the code is that shows the google links I found it in the wp-admin directory in the file “index-extra.php”.  To make the change I did, first make a copy of that file to something like index-extra-old.php so that you can put the original back just in case it gets messed up.

Next, download and open index-extra.php and locate the code shown here in orange. It will be near the top of the file.:

case 'incominglinks' :

 
$rss_feed = apply_filters( 'dashboard_incoming_links_feed', 'http://blogsearch.google.com/blogsearch_feeds?hl=en&scoring=d&ie=utf-8&num=10&output=rss&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) );
$more_link = apply_filters( 'dashboard_incoming_links_link', 'http://blogsearch.google.com/blogsearch?hl=en&scoring=d&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) );

 
$rss = @fetch_rss( $rss_feed );
if ( isset($rss->items) && 1 < count($rss->items) ) { // Technorati returns a 1-item feed when it has no results
?>
<h3><?php _e('Incoming Links'); ?> <cite><a href="<?php echo htmlspecialchars( $more_link ); ?>"><?php _e('More »'); ?></a></cite></h3>
<ul>
<?php
$rss->items = array_slice($rss->items, 0, 10);
foreach ($rss->items as $item ) {
?>
        <li><a href="<?php echo wp_filter_kses($item['link']); ?>"><?php echo wptexturize(wp_specialchars($item['title'])); ?></a></li>
<?php } ?>
</ul>
<?php
}
break;

Replace that code with the code shown below in green, save the file and upload it back to the server.  (Be sure to upload the edited file to the wp-admin directory and overwrite the old one or it wont work.)


case 'incominglinks' :

$rss = @fetch_rss('http://feeds.technorati.com/cosmos/rss/?url='. trailingslashit(get_option('home')) .'&partner=wordpress');
if ( isset($rss->items) && 1 < count($rss->items) ) { // Technorati returns a 1-item feed when it has no results
?>
<h3><?php _e('Incoming Technorati Links'); ?> <cite><a href="http://www.technorati.com/search/<?php echo trailingslashit(get_option('home')); ?>?partner=wordpress"><?php _e('More »'); ?></a></cite></h3>
<ul>
<?php
$rss->items = array_slice($rss->items, 0, 10);
foreach ($rss->items as $item ) {
?>
        <li><a href="<?php echo wp_filter_kses($item['link']); ?>"><?php echo wptexturize(wp_specialchars($item['title'])); ?></a></li>
<?php } ?>
<?php
}

$rss_feed = apply_filters( 'dashboard_incoming_links_feed', 'http://blogsearch.google.com/blogsearch_feeds?hl=en&scoring=d&ie=utf-8&num=10&output=rss&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) );
$more_link = apply_filters( 'dashboard_incoming_links_link', 'http://blogsearch.google.com/blogsearch?hl=en&scoring=d&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) );

$rss = @fetch_rss( $rss_feed );
if ( isset($rss->items) && 1 < count($rss->items) ) { // Technorati returns a 1-item feed when it has no results
?>
</ul><h3><?php _e('Incoming Google Links'); ?> <cite><a href="<?php echo htmlspecialchars( $more_link ); ?>"><?php _e('More »'); ?></a></cite></h3>
<ul>
<?php
$rss->items = array_slice($rss->items, 0, 10);
foreach ($rss->items as $item ) {
?>
        <li><a href="<?php echo wp_filter_kses($item['link']); ?>"><?php echo wptexturize(wp_specialchars($item['title'])); ?></a></li>

<?php } ?>
</ul><br>
<?php
}
break;

Once this code is in place log in to your WordPress dashboard.  The “Latest Activity” section will show “Incoming Technorati Links More »” and a list of links, followed by “Incoming Google Links More »” and another list of links.

Note: any time you upgrade wordpress the index-extra.php file will be overwritten by the new version and you'll have to re-apply this mod.  (unless of course the folks at wordpress.org can be convinced to adopt this mod.)

Technorati Tags: backlinks, google, google+backlinks, google+links, incoming+links, index-extra, latest+activity, technorati,, technorati+backlinks, technorati+links, wordpress, wordpress+mod

Ad-Senseless

Well, I think I’ve just taken the last step in my latest re-design adjustments.  I’ve deactivated and removed the adsense plugin from WordPress and the last bit of ‘G’ specific code (analytics) is now gone.  I switched to using statcounter instead because frankly, it’s a lot more user friendly and easier to deal with.  The adsense thing was pulled because A), I only rarely used it and B), In the nearly two years or so that I’ve had an adsense account I haven’t earned enough from it to be worth bothering with.  I’m not going to specify how much it was but let’s just say that if I want to use it for a vacation in a Las Vegas hotel I’d need to save the adsense income for another five hundred years or so… by which time the prices will have gone up considerably.

If you’ve noticed something odd lately

Then it’s because I’ve been moving this blog’s subdomain, the primary domain, and some other bits from one web host to another.  In the process there was at least 12 hours or more during which things didn’t work.

Fortunately I’ve gotten it all straightened out with the aid of the support wiki on Dreamhost and things should be settling down and working normally again.  Not only that, but next time I move a domain it’ll go a lot smoother.

Theme Redesign

I’ve decided to give a try moving from the “Royal” theme that I’ve been using for so long to ont that I built with the WordPress Theme Generator.

The main reason was that the Royal theme seemed to be slower loading and scrolling was kinda sluggish.  I’m hoping that this new theme will do the trick of smoothing things out and making it load faster.

 Page 2 of 10 « 1  2  3  4  5 » ...  Last »