Hi,
I have my site published at http://www.okomeds.com.
I customized my home.php, and the homepage is not well seen with IE (but it is well seen with Chrome, Safari, Firefox).
In home.php, the original code was:
<?php if ( get_option('chameleon_quote') == 'on' ) { ?>
<div id="category-name">
<div id="category-inner">
<?php if ( get_option('chameleon_quote_one') <> '' ) { ?>
<h3>"<?php echo get_option('chameleon_quote_one'); ?>"</h3>
<?php } ?>
<?php if ( get_option('chameleon_quote_two') <> '' ) { ?>
<p><?php echo get_option('chameleon_quote_two'); ?></p>
<?php } ?>
</div>
</div> <!-- end .category-name -->
<?php } ?>
And now it is:
<?php if ( get_option('chameleon_quote') == 'on' ) { ?>
<div id="quote">
<?php if ( get_option('chameleon_quote_one') <> '' ) { ?>
<h3><?php echo get_option('chameleon_quote_one'); ?></h3>
<?php } ?>
<?php if ( get_option('chameleon_quote_two') <> '' ) { ?>
<?php if(ICL_LANGUAGE_CODE=='en'){ ?>
<h5><?php echo do_shortcode('[stray-random categories=eng]'); ?></h5>
<?php } else { ?>
<h5><?php echo do_shortcode('[stray-random categories=esp]'); ?></h5>
<?php } ?>
<?php } ?>
</div> <!-- end #quote -->
<?php } ?>
The problem is exactly in line:
Before:
<p><?php echo get_option('chameleon_quote_two'); ?></p>
Now:
<p><?php echo do_shortcode('[stray-random categories=eng]'); ?></p>
Only replacing do_shortcode('[stray-random categories=eng]')
Anybody can help me solve this?
Thanks!