Best CMS ?

ok good advice :)

regarding the switch from static to wp...

where you normally have a standard link - say for example a script reference in the head...

where (static) if would have been "resources/script.js" do you always with a wp theme have to put is as "<?php echo (TEMPLATEPATH . '/'); ?>resources/script.js"? it doesn't seem to like standard relative linking...

(this is all very interesting :))
 
Pretty much yes - although I just have a 'scripts' folder (i.e. worstwebsiteever.com/scripts/) and thus save having to mess around with relative links. I prefer doing it that way as I don't like giving away that I try to give away that I'm using wordpress as little as possible (if you looked at the source code you'd see the link to the 'wp-content' folder) and because I just...well prefer it. Having said that I rarely bother to move all of the images out of the theme folder so you can still tell that way - but that's more me being lazy than anything. I guess it's SLIGHTLY quicker to have a direct link rather using templatepath, but tbh when you've finished playing around with the site and have the design set in stone you should be using the super cache plugin anyway - at which point it makes no difference.
 
Back
Top Bottom