why the next code works outside of wordpress, in my localhost directory (www) and when i place the same file inside my wordpress template directory it isn’t able to show the background-image of the
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
background-image: url(<?php echo 'screenshot.png' ?>);
in fact i want to change with php the background of the div accordingly to what cathegory is on.
can u give me some advice?
- The topic ‘php code inside `<style></style>` definitions’ is closed to new replies.