Hello forum people,
Creating my first WordPress theme here, and I am wondering what the best way is to control HTML content in the header / footer / sidebar areas.
You can see a good example of the type of content I’m talking about by viewing this picture The three boxes along the top (title, bit of text, image, and a link).
I could just have this small piece of content hard coded into the template, but this means any updates would require editing this file.
How do others do this?
- Create an un-published page, so uses can control this content using the WYSIWYG editor? Pull this page content out into the header/footer/sidebar area?
- Create a side bar, with a “text” widget in it?
- Create a new menu in the “appearance” tab with some custom php coding in it (similar to the default “header appearance” menu)
- Just leave it as part of the template (easiest option) if a user wants to change it, they modify the template?
Any pointers or examples greatly appreciated.