I have code that is showing up on the live side of my wordpress website. This is the url for the website http://www.stonegateassociates.com/. See how there is code showing next to the rss icon at the bottom of the screenshot. How do I get rid of that? I made the site on wordpress. In the featured.php <div class="fr"> <ul class="pagination"> <?php $count_nav = 1; while ( $count_nav <= $count ) { ?> <li <?php if ( $count_nav == 1 ) echo 'class="active"'; ?>><a href="#"></a></li> <?php $count_nav++; } ?> </ul> </div> <div class="fix"></div> </div><!-- /.col --> <!-- Infamia added social icons --> <div class="col-right" id="stonegate-social"> <a class="twitter-social" href="https://twitter.com/@brad_stonegate" target="_blank"></a> <a class="in-social" href="http://www.linkedin.com/in/braddwin" target="_blank"></a> <a class="rss-social" href="http://www.stonegateassociates.com/feed" target="_blank"></a> <?php $feedurl = get_option('woo_feed_url'); if ( !empty($feedurl) ) { echo $feedurl; } else { echo bloginfo('url') . "/?feed=rss2"; } PHP: In theme functions <div id="breadcrumb"> <div class="col-full"> <div class="fl"><?php if ( function_exists('yoast_breadcrumb') ) yoast_breadcrumb('',''); ?></div> <div class="fr"> <a class="twitter-social " href="https://twitter.com/@brad_stonegate" target="_blank"></a> <a class="in-social" href="http://www.linkedin.com/in/braddwin" target="_blank"></a> <a class="rss-social" href="http://www.stonegateassociates.com/feed" target="_blank"></a> <?php $feedurl = get_option('woo_feed_url'); if ( !empty($feedurl) ) { echo $feedurl; } else { echo bloginfo('url') . "/?feed=rss2"; } ?> PHP:
Hi it is because of the echo from the code.. You can remove this bit of code from both the file Remove both 'echo' and refresh and check it.. It may help you..