Add fields/options to page-template?
-
Okay, so I’m developing my very first theme from scratch, using bootstrap to make it responsive, and various tutorials. But I’m stuck at something, that i can’t seem to find a good solution for.
I want my frontpage to consist of navigation menu, a slider, and 3 columns of text, in that order from the top.
I want the user, to be able to choose and upload the images that should be in the slider, maybe along with some text that should hover over the image, and of cause an image-link.
So how in the world do i make this. Im thinking that maybe it should be custom-fields, but then again, i have 3 items: image, text, link. Should i make it as an option? (register_option etc.) and the user should be able add/remove fields depending on how many images he/she wants in the slider.For the slider i will just go for some code found on the interwebs and then add a loop to it.
Hope someone can point me in the right direction.
- The topic ‘Add fields/options to page-template?’ is closed to new replies.