1 iceblock Oct 22, 2009 01:11
3 iceblock Oct 30, 2009 05:01
From dashboard > settings > reading:
http://i87.photobucket.com/albums/k150/iceblocky/wpsetting.jpg
You can create an account at wordpress.com to have a look.
4 waltercruz Oct 30, 2009 13:49
I can think on something to help you, but it will have to wait some days.. ok?
5 fplanque Nov 04, 2009 22:44
This is something we should permanently build into the core. Walter if you can, please do so ;)
6 iceblock Nov 04, 2009 23:56
Looking forward to see this!
7 hudson2001 Nov 21, 2009 23:36
Ooooh, I'd LOVE this. It would make it much easier to use this as my entire website, instead of just a blog section.
8 edb Nov 22, 2009 00:22
I've kinda cheated on this one. A blog with only one post as the default blog on index ;) Close comments, style it appropriately, put one post per page, and there you go.
9 sam2kb Nov 22, 2009 00:58
There's a much easier way
if( is_default_page() )
{
$disp = 'home';
}
skin_include( '$disp$', array(
'disp_home' => '_home.disp.php',
'disp_posts' => '', // We already handled this case above
'disp_single' => '', // We already handled this case above
'disp_page' => '', // We already handled this case above
) );
And then create a new disp file _home.disp.php
10 edb Nov 22, 2009 02:20
SWEET!
I always forget about custom disp/include pages :(
11 lturner Nov 22, 2009 09:59
I have to say I went the same route as EdB - a one post blog as the default blog in the system. I also added some skin settings to allow me to turn off all the tags, categories and other related metadata.
I didn't think of a custom display page either. I like the idea of managing all my pages through b2evo though so the one post blog works really well for that.
Allowing a page to be the default front page would be a great addition.
L
12 ethan5150 Apr 26, 2010 22:40
I completely agree. The lack of this feature has been driving me insane :lol:
13 davek Feb 07, 2011 07:45
I'm running 4.0.3
The is_default_page() method for a default home page isn't working for me.
If I put in the url index.php?disp=home all is well and my _home_disp.php page displays. But the following code fails to work.
from my index.main.php
<?php
if (is_default_page()){
$disp = 'home';
}
// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
skin_include( '$disp$', array(
'disp_about' => '_about.disp.php',
'disp_home' => '_home.disp.php',
) );
// Note: you can customize any of the sub templates included here by
// copying the matching php file into your skin directory.
// ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
?>
Any idea what is going wrong here?
edit to add: By not working I mean if you hit the entry page of the site index.php the _home.disp.php doesn't load - you just get the main post list. I tossed an echo statement in the task bar to confirm that is_default_page() is returning true/1 when expected. And I tried just taking the if statement out and simply setting $disp=home to try to force the issue but it still loaded the regular main post list. Could this be a variable scope problem with $disp?
sam2kb wrote:
There's a much easier way
if( is_default_page() ) { $disp = 'home'; } skin_include( '$disp$', array( 'disp_home' => '_home.disp.php', 'disp_posts' => '', // We already handled this case above 'disp_single' => '', // We already handled this case above 'disp_page' => '', // We already handled this case above ) );
And then create a new disp file _home.disp.php
can you show me a example of how it works in a wordpress? a real blog with it.. or a screenshot?