Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14980
    nzcid
    Member

    Greetings ALl

    URL:
    http://www.christsbooks.com/

    What I would like to do is place a 728×90 banner just under the menu bar.

    I use OIO advertisng system so I can use either the php or Javascript.

    I am comfortable with adding the code in whatever file, if someone is kind enough to point the way.

    Many thanks and blessings.

    #15005
    Sakin
    Keymaster

    @nzcid: Just build child theme and then create file functions.php then add the code like below

    <?php
    function catchbox_child_custom_ads() { 
    	/* Add in your Custom Code here */
    
    }
    add_action('catchbox_after_header', 'catchbox_child_custom_ads', 10 );
    #15012
    nzcid
    Member

    Hey Sakin

    <?php
    catchbox_child_custom_ads { 
    	<?php if(function_exists('oiopub_banner_zone')) oiopub_banner_zone(1, 'center'); ?>
    }
    add_action('catchbox_after_header', 'catchbox_child_custom_ads', 10 );

    I added that code at the end of the file functions file. Did not create a child theme as this is the only alteration I will ever do. Understand if the file is updated I lose the mod.

    However it did not work.

    Many thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Catch Box’ is closed to new replies.