WordPress.org

Support

Support » Themes and Templates » [Resolved] Add an image to my church theme header

[Resolved] Add an image to my church theme header

  • marco61
    Member

    @marco61

    I’m a newbie after reading watching tutorials, I’m still confused. I’d like to an a image to my header. My website is http://www.markanthonyblunt.com. I’ve made a copy of my theme and when I go into an editor to look at index.html The only place I see a ref is as follows:

    <?php if(get_theme_mod(‘468_ad’) == ‘Yes’) { ?>
    <div class=”adblock”>
    <?php echo stripslashes (get_theme_mod(‘468_code’)); ?>

    Is this where I should be putting my image location information. If I’m in the wrong ball park please help me get it straight.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Matty Cohen
    Participant

    @mattyza

    Hi marco61,
    As far as I understand, the Church Theme has an options panel on which you provide your image location for the above-mentioned image. From there, that value gets stored in the database under “468_ad” and then called into your theme via the code you have provided.

    As I have yet to work with the Church theme, I am unsure as to exactly what information is to be provided in the theme options panel. Just thought I’d clarify what the process looks like to me. 🙂

    I hope this helps.

    Cheers,
    Matty.

    marco61
    Member

    @marco61

    I copied my image location to the options section under 468×60 Ad block
    saved it went to view and nothing showed up. Should their be some additional code to make it work. Or am I missing a step.

    Thanks

    Mark

    Matty Cohen
    Participant

    @mattyza

    Hi Mark,
    From what I can see in the code snippet you’ve provided, the theme is looking for a block of code generated by an advertising website.

    If you don’t have this, I’d say try something like this:

    <img src="PLACE_THE_FULL_PATH_TO_YOUR_IMAGE_HERE" />

    Paste the above into the block in the theme options panel. This will generate an image tag calling your image that you would like in the top banner area.

    Please advise your results with this.

    I hope this helps. 🙂

    Cheers,
    Matty.

    Thanks that was it. Sorry I was slow in responding.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Add an image to my church theme header’ is closed to new replies.