I’m coding a site right now, and it’ll have quite a few pages. Later, I can see myself wanting to make changes to code across all pages.
I guess Dreamweaver templates would be an option, but is there any different approach of how to make changes across the whole site while developing it?
I recommend you check out ‘includes’. They are very simple but very powerful, and are perfect in this scenario. Forget about Dw templates. They are from hell.
Hmmm, that doesn’t sound bad. Your link gives including menus as an example. Good point, would be really useful to include menu as a single file. But I tend to add class=“current” to menu items to highlight the current page within the menu. How would I handle this, or would I not use PHP include then?