Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
background image change from admin panel
#3
(2013-06-05, 20:01:26)yojoe Wrote: Simplest solution is to add this banner as a normal img inside page content, and position it respectively along with page content.
You can also make use of customfields plugin, add a special field for your image and add a call to this field inside your template file.
Last quite easy way of doing it, is a hardcoded path to image inside template file.
Just place an img tag inside template pointing to image located in for example data/uploads/banners, name the image the same as page slug, and call <?php get_page_slug(); ?>.jpg

Thank You for the suggestion. I went ahead with custom field. Smile
Reply


Messages In This Thread
RE: background image change from admin panel - by arunondeck - 2013-06-18, 04:06:04



Users browsing this thread: 1 Guest(s)