I like the idea of shutting off comments after a certain number of days. Here on Digging Into WordPress we do it after 90. After that kind of time, the “community” of the discussion is long over. I think a good practice for turning off comments is to instead leave a message informing visitors that [...]
The .htaccess file have lots of possibilities. Today, let’s see how we can protect our WordPress blog from scripts injection, and unwanted modification of _REQUEST and/or GLOBALS.
via Protect your WordPress blog using .htaccess.
Lets be honest, when you look at the volume of WP themes that are available, there is not really that much originality. They are basically they same theme re-hashed in a different style. That maybe fine for some, but not for me.I look for all of those individual elements that add up to something original [...]
Have you wondered how to change the layout of the WordPress plugin Subscribe to Comments subscription manager? There’s no easy solution provided by the author of the plugin, so after looking at its core file I found out it’s actually quite easy by using an extremely simple tweak. With this tutorial I’m going to show [...]
I had the occasion yesterday to have a page with a section on it where it would output a very specific set of other pages, which would need to change dynamically. What I could have done is built a special page template for this page, and inside that template run a query_posts to get these [...]
It’s easy to add Google Adsense code in the top, the bottom of WordPress posts by edit your WordPress theme posts file. However, sometime you need to wrap Google Adsense code in WordPress posts, and you can not do as the same way as add it on top, bottom. This article will explain you how [...]
WordPress allows using a function, to simple redirect to a URL, the function wp_redirect enables to specify an address and a status.This makes it easy to realize a forward even in the backend of WordPress. Two different examples will illustrate this. The difference lies in the query of the URL, which will be checked.
via Redirects [...]
David Hollander of SparkWeb Interactive sent us in a little code clip for inserting Google Maps into Posts/Pages by the use of shortcodes. Google actually has copy-and-pastable iframe code already in Google Maps that is really easy to snag, but David was having problems with the Visual text editor screwing up the code when saving [...]
In WordPress, switching from full posts to excerpt is easy if you edit your theme files. But do you know that you could achieve the same result without editing any of your theme file? Just read this recipe to find out.
via Replace full post by excerpts on homepage without editing your theme files.
WordPress is becoming so powerful that you can use it to do whatever comes in your mind. User love it for its flexibility, you have plugins to enhance its power and you can hack your theme code to add unique functionality.
In this article, we’ll show you 10 new powerful WordPress hacks, tricks and plug-ins with [...]
January 25, 2010
0