WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm starting with wordpress and I have some doubts.

I created a proprietary design from requirements that had. This design is made with html and bootstrap. Now I want to start using wordpress step then as the pages that I have the layout I made to wordpress?

When I paste the html code when I create a new page, my code has things like this ...

<a href="#"> <img src = "<? php echo get_template_directory_uri ();?> / images/clean/32x32/facebook.png" alt = "Facebook"> </ a>

or php code which is not interpreted. How should I? I tried to give the image add text box but would have to upload the images, but if you and I have in the theme!!

share|improve this question

Resources in the Theme package don't belong in post_content. Images in post_content need to be uploaded and attached from within WordPress.

If you want to add images and content to the page template itself, refer to Page Templates.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.