![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have created my own child theme and made my own front page.
For the Front Page I made a home.php template. I only want 3 categories on my home page. Inside I have other pages pulling post, but I was able to make custom post types, so I can pull in just the categories I want. The "Theme Settings" option to exude pages appears to only work for pages that are using the "blog" template. So my question is... how can I control the categories on my home.php page? thank you, Kim White |
|
#2
|
||||
|
||||
|
Put widget areas on the home.php. Use the Featured posts widget and restrict it to categories using the widget settings. :)
__________________
***** These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN. If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab. If you need Account Assistance, file a help desk ticket at the same location. |
|
#3
|
|||
|
|||
|
ok. I do have widgets on.
So how do I make the features post NOT in the sidebar then but where I want them? right now my home page just looks like this: the main thing i'm doing is adding special wrap div only for the index page to format mypost. I'm guessing i"m going about this is the wrong way? <?php get_header(); ?> <div id="index-wrap"> <?php genesis_before_content_sidebar_wrap(); ?> <?php genesis_before_content(); ?> <?php genesis(); ?> <?php genesis_after_content(); ?> </div> <?php get_footer(); ?> |
|
#4
|
||||
|
||||
|
You need to make a home.php that has widget areas - much like we did in some of our other themes.
__________________
***** These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN. If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab. If you need Account Assistance, file a help desk ticket at the same location. |
|
#5
|
|||
|
|||
|
I have some themes so I will look.
A large part of my problem is there is a full width image that separate the page. I have not seen a way to handle this with the widgets. I would REALLY like to fix this, as I'm making it the background image and forcing a "space" between the widgets to accommodate. but I can't link it, and I know it will come back to bite me. here is the layout... if you can point me in the right direction I would be VERY grateful. The site is done, but behind a wall till we go live on Wed. I need to solve the post problem by then.
|
|
#6
|
||||
|
||||
|
You'd need two sidebar areas to start - the top right and the bottom right.
I;d do a top left and right, then a middle fill width area and THEN the left side post area and the regular sidebar.
__________________
***** These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN. If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab. If you need Account Assistance, file a help desk ticket at the same location. |
|
#7
|
|||
|
|||
|
I did not think I could add two sidebar areas that call separate sidebar widgets on one page.
That might be over my head. Could you point me to a tutorial or example? I know just enough to be dangerous at this point. |
|
#8
|
||||
|
||||
|
Sidebars and widget areas are the same thing. :)
http://www.studiopress.com/tutorials...er-widget-area
__________________
***** These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN. If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab. If you need Account Assistance, file a help desk ticket at the same location. |
|
#9
|
|||
|
|||
|
Ok. I'm getting the hang of it. One last question. how do I get rid of the primary sidebar from the homepage. I would prefer just to have my 3.
|
|
#10
|
||||
|
||||
|
If you don;t call the genesis() function in home.php you won;t get it or the post area.
In your example above, you can use it in the bottom half of the page if you wanted. It;s either /or.
__________________
***** These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN. If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab. If you need Account Assistance, file a help desk ticket at the same location. |
|
#11
|
|||
|
|||
|
strange. I'm not calling the genesis() functions... and it's there...
you can see the page here: http://davidfreedforag.com/new/ login... Viewer Test145 <?php get_header(); ?> <div id="index-wrap"> <?php if( function_exists('dynamic_content_gallery') ) : ?> <div class="dcg"> <?php dynamic_content_gallery(); ?> </div><!-- end .dcg --> <?php endif; ?> <div id="home-endorse-widget"> <?php if (!dynamic_sidebar('Home Endorse Form')) : ?> <div class="widget"> <h4><?php _e("Home Endorse Form", 'genesis'); ?></h4> <div class="wrap"> <p><?php _e("Post Here.", 'genesis'); ?></p> </div><!-- end .wrap --> </div><!-- end .widget --> <?php endif; ?> </div> <div id="freedfeed"> <img src="http://davidfreedforag.com/img/freedfeed.jpg" width="940" height="56" alt="Freed Feed"> </div> <div id="home-post-widget"> <?php if (!dynamic_sidebar('Home Post Area')) : ?> <div class="widget"> <h4><?php _e("Home Post Area", 'genesis'); ?></h4> <div class="wrap"> <p><?php _e("Post Here.", 'genesis'); ?></p> </div><!-- end .wrap --> </div><!-- end .widget --> <?php endif; ?> </div> <div id="bottom-widget"> <?php if (!dynamic_sidebar('Home Bottom Side')) : ?> <div class="widget"> <h4><?php _e("Home Bottom Side", 'genesis'); ?></h4> <div class="wrap"> <p><?php _e("Post Here.", 'genesis'); ?></p> </div><!-- end .wrap --> </div><!-- end .widget --> <?php endif; ?> </div> <?php genesis_after_content(); ?> </div> <?php get_footer(); ?> |
|
#12
|
|||
|
|||
|
found it....
<?php genesis_after_content(); ?> I'm still pretty dangerous ... but it's working. thanks for the help. Kim |
|
#13
|
||||
|
||||
|
Great since the issue is resolved, I'll close the thread. If you have more questions, please open a new thread.
__________________
***** These forums were CLOSED to new posts on November 19th, 2012. New forums are here: http://www.studiopress.com/forums/ and you will need to SIGN UP AGAIN. If you need assitance with setting up your theme, go to http://my.studiopress.com/ and read the SETUP links or the TUTORIALS link on the side tab. If you need Account Assistance, file a help desk ticket at the same location. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Next" and "Previous" post feature on Homepage/Front Page | WyffGoaL | General Discussion | 5 | 04-08-2010 04:20 AM |
| having a "sticky" post on front page | jonbennett | General Discussion | 1 | 07-23-2009 09:50 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us