- This topic has 1 reply, 1 voice, and was last updated 10 years ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and 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 want to create a layout a bit like this:
except I'd like some text to the left of the sidebar.
I have it in my head that to do something like this, using the sample theme, I need to create a Page Template for the Home page.
I've create a Page called Home.
And I've created a template called front-page.php with the following code, based very partially, on these instructions:
<!--?php /** (i've removed this bit) */
// Remove Page Title remove_action( 'genesis_post_title', 'genesis_do_post_title' );
// Content Area remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'be_home_loop' );
/** * Home Content Area * */
All works fine.
I then added a the sidebar by using this tutorial (the "Sidebar before posts" code):
and adding the relevant code to functions.php.
Now, at this point I'm asking myself, why do I need to use a custom page template?
...and the Home page, sidebar / genesis responsive slider works fine.
And what i though i would be able to do at this point is go into the Dashboard->Pages and edit / add text to the Home page. But no, when I tried to do this, and hit publish it took me to a "Are you sure you want to do this?" notice... and no text shows on the Home page.
How do I get the front-page.php to use the content on my Page called Home? Is it something to do with adding divs in the front-page.php? (excuse my lack of knowledge, but if i was just pointed in the right direction...)
Do i have to use a custom template on the home page to achieve what i want to do?
And, apologies for all the questions, but, in the example:
See the second row? The "daily Bags" etc... How would a WP developer typically go about putting these in a page? I can understand they might style the elements in the stylesheet, but would the content, images etc be added in the WordPress Edit Page section?
My URL is here:
(the text box, which is in the right place, was / is currently achieved by adding a second sidebar, and text widget)
Many thanks in advance for any insight!
Marking this as resolved because I need to re-phrase this question..
© 2023 WPEngine, Inc.