2010-01-27, 18:10:00
@internet54 Well...I agree to your sig but the client is still the one who pays me ;-)
Ok, I did it the easy way!
I´ve put the following code in the template file:
<img src="<?php get_site_url(); ?>data/uploads/<?php get_page_slug(); ?>.jpg" />
<img src="<?php get_site_url(); ?>data/uploads/footer_<?php get_page_slug(); ?>.jpg" />
The client just have to upload an image with the name of the page´s slug.
Maybe I will change it to a function with a default image?!
Cheerz Daniz
Ok, I did it the easy way!
I´ve put the following code in the template file:
<img src="<?php get_site_url(); ?>data/uploads/<?php get_page_slug(); ?>.jpg" />
<img src="<?php get_site_url(); ?>data/uploads/footer_<?php get_page_slug(); ?>.jpg" />
The client just have to upload an image with the name of the page´s slug.
Maybe I will change it to a function with a default image?!
Cheerz Daniz