That's certainly one way to do it, but it depends how quickly you need to develop it, and how flexible it needs to be.
An approach you could try instead; look at using page templates. They can be a good way to go if you need specific functionality per page type. I haven't written a post on them yet, would you like to see one?
Hope that helps. If you'd like more in depth, please DM me on twitter @baffledbasti
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey! Thanks for the feedback!
That's certainly one way to do it, but it depends how quickly you need to develop it, and how flexible it needs to be.
An approach you could try instead; look at using page templates. They can be a good way to go if you need specific functionality per page type. I haven't written a post on them yet, would you like to see one?
Hope that helps. If you'd like more in depth, please DM me on twitter @baffledbasti