Wordpress Demo Pages for Tutorials
I have a few tutor开发者_JAVA百科ials that I would like to write up. Many web-based tutorials have a demo page and a zip download of the demo. I can easily upload a zip file to my post, but the for the demo i'm not quite sure. The demo page would need to be different from the theme I'm currently using. One example of this style would be http://css-tricks.com/3d-text-tower/ . Does anyone know how to make a demo page in this style using wordpress?
In the example you linked, I think the demo is (probably) just a static page in an "examples" subfolder of the site. So that wouldn't be a good example of what you want, since it's not tied in to WordPress or whatever CMS they're using.
If you need a demo to live within a specific design, just create a new page template which strips out unneeded stuff or otherwise gives you a nice canvas area for the demo. Once you have that, you can make a new page for the demo, select the demo template, and paste the code into the HTML tab of the WordPress editor.
精彩评论