Support » Fixing WordPress » add html to a page template??

  • I have the simple page template code below. How do I add an image from the media library to show as my content area background?

    Thank You.

    Template Name: About
    get_header(); ?>

    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
  • you can add html code anywhere between ?> and <?php

    Note: Traditionally, you would do this via css… but you can do the following:

    body {background-image:url('pathtoyourimage.jpg');}

Viewing 1 replies (of 1 total)
  • The topic ‘add html to a page template??’ is closed to new replies.