See WP views and theme options via URL

4 replies
  • WEB DESIGN
  • |
Is there a way to see various views and theme options through URL?

What I am trying to do is to simplify the viewing of demo sites with various views and theme options.

In other words I don't want 3 installs for a customer to see the one column layout, the two column layout, and the three column layout. The same goes for things like a "home page" with 3 widget areas on one side only versus a home page with 3 widget areas on both sides.

I know I can take screenshots of the various setups - this is what I do now.

But having a live demo with only the options the customer wants to see may be helpful too. So for example: myblog.com/1column would show the 1 column layout and myblog.com/2column would show the 2 column layout.

Thanks in advance for any help.

Mark
#options #theme #url #views
  • Profile picture of the author Marketer Matt
    You can do this with page template pretty easily: Page Templates « WordPress Codex

    It'd probably be nice to add all of those to your theme as well anyway.
    {{ DiscussionBoard.errors[8952564].message }}
    • Profile picture of the author jpweb
      Originally Posted by Marketer Matt View Post

      You can do this with page template pretty easily: Page Templates « WordPress Codex

      It'd probably be nice to add all of those to your theme as well anyway.
      +1 to this response! Excellent way to include all those views. My 2 cents add-on is create a directory in your theme folder called /page-templates and place all your custom template pages in there.. Keeps things nice and tidy.
      {{ DiscussionBoard.errors[8953228].message }}
  • To achieve you need to customize theme.php.
    {{ DiscussionBoard.errors[8953976].message }}
  • Profile picture of the author WPcrew
    Piece of advice - when you're developing theme layouts, you can incorporate options in such way so that layouts can be over-ridden per page/post basis. So, what do I mean?

    You can add widget in post / page editor, and there will be option to select layout for that post or page. That's useful option for users, and it will make your demos easier.
    {{ DiscussionBoard.errors[8954057].message }}

Trending Topics