- This topic has 1 reply, 2 voices, and was last updated 5 years, 9 months ago by .
- The topic ‘"Frontpage" widgets: why are they "Frontpage"’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I see on the child themes I've tried out that widgets can be installed in various places, all named, for example "Frontpage 1," "Frontpage 2," and so on.
But the widgets I add to the "Frontpage 1" position actually show up on every page of the website, not just the 'static' page or a 'landing' page.
It's not a critical question, just confuses me a bit why "Frontpage" was chosen to describe the section the widget will appear, versus, I suppose, "Position 1." It did have me knocking my head a bit, but I took some asprin and I'm fine.
The naming convention is completely up to the theme developer. They could just as easily be named after the planets, if the developer wanted to do that. Depending on your theme, the code for displaying the front page widgets is located either in front-page.php or home.php, whichever your theme uses. If you registered a widget and added its display code to functions.php, it will show on every page depending on the hook you are using. Functions.php is loaded for every page, where the front page is just the front page.
© 2023 WPEngine, Inc.