Relegate Blog Posts to Subpage

45 views
Skip to first unread message

Shaw

unread,
Apr 12, 2010, 10:48:43 PM4/12/10
to Carrington CMS Theme Framework for WordPress
Carrington has been great for me so far, though I'm easily getting
lost in all of the subfolders and theme files.

One issue I haven't been able to get around is, how do I display the
blog posts on a subpage? In Wordpress, you'd normally change that on
the "Reading Settings" admin panel and select the page to show.
However, with Carrington, the page then shows up using the "home"
template. Perhaps I'm just missing something?

Shaw

unread,
Apr 20, 2010, 7:55:21 PM4/20/10
to Carrington CMS Theme Framework for WordPress
This still has me completely stuck. It's killing my site's
development.

Please, any ideas? Thanks.


--
Subscription settings: http://groups.google.com/group/carrington-framework/subscribe?hl=en

Kai Pan

unread,
Apr 20, 2010, 10:24:09 PM4/20/10
to carrington...@googlegroups.com
Carrington is showing Home because that's the Home "context". You've set Wordpress to show that page as "home".

Shaw

unread,
Apr 23, 2010, 3:36:59 PM4/23/10
to Carrington CMS Theme Framework for WordPress
You are correct, Kai Pan. After much testing and frustration, I found
this as a limitation of Carrington.

In Wordpress, your home context depends on your Front Page Displays
settings on the Reading admin panel.

With Front Page Displays -> Your Latest Posts, "is_home()" and
"is_front_page()" both show up as TRUE on the blog roll page.
With Front Page Displays -> A Static Page, "is_home()" is TRUE on the
_blog_ page and "is_front_page()" is TRUE on whatever Page is set as
_front page_.

However, to the best of my knowledge, Carrington uses the home.php
template for both. Am I missing something?

It would be fantastic to be able to create "front_page.php" templates
in addition to "home.php" template, specifically in the /header/ & /
footer/ directories. Currently, I'm stuck doing if statements in the
home.php templates to distinguish between the two.

Thanks.

On Apr 20, 9:24 pm, Kai Pan <kai....@gmail.com> wrote:
> Carrington is showing Home because that's the Home "context". You've set
> Wordpress to show that page as "home".
>
Reply all
Reply to author
Forward
0 new messages