background preloader

Wordpress

Facebook Twitter

Easy Retweet Button. Ever since I saw the Bit.ly JavaScript API I’ve been wanting to build a simple script for tracking the number of people visiting a blog post from Twitter. This past weekend I built a little script for doing just that – and in a completely unobtrusive manner. The script itself is completely standalone (no dependencies) and can be included in any page relatively painlessly. Additionally, since it’s just HTML, CSS, and JavaScript, it’s completely themeable and customizable to the style of your site.

Before explaining how to use it, some demos: Demos Simple Style Vertical Style How to Use / Installation Getting the Easy Retweet Button running on your site is painfully easy (ha!). Step 1: Include the retweet.js file in the <head> of your web site. (Note: You should place and use a copy from your own site, in case mine ever goes down.) (Note 2: You DO NOT need a bit.ly account in order to use this script. Retweet link for the current page: (See example at the end of this blog post.) <a href="<? LinkWithin - Related Posts Widget with Photo Thumbnails. Execute PHP in Wordpress post, page and Widget Sidebar | Wordpre. If you are still struggling on how to insert PHP Codes inside particular blog post, page or a widget sidebar for execution; the following tutorial is for you.

Executing PHP codes in WordPress Page/Post Installation Download phpexec.txt Rename phpexec.txt to phpexec.php Upload to /wp-content/plugins/ directory Activate the plug-in from WordPress administration menu Usage Anywhere in your post/pages where you want to execute a PHP Codes, insert <phpcode> before your php codes and </phpcode> your php codes. Security If you are running a blog with multiple users, you need to determine who can run this plug-in. Executing PHP codes in WordPress widget sidebar Download the plugin.Rename execphp.txt to execphp.php Upload to /wp-content/plugins/ directory Activate the plug-in from WordPress administration menu This plug-in work like a normal text widget except that it allows execution of PHP Codes.

Author: Hongkiat.com. Tweetcount Widget — BackType. How to create WordPress Plugin from a scratch. WordPress blogs are getting more popular then ever, there are literally hundreds of new weblogs popping up everyday. However WordPress is not a new software, so I think it is about time to learn how to create decent plugins for it, and once you learn how to write plugins you will discover that this is not only fun but can be very profitable as well. I want to show you how to write very simple WordPress (WP) plugin.

General purpose behind every plugin is to enhance WP possibilities in some way or another, so I started to think: what kind of plugin will contain no more then 100 lines of code, (so someone who is new to WordPress API won’t get lost in tons of code) and will be somewhat useful at the same time. I decided that together we will write plugin which will count search engine bots visits. For example Googlebot uses Web browser that is compatible with Firefox, but it’s name is actually “googlebot” and we can check that with $_SERVER['HTTP_USER_AGENT'] variable. That’s it. Conclusion. De Dotclear 2 à Wordpress 2.5, euh, 2.6 | Sowenga&#039;s noteboo. De Dotclear 2 à Wordpress 2.5, euh, 2.6 | Sowenga.

Je deviens blogueur professionnel | Presse-Citron. Presse-citron (dans sa version actuelle) va bientôt souffler sa troisième bougie – le 5 juillet prochain exactement – et je comptais profiter de l’occasion pour annoncer officiellement un changement, ou plutôt une évolution importante dans la vie du blog, et conséquemment, dans la mienne. Puis, les évènements se précipitant quelque peu ces derniers temps, et Presse-citron (dans sa version actuelle) va bientôt souffler sa troisième bougie – le 5 juillet prochain exactement – et je comptais profiter de l’occasion pour annoncer officiellement un changement , ou plutôt une évolution importante dans la vie du blog , et conséquemment, dans la mienne. Puis, les évènements se précipitant quelque peu ces derniers temps, et la question revenant de plus en plus fréquemment, je prends un peu d’avance sur le calendrier pour dévoiler l’information : je deviens blogueur à plein temps .

Ou blogueur professionnel si vous préférez, même si je ne suis pas fan de cette qualification.