Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
contents in different columns
#7
@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
Reply


Messages In This Thread
contents in different columns - by daniz - 2009-10-26, 20:35:44
contents in different columns - by Texta - 2009-11-13, 01:41:35
contents in different columns - by daniz - 2010-01-14, 21:33:55
contents in different columns - by Zegnåt - 2010-01-15, 07:53:30
contents in different columns - by daniz - 2010-01-15, 18:35:55
contents in different columns - by internet54 - 2010-01-16, 01:01:22
contents in different columns - by daniz - 2010-01-27, 18:10:00



Users browsing this thread: 1 Guest(s)