As seen on the great WP Engineer website: http://wpengineer.com/1719/filter-duplicate-posts-in-the-loop/?codekitCB=400689137.981452 As the question arises quite often I’d like to show how I make sure that the content presented, which were output in a loop, not showed up again in a second loop. WordPress identifies posts and pages via ID, which are created in the database and who Full Article…
Search the Wiki
Using FlexNav with WordPress
I thought it beneficial to note this support page on integrating the great Flex Nav script with WordPress. You don’t need a custom walker function. You can alter wp_nav_menu like this: and proper script init should be:
Redirect Old Domain to New Domain via .htaccess
Taken from: http://www.orderofbusiness.net/blog/redirect-old-domain-to-new-domain-via-htaccess/ When you migrate a site from one domain to another, it is very important that you don’t break all the links that you built to your old domain. Proper redirection of all the pages on the old domain to the same location on the new domain will ensure that visitors to the old Full Article…
WordPress 404 email alerts
As seen on WP Mix: http://wp-mix.com/wordpress-404-email-alerts/ Here is a customized plug-n-play PHP script for reporting 404 errors via email. No editing required, just clean email alerts for each 404 error. To implement, simply include this script at the top of your theme’s 404.php file: No editing required, just include and done. To disable the email reporting, either remove the script Full Article…
Mod rewrite information for URL redirects
This information was taken from: http://www.webforgers.net/mod-rewrite/mod-rewrite-syntax.php Mod Rewrite syntax The key to good mod rewritting is patterns. Patterns in your urls are how we are going to distinguish what to rewrite and what not to rewrite. We’ll get to that later, first we’ll need to go over the basics of the mod rewrite syntax. RewriteRules Rewriterules Full Article…
How to disable WordPress plugin deactivation
As seen on Steve Taylor’s blog. Someone asked in a comment here recently whether a WordPress plugin I’d posted could be adapted to work as theme code. The reasoning was that a client might deactivate a plugin, breaking some of the site’s functionality. Careless clients clicking around in the admin interface can be a concern for a Full Article…
Create your own conditional tag in WordPress
As teaken from: WP Ninjas. Have you ever wanted to do something based on a specific set of conditions. Sure you have and you’ve probably used the WordPress Conditional Tags at least once or twice. Conditional Tags are extremely useful functions that check a set of conditions for you. They work like this… The is_single function returns Full Article…
Reinstall Mac Operating System
This doesn’t require a CD or anything just an internet connection. Restart the Air When you hear start up Chime hit (and hold) the Option button Goto Drive options… (something like that disk utility?) and under the advanced tab reformat your HD. Reinstall OS (this is available through this start up utility, it goes out on the Full Article…