Forum Replies Created
-
AuthorPosts
-
vanhovland
MemberHi,
I found out how to get post from not showing up on the homepage in the 'Getting Started' info when I downloaded the Education theme (it is way at the bottom under 'extras')
Extras
To remove the posts from the bottom of the home page, edit home.php and add this line of code before the last line like so:
remove_action( 'genesis_loop', 'genesis_do_loop' );
genesis();
To remove the sidebar as well, add this line in the same area.
remove_action( 'genesis_after_content', 'genesis_get_sidebar' );
In your style.css file, add this:
.home #content {
display: none;
}I have a question about adding a logo that is larger than what the theme currently allows, do you know how to do that?
vanhovland
MemberThank you!! I now understand and it is working 🙂 :).
Thanks again for all your help!
Heidi
vanhovland
MemberBrad,
I want it after the header. If I am understanding the hooks correctly, my guess would be: genesis_before_content.
Thanks!
vanhovland
MemberBrad,
Thanks for responding. There already is a 'featured' widget (so I don't think I need to crate a new one). I have put the Genesis Responsive Slider in there, and it works if I select your latest posts under the Theme's options.
I did try emailing to the site's developer and got this back: "To have the slider work with a static page, you would need to create a "widget" area on the static page, which would mean customizing both your PHP theme file, and your CSS file. Brian Gardner, creator of StudioPress, has a couple of tutorials on his blog about how to accomplish this, if you are interested in doing it, as does "Nick the Geek", another StudioPress employee."
I tried to find the tutorials mentioned by doing a search, but did not find them.
I guess I would like to create the widget area, I think that would give me the most flexibility.
Thank you so much for your help!
Heidi
vanhovland
MemberSorry my site url is: http://96.127.180.186/~mvmontes/
Heidi
vanhovland
MemberGreat, that is clear, no home.php needed.
The slider still only works when front page - your latest posts is selected. Will it work on a static front page as well?
vanhovland
MemberBrad,
What I am wanting is a static front page (welcome is what I have called mine), that has the slider on it. Do I need to have a home.php file as Carolyn suggested, or just add the coding to the function.php. Does what I am wanting make sense?
Thanks, Heidi
vanhovland
MemberThanks Brad...I am almost there. Added the genesis slider. Only shows up if I list it as a post page, rather than a static one. Will the slider show up on a static front page or do I need to change something on the page that I want as the static one?
Thanks again everyone for the help!
vanhovland
MemberThanks for your help so far, but I am still having problems, I am copying and pasting your coding from above:
/** Register widget areas */
genesis_register_sidebar( array(
‘id’ => ‘home-top’,
‘name’ => __( ‘Home Top’, ‘fabric’ ),
‘description’ => __( ‘This is the top section of the homepage’, ‘fabric’ ),
) );and I keep getting errors and have to restore my function.php through my file manager. I am fairly new to coding, so I am not sure how to check what it wrong.
vanhovland
Memberwhen I try to add that code to my function.php I get this:
Parse error: syntax error, unexpected T_STRING in /home/mvmontes/public_html/wp-content/themes/fabric/functions.php on line 39
-
AuthorPosts