• alaplant

    (@alaplant)


    Hello There,

    I am new to WordPress and I help with changing a couple images dynamically for separate pages. Right now the background is the image in the CSS and it needs to stay that way because of the way that the site is designed, also I need to change throughout different pages and the user need to be able to upload an image in the admin section of the page and it change dynamically.. Please help im super stuck and if you need instructions on what need to happen let me know because I could definitely use the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    You could add the background image to the post or page via a custom field and then output the new background images CSS in the <head></head> section of the page.
    Custom Fields

    Thread Starter alaplant

    (@alaplant)

    I understand adding the custom fields but I need the image with an input field and the image needs to change dynamically in the CSS

    esmi

    (@esmi)

    I need the image with an input field

    That’s exactly what custom fields have. If you want, you could build a custom meta box for this field if you want.

    the image needs to change dynamically in the CSS

    Yes – that’s exactly what outputting the new background images CSS in the <head></head> section of the page will do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing Images on pages’ is closed to new replies.