• Resolved Pascal46

    (@pascal46)


    I have travel blogs on my WP Multisite and I like to randomly display custom made header images pertaining to each travel. It is very easy to do so on articles (posts) since my uploaded custom images are separated from the theme default images.

    But it is not possible to do so on pages since all header images, child-theme and mine, are all mixed together.

    Is there a way, via the child theme function.php (see link below), to disable the child-theme default header images and stop them from appearing as choice ?

    Maybe this link could offer a solution : http://aaron.jorb.in/blog/2010/07/remove-all-default-header-images-in-a-twenty-ten-child-theme/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Tomas Mackevicius

    (@tomasm)

    One very easy way, that doesn’t need any functions.php modification is to replace default images with your own. Just name your own images:

    TinyForge-header.jpg
    TinyForge-header-02.jpg
    TinyForge-header-03.jpg

    and place them in: \images\headers of a child theme. If you want to see their thumbnails, then replace default thumbnails too:

    TinyForge-header-thumbnail.jpg
    TinyForge-header-02-thumbnail.jpg
    TinyForge-header-03-thumbnail.jpg

    Check if it works for you.

    Thread Starter Pascal46

    (@pascal46)

    Yes. I like your idea. On my WP multisites, I have 12 different blogs sharing the same child theme. What I am going to do is to duplicate this child theme as many times as needed under different names so that each blog will have its own child theme with its own custom headers images. I think this will work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disabling default header images from child-theme’ is closed to new replies.