Is it necessary to override the Genesis Main Loop, every time I make a custom template irrespective of what the code is about.
For till now, I’ve been making custom templates by overriding the genesis main loop by my function and putting ‘my specific’ code in that function.
Like for example if I have to make a template which shows header, content ( simple echo “Hello World!”; ) and footer of my genesis driven site. Then what would be the steps.
Would this help you – http://genesistutorials.com/creating-a-custom-template-in-genesis/?
Here also, author is doing this only ->
my question is do it always has to be like this, that I have to override the main loop of genesis?
I believe so. Look at this one also – http://genesissnippets.com/genesis-custom-loop/. I did a Google search and found several tuts on this.
This one is also the same, as you too know.
The thing is, in my latest project I tried to go un-conventional and did not override the main loop, but that results in content showing above the header of the side when the page opens.
So, I was confused on the same. Because my code was not altering or even not doing anything in ‘loop’ but at the end I had to use this approach only.
Still in wait for the answer
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.