I am creating a totally custom homepage that uses a "basic" page and calls a custom_columns template partial instead of the usual column_1 or column_2 templates (it does this by using the if page equals homepage syntax with an "else" statement for the regular column calls for the other pages). I'm using a the blank, custom theme generated with bootstrap 3.
I totally understand how the homepage widget functions with the "homepage" tags (with the homepage_excerpts file) and it inserts the homepage widget on my custom homepage the same way on any normal page that is set to be the homepage (i.e on the top of the main content section).
My question is this: Where is the code where the homepage widget gets called? Somewhere in the code has to be a tag that states {% tag "homepage" with "homepage_excerpt" %}. I don't see that anywhere in any of the templates. I want to change the location of where the homepage excerpts get placed on my custom homepage. I can't find the tag that calls the homepage widget itself so that I can change how it outputs on my custom homepage.
Any assistance would be appreciated.
Hey Adam – A little late here, but posting a response in case someone else finds this and has the same question. If you want to add some static content to your homepage, you can just add that in the “Template” tab of whatever page is your homepage. If you are looking to edit the content that gets pulled in via the homepage, check out the files called “_homepage_widget.html” and “_homepage_excerpt.html” in the Files tab of your custom theme.
Showing 7 reactions
Sign in with
I’m not totally sure I completely understand your question but I think you’re referring to the “supporter nav” buttons. If that is true, those are usually found in the _columns_2.html file which is why they show up in the sidebar.
Look for the code:
There iis also similar code for buttons 2 and 3. In terms of where those button say and the page that they link to, that can be controlled in the settings without touching the code itself. Look for the tab that says “supporter nav” at the top of the theme editing screen.
I hope I understood your question and that info helps.
James
I would like to move the Volunteer, Donations buttons on a theme to the bottom of the page. do you know the name of the widget for this section in the template? I am using the Tectonica template
Huge thanks!
Glad you found it! It can be confusing sometimes differentiating between the templates and files sections of your theme. A good rule of thumb is if it’s a central piece of a theme, like a theme for a page type, it’ll be under templates, whereas partials and smaller files tend to be under files. Hope the theme looks epic!
Let me know if you have any additional questions!
Hope my issue helps somebody else find what their looking for.