Disable HTML in WordPress Comments

02
07
11

In your SPAM folde there are many comments with alot of HTML codes which are basically links. That is how most spammers add links. But you can disable HTML in WordPress Comments to be functional. So if someone uses the strong code, it will not bold the text etc.

All you have to do is simply open your functions.php and add the following code:

 

    // This will occur when the comment is posted
    function plc_comment_post( $incoming_comment ) {
 
    // convert everything in a comment to display literally
    $incoming_comment['comment_content'] = htmlspecialchars($incoming_comment['comment_content']);
 
    // the one exception is single quotes, which cannot be #039; because WordPress marks it as spam
    $incoming_comment['comment_content'] = str_replace( "'", ''', $incoming_comment['comment_content'] );
 
    return( $incoming_comment );
    }
 
    // This will occur before a comment is displayed
    function plc_comment_display( $comment_to_display ) {
 
    // Put the single quotes back in
    $comment_to_display = str_replace( ''', "'", $comment_to_display );
 
    return $comment_to_display;

The original author also offers a plugin that you can download from his site.

Backup Your WordPress Site to Dropbox

01
07
11

A new plugin is available that gives you the change to put Dropbox to work for the security of your great WordPress site. Here’s how you can set up automatic backups of your WordPress site to Dropbox! Isn’t that Great or what?

Step 1: Signup for Dropbox

the free version is not enough space for you, you’ll can purchase a plan that will accommodate your website backups.

Read the rest of this entry »

15 Fancy Web Design Footers

30
06
11

While many sites still opt for a simple line of copyright details and a contact link and with some luck some color, footers have become more and more visually stunning as a way to provide a complete feeling to a design.

Here are 15 web design footers that you can use for inspiration!

Read the rest of this entry »

Useful JQuery Sliders for your theme

29
06
11

jQuery Sliders
You’ve probably noticed that a lot of websites lately have a featured area with content that slides or changes in some way. This is a great technique to show several pieces of content in a limited amount of space and a good way to engage the user. Hereby al list of the ten greatest sliders.

Read the rest of this entry »

14 Tricks to Make Your Theme Better

29
11
10

Wordpress tips and tricks

WordPress is a very powerful CMS (Content Management System). It has tons of capability and can be extremely powerful. There’s only one thing in the way from all of this power and you as the blog owner – your theme. See, no matter how many awesome features such as threaded comments or breadcrumb navigation or even an “edit” link beside each post are added, you’re limited by your theme that you are using. If you theme isn’t “smart” enough to use these features, well, quite frankly, you can’t use them.

This is a post for all the WordPress theme developers out there. Here are only a few of the many great snippets of code that will take your current theme creation and make it that much better. Please, use them.

Read the rest of this entry »

How to Add Custom Navigation Menus in WordPress 3.0 Themes

28
06
10

Custom Navigation Menus WordPress

Custom Navigation Menus feature in WordPress 3.0 will make WordPress even more user friendly for beginners. This function let you organize your menu, create drop down menus, add new items to menu, and much more. The drag-and-drop function of this feature is what makes it extremely easy to use. This feature will not be available in older themes unless the theme author(s) update their themes. In this article, we will show you how you can enable and install custom navigation menus in your themes.

Read the rest of this entry »

WordPress 3.0 The new features

23
06
10

New functions WordPress 3.0

WordPress 3.0 is released with lots of breathtaking improvements and exciting new features which will surely bring this platform one step ahead. So, what actually we can expect to bundle up with this release? Here is a walk through!

1. WordPress.org and WordPress MU Wedding
Yeah WordPress MU and WordPress.org are all set to tie up with each other. Almost over a year of hard work the floks at Automattic are all set to merge their standalone blogging platform WordPress.org with multi user platform WordPress MU. This feature will come handy specially for large blog networks.

It is an add-on for the existing users which means it won’t hurt them if they don’t want to use it. The upgrade process will be smooth and won’t cause any difficulties to existing users. Most importantly it will be a win win situation for WordPress MU users as they can now easily use WordPress.org plugins out of the box needless to modify.
Read the rest of this entry »