Forums

Enable users to upload custom headers (7 posts)

  1. eatanicecream
    Member
    Posted 2 years ago #

    I'm wondering how to set up themes so that users can upload a custome header image from the backend?

  2. eatanicecream
    Member
    Posted 2 years ago #

    No one?

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    I don't know the answer offhand....but, I know there are themes that allow you to upload custom headers.

    When I was learning WP, I would find themes that do what I want, and steal that bit of code.....

    That's what I would recommend, find some themes that allow custom headers, test till you find one that does it just like you want, and copy the code.....

  4. eatanicecream
    Member
    Posted 2 years ago #

    That's a good suggestion, thanks a lot. Pretty sure it requires quite a lot of messing around in functions.php and my PHP skills aren't really up to scratch though...

    I'm surprised there doesn't seem to be anything in the Codex on this.

  5. eatanicecream
    Member
    Posted 2 years ago #

    Actually, a bit more searching around made me find this tutorial: http://budstechshed.com/add-a-custom-image-header-function-to-your-admin-panel/

    It now works.

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    cool! I'm gonna bookmark that one for later!

  7. eatanicecream
    Member
    Posted 2 years ago #

    Be careful though! Everything worked fine for me yesterday, but today I just get a blank screen, both for the site and wp-admin.

    I backed up my functions.php and header.php files before doing it, unfortunately I didn't do any other backups...

Topic Closed

This topic has been closed to new replies.

About this Topic