WordPress.org

Forums

[resolved] Add an image to my church theme header (5 posts)

  1. marco61
    Member
    Posted 5 years ago #

    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

  2. Matty Cohen
    Member
    Posted 5 years ago #

    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.

  3. marco61
    Member
    Posted 5 years ago #

    I copied my image location to the options section under 468x60 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

  4. Matty Cohen
    Member
    Posted 5 years ago #

    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.

  5. marco61
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic