Community Forums › Forums › Archived Forums › Design Tips and Tricks › Child theme help?
- This topic has 5 replies, 3 voices, and was last updated 10 years, 3 months ago by pendraggon87.
-
AuthorPosts
-
December 31, 2013 at 12:27 pm #82350pendraggon87Member
I am just getting my feet wet with Genesis. I downloaded the Genesis Sandbox, as it is very well commented. However, how do most people approach these projects? I have an idea and design in mind as to what I want my site to look like. i.e. a bar on top, then the header, and to the right of the header a widget, etc. Is there any good documentation on creating these child themes? It is a lot of information overload right now.
December 31, 2013 at 4:22 pm #82393RobGMemberThe best way to learn about the child themes is hands on, you'll see a lot of info from all over the web but the best way is to get your hands dirty and see how the themes are made.
This community forums is the best start
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossDecember 31, 2013 at 4:48 pm #82397pendraggon87MemberThanks! One thing that confuses me is that the landing page - I modified that template, and it is supposed to remove headers etc, but I see everything still there.
Ideally, I want my landing page to just be a header, no menu, a widget underneath the header, and then my blog posts.
/** Remove Header */
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );/** Remove Nav */
remove_action( 'genesis_after_header', 'genesis_do_nav' );
remove_action( 'genesis_after_header', 'genesis_do_subnav' );That should have removed headers and nav, but I dont see that reflected at all. Additionally, if I turn on breadcrumbs in the UI for Genesis, and then I try and remove it using remove_action on the landing page, the breadcrumbs are still there
December 31, 2013 at 7:54 pm #82418RobGMemberPlease post the link for the website in question to speed up the process.
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossDecember 31, 2013 at 8:19 pm #82422AnitaKeymasterIf you are using the Genesis Sandbox by Jonathan of Surefire Themes, you may want to ask Jonathan. I've noticed lately that theme developers are adding in their own specialty code and some snippets are not playing nicely. So I would inquire with him about your code.
Love coffee, chocolate and my Bella!
January 1, 2014 at 1:15 am #82445pendraggon87MemberMy biggest issue is that the following lines in my landing page template are not working:
/** Remove Nav */
remove_action( 'genesis_after_header', 'genesis_do_nav' );
remove_action( 'genesis_after_header', 'genesis_do_subnav' );In functions.php, I have the following:
add_theme_support(
'genesis-menus',
array(
'primary' => __( 'Primary Navigation Menu', CHILD_DOMAIN ),
'secondary' => __( 'Secondary Navigation Menu', CHILD_DOMAIN ),
'footer' => __( 'Footer Navigation Menu', CHILD_DOMAIN ),
'mobile' => __( 'Mobile Navigation Menu', CHILD_DOMAIN ),
)
);If I comment out the primary line, then the menu disappears. Is there a reason that it is persistent?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.