• I’d like to configure my installation to show a different Front Page based on various conditions (hostname, etc). Essentially, I’d like to dynamically update the “page_on_front” option on a per session basis. Any thoughts on how to how this can be accomplished?

Viewing 2 replies - 1 through 2 (of 2 total)
  • That is not really built in WordPress. What about using the same custom page template, and dynamically changing the contents of what is displayed on the same single page on front?

    Using an
    i`f ( whatever ) {
    display one set of contents
    elseif ( a different condition )
    display a different page of contents
    }`

    They can even be in separate include files so as to not get really long and confusing.

    You could also load different stylesheets in the header based on the same set of conditionm tests

    Thread Starter bobmatnyc

    (@bobmatnyc)

    Yes, I can do this, but was hoping to do it a bit more elegantly. Since selection of the page content is dynamic (but based on a setting), seems to reason it shouldn’t be a huge issue. But perhaps it is.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamic Front Page’ is closed to new replies.