-
AuthorPosts
-
November 13, 2013 at 7:38 pm #187908
Hi there,
i need to edit a bit on our frontpage.
so i need to know what file is generating the landing page / standard homepage.
Can you you help me out?regards axel
November 13, 2013 at 8:01 pm #187924Hey kaMai!
The home page will default to your blog if you don’t have a page set for it.
Otherwise the home page will be whatever you set in the theme options. The content for it is controlled on that page either with the advanced layout editor or the visual editor.
Best regards,
DevinNovember 14, 2013 at 1:19 am #188128Hi Devin, i know..
But i am not talking about controlling my content.
I am talking about editing the mark-up.in which php-file do i edit the mark-up for the front-page if i have choosen a page as homepage?
regards axel
November 14, 2013 at 5:58 am #188223Hey!
The other themes usually use the index.php but on Enfold there is no specific file for the homepage. If you’re not using the Advance Layout Builder for it, it will use the page.php file. Note that all other pages that is not using the Advance Layout Builder will use the same file. Why do you need to edit it? If you’re using the ALB, you can edit the template-builder.php file.
Best regards,
IsmaelNovember 14, 2013 at 10:33 am #188281Hey
we use the “dark-blue” style but i definitely need to remove the blue bar on top (<div class=”stretch_full container_wrap alternate_color dark_bg_color title_container”>.)
but only for the homepage.
Fo all other pages / posts / cats that <div> should still existregards axel
November 14, 2013 at 1:23 pm #188331Hey Axel,
most common things may be configured using a css declaration. So for the homepage you may try this:
.home .title_container {display:none;}
If you like to remove the html source, you may stick with the conditional is_home() and remove the output (which I currently don’t know).
But wait – I think you’re talking about the container holding the title of the page. Well, open up your homepage within the backend and have a look at the Layout section on the right. Just disable the header. :)
Regards,
Jörg
November 15, 2013 at 3:42 pm #189216I hope Jörg’s explanation helps as I don’t think we were really explaining things for how you were imagining the site was getting rendered.
There isn’t any single template that is used to render your sites content, each page, post, portfolio item etc is the combined output of the header, footer, sidebar and then various inner content files.
So trying to modify a single php file for the output of one page is generally never going to work.
Its better if you explain the end result you are looking for since as Jörg pointed out in this case there is a theme option already built in to handle that.
-
AuthorPosts
- The topic ‘what file is generating the homepage?’ is closed to new replies.