The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Making a demo page with WordPress

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #30932

    Hey all. I’ve been taking a stab at writing my first tutorial for my WordPress blog, and I’ve run into a most peculiar problem. I’m not sure of the best way to create a demo page. I want the template for the demos to be rather simple (just a branding header with a link back to the article, and then a blank area for the demo itself to go in, sort of modeled on what Chris has done for the CSS-Tricks demos). The problem is that I’m drawing a blank on how best to do it. I’ve got a few ideas, but they all seem rather cludge-y, so I figured I’d ask around here. Does anyone have some advice, or know of a tutorial I could read up on?

    Thanks in advance for any help!


    why don’t you just make a template file and call it Demo Page and then assign that page to the demo that you want to create?


    Definitely agree with the above. Make a custom template that displays the header, and calls the_content();

    Then write all of your html code inside of the post.

    Only issues I can see are styling it? (use inline styling? *shudder*)

    And possibly the use of PHP. May need to get a plugin that lets you embed php into your posts.


    I thought of another possibility. Use a custom field for everything that would go between the

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.