Part 4
the series on the ins and widgets on this blog
Ultimately, this is not a full part in the series, but a supplement.
In the 4th Part of it dealt with were Tweet This , in and of itself a cool plugin for Twitter, but also social bookmarking services (Plurk, Buzz, Delicious, Digg, Ping, Reddit, Stumble). Numerous configuration options and a selection of fancy buttons rounded the first positive impression. Unfortunately, the error message
Warning: Invalid argument supplied for foreach () 358 in / home/web160/klem08/ftproot/www.klemmchen.de/wp/wp-content/plugins/tweet-this/tweet-this.php on line
A response to requests failed to materialize, so I've done what others have done: I've disabled the plugin. Now an alternative was needed.
Twit This : Takes care of only ourselves exclusively to's singing. There is a plugin, but manually inserted code:
<!-- Begin TwitThis (http://twitthis.com/) -->
<script type="text/javascript" src="http://s3.chuug.com/chuug.twitthis.scripts/twitthis.js"></script>
<script type="text/javascript">
<!--
document.write('<a href="javascript:;" onclick="TwitThis.pop();"><img src="http://s3.chuug.com/chuug.twitthis.resources/twitthis_grey_72x22.gif" alt="TwitThis" style="border:none;" /></a>');
//-->
</script>
<!-- /End -->
I opted for the code version, because it allows adjustments to the design without having to plug in herumpulen. So I could replace. Gif file with a self-created. Png file, and also in control of where the loop is to appear, the button is given in this way.
Bookmark This del.icio.us : Because I wanted to also have a Delicious button had to her another plugin. Is a bit dated, but even in principle valid XHTML. Hereby
<?php dbt_the_LinkTag("Bookmark on del.icio.us"); ?>
The display can be made of the buttons within the loop, and I could put a button next to on Twitter. I added text links instead of a picture, but I could also have been easier. (We recommend that you read the readme files from time to time.
) There are numerous tips on how you can change display and placement. With this code
<?php dbt_the_LinkTag("<img src='http://www.klemmchen.de/wp/wp-content/themes/environment/images/tt-delicious-micro4.png' alt='add to delicious' />","delicious"); ?>
is inserted under the post an image, which also is again freely selectable. However, should the proposed XHTML lovers in the readme file for at least one code snippet alt="" Add tag, otherwise the validator complains.
Both solutions work well! Nevertheless, I would note: The Tweet This variant would be easier if they would survive because without error.
















[...] The base of the icons I get with Tweet It, which unfortunately had to be uninstalled because it was too much trouble. The buttons, however, due to their simplicity as an ideal base for [...]
'm Exactly the same opinion.