Post Body Background/CSS Controlled Via Admin?
-
I’m wondering if there is anyway you can control the body image css via the admin and custom fields.
So post A you could upload an image to the admin and then put its name in the custom field for that post and when you visited that post the background image would be the image you just uploaded…?
Something like this on the posts page..
<style type="text/css"> body {background-image:url(/<?php bloginfo('template_directory'); ?>/uploads/custom_field_image_path.jpg);background-repeat:repeat;} </style>
Can this be done?
Thanks ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Post Body Background/CSS Controlled Via Admin?’ is closed to new replies.