After watching Chris’ screencast on WordPress custom fields (http://css-tricks.com/video-screencasts … wordpress/) I thought about another possible use. Including a script or stylesheet on only one page or post. So I wrote a little script to grab the value of a custom field and output the proper markup to include it in the header. I posted the script and a description of what it does in a post on my website: http://meet.wesleytodd.com/wordpress-sp … ton-fields. I was wondering if someone more knowledgeable could take a look at it and tell me what you think, is this a good way to do this?
You are right. The plugin he used does almost exactly what I did. I hadnt actually read that whole article yet. I will check out that plugin and thanks for the reccomendation. He is really good at doing things right when I am thinking about how to do it.
I don’t know if the increased load time would be terrible noticeable if you’re using optimal coding. I haven’t used the plug-in though, maybe Chris will chime in an offer some thoughtful advice to you. Although his site doesn’t seem to suffer from much of a load time drag.