Wordpress - Adding a page made using Dreamweaver?

by chini
2 replies
  • WEB DESIGN
  • |
Ok well basically i have a wordpress blog, PR4 and installed in public_html. I want to add a html/css page i created to the blog. I tried add a page/post in the wordpress console, but it only allows html (how do you connect the css to it?)

I then tried adding the page (which is a simple html file) into the public_html directory, but to access the page it ends with .html Which looks stupid.

So i was wondering if anyone can recommend the best solution to this problem, which i have over-looked?
#adding #dreamweaver #made #page #wordpress
  • Profile picture of the author Kezz
    The easiest way is if you create a page template out of the html/css page that you have. You can essentially have a page template look completely different to the rest of your site if you want. To use it, you create a new page, and then select your custom page template from the dropdown list on the right.

    To create a page template, all you need is a little snippet at the top that tells wordpress the file is a page template, and another couple of lines that tells wordpress to spit out the content of the page you have applied the template to.

    Rather than me pasting the code here, you can check out the instructions for how to do it on the Wordpress site: Pages WordPress Codex

    If you scroll down a little past half way you'll see the info you need.
    {{ DiscussionBoard.errors[794384].message }}
  • Profile picture of the author chini
    thanks Kezz, i did exactly what you said and uploaded the template. It works, but the images are not being displayed. I put the images in the image folder of the theme.
    {{ DiscussionBoard.errors[797400].message }}

Trending Topics