Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Ray on "Apollo Theme Header Ad option not working"

$
0
0

I've got the apollo theme for my wordpress.
There's an option to put a header ad without fumbling with css.
However, when I tried to put my goggle adsense code nothing happens neither for Amazon ads. The only thing that works on this header ad option is if I type a message or imgs through html work.

This is what shows for the header ad option in my theme
style.css
#header-ad { float: right; displat: inline-block; >

This is what it shows on the
header.php

<?php
            // Show header ad as defined in the admin panel
            if( of_get_option('header_ad') !== '' ) {
                echo '<div class="col span_8"><div id="header-ad">'. do_shortcode( of_get_option('header_ad') ).'</div></div>';
            } ?>
    	</div><!-- /header -->

Please help, I want it to be able to work.


Viewing all articles
Browse latest Browse all 8245

Trending Articles