Todays post is sponsored by: Web Inspiration.
To create a theme (since version 2.2) is to make the theme widget enabled, so this is how you do one.
In order to make a theme widgetized, we have to do this. Open sidebar.php and add this:
<?php /* Widgetized sidebar. */
if ( !function_exists(’dynamic_sidebar’) || !dynamic_sidebar() ) : ?>// Sidebar content here.
<?php endif; ?>
Thats all there is to it!
Todays post is sponsored by: Web Inspiration.
I’ve seen in some sites something that really caught my eye. It’s a bar that emulates the warning bar that IE displays when they want to give us some kind of warning. It caughts my eye because I use Firefox. =)
It looked like a good way to caughts users eye because they tend to pay attention to those warnings, so this is the way we can drive our users attention to whatever topic we want.
So let’s start this tutorial.
Fed up of spam? Fed up with spam? Then use Captcha to stop spam bots. Infact, stop spam; read books. reCAPTCHA does exactly that by channeling the effort spent solving CAPTCHAs online into “reading” books.
You dont have to be an expert programmer to make a bot unfriendly captcha image. Infact, you dont have to be a programmer at all. You can use recaptcha and integrate it into your site.
It’s Easy. reCAPTCHA is a Web service. As such, adopting it is as simple as adding 4 lines of code on your site. For many applications and programming languages such as Wordpress and PHP we also have easy-to-install plugins available. We generate and check the distorted images, so you don’t need to run costly image generation programs.
Not only is reCaptcha free and usefull, but its also secure. You can choose to protect all of your comment fields and integrate it in just about any way you see fit. You can even protect your email address.
A short post this one, but nonetheless a usefull one.
If you are a web developer, then you will most likely be using Firefox because you have realised that standards, functionality etc… is better than that of other browsers. Even if you are not a web developer, Firefox is still the better browser anyway
. If you are a web developer, the plugins outlined in this post will make your web development experience millions of times better.
Ever wondered how to display recent wordpress posts anywhere on your site? The answer is simple. Simply using the following code snippet and adjust the HTML to something of your choice that matches your website. All you need to do is include the wordpress config file of your installation you wish to retrieve posts from and use this small snippet of code on your website.
<ul>
<?php
require_once(’wp-config.php’);
$myposts = get_posts(’numberposts=5&offset=0′);
foreach($myposts as $post)
{
?>
<li><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></li>
<?php
}
?>
</ul>
To change the number of recent wordpress posts that appear, change this part of the code to a number that suits you: “numberposts=5“.