Taken from Bill Ericson: http://www.billerickson.net/wordpress-taxonomy-breadcrumbs/ This post has been marked as old. The code might no longer work. Comments have been disabled as this is no longer maintained. Use the search on the right to find a newer tutorial. I’m working on a project right now that uses hierarchical taxonomies, and the client requested a breadcrumb along Full Article…
Change role access to Menus and Widgets
WordPress menus and sidebars/widgets are really powerful modules, but unfortunately it requires Admin user role to edit them. If you would like to allow users with Editor user role to edit any of the widgets or menus, just paste the code below into your themes functions.php file.
monitor your website/webserver using PHP
As taken from this website: http://www.catswhocode.com/blog/how-to-easily-monitor-your-web-server-using-php In order to make sure that your website is always available to the public, you have to monitor it. In this tutorial, I’ll show you how you can easily create a monitoring script that will check your website availability and send an email or sms alert to you if it Full Article…
Setting up (Apache) Localhost subdomains
This took me ages to work out – I found most online tutroials were vague and/or referenced different files than what is found in my MoWeS installation. I have setup a local testing domain for CAMD: camd.loc I wanted to run a WP Multisite install with subdomains such as: members.camd.loc Anyway – this is what Full Article…
Custom Post Type Archives & URLs
Templates and Heirarchy http://codex.wordpress.org/Template_Hierarchy Default WP archives for Custom Post Types Here’s one little gem for accessing default genearted archives if you are using WordPress 3.1 or higher: This should query for “all custom posts about the theme named taco”. Plugin: Custom Post Type Archives Enables pretty permalink custom post type archives that will support Full Article…
How to get your post thumbnail’s width and height
In Settings > Media, you are able to set only the height or width of the Thumbnail images and WordPress will resize them proportionally (i.e.: if you have a fixed height, then the widths will vary depending on your uploaded image dimension, and vice versa). Inside the loop, you can get a thumbnail’s width, height Full Article…
Password protect a directory with Frontpage Extentions enabled
The conflict is that both programs want to write your .htaccess file. The solution is to leave your FrontPage extensions On, and then add the code needed to password protect a folder. Here is how to code the password protect: Use FTP or File Manager to navigate inside the folder you want to protect. Edit Full Article…
Remove Post Revisions through phpMyAdmin
Make sure you keep a good backup copy before proceeding with the amendments to your database. Also you can consider using a plugin to allow access to modify your db. Like this: WP-DBManager by Lester Chan. Be aware – you may need to change the name of the db tables for these commands to work Full Article…
How to Add a Message to the WordPress Login Screen
I needed to add a simple message to the WordPress login screen today. I wanted to add it just below the WordPress logo. Here is my final result: Here is the final result of my efforts While digging around in wp-login.php, I noticed that there is a filter for “message”. So, I simply added Full Article…
Gravity Forms CSS: Targeting Specific Elements
This awesome css guide for Gravity Forms was originally posted here: http://www.rocketgenius.com/gravity-forms-css-targeting-specific-elements/ The team here at Rocketgenius is about to release Gravity Forms version 1.5 with several new features and enhancements. Along with these new features, we’ve introduced some new markup and form elements that I’m sure many people will want to style to match Full Article…