nav-left cat-right
cat-right
Removing wp_head() elements (rel=’start’, etc.)

Removing wp_head() elements (rel=’start̵...

In customising WordPress you may find a need to occasionally remove or add to the Link elements that WordPress automatically outputs in the function call wp_head(). I’ve recently had a need to remove the rel=’prev’ and rel=’next’ link elements and in trying to avoid customising the core WordPress functions the following solutions works. Ensure you have a functions.php file in your theme...

RGB to HEX Converter...

Working with CSS I am constantly trying to convert RGB values from Photoshop to their hex equivalent. There is probably a setting in PhotoShop that I have missed, but the following small form will quickly convert RGB values to the HEX equivalent. You can then use these values in CSS with # at the beginning. Let me know if you find this useful: R: G: B: :

Determine URL of an ImagePlaceholder...

I came across a problem recently whereby I wanted to determine the MCMS URL of an image stored in the MCMS Resource gallery.  The script had several image placeholders, some of which may of had images bound to them. My requirements involved determining the URL of any given image and then to use this in some CSS styling.   Faced with this scenario the following code should help: //Setup placeholder object and string...