Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Code comment appearing at the beginning of posts and pages (http://forum.bytesforall.com/showthread.php?t=10961)

pcblog Nov 4, 2010 04:14 AM

Code comment appearing at the beginning of posts and pages
 
First of all, thanks so much for this great theme!

I have been updating my site as usual but today realised that " /**/" (which I can only assume it's a code comment) appearing at the beginning of every post and every page.

I have tried searching for it in all the files but can't seem to find anything wrong.

Can someone please help me debug?

This is the site.

Thanks!

juggledad Nov 4, 2010 04:25 AM

check and see what you have at ato->Style & edit CENTER COLUMN->The LOOP

did you make any changes there?

pcblog Nov 4, 2010 05:47 AM

Hi juggledad,

This is the code for the Loop, I don't remember making any changes to it:

/*<?php /* For SINGLE post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_post_links('Top'); ?>*/

<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>

<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>

<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>

<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>

<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>

<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>

</div><!-- / Post -->

juggledad Nov 4, 2010 05:58 AM

what kinds of updates have you been doing?
Have you added any new widget areas?
try disabling all plugins

pcblog Nov 7, 2010 11:50 PM

hmmm

I've tried disabling all plugins but the comment code is still there.

When I view page source I can see that it appears before every post and on every page.

juggledad Nov 8, 2010 03:11 AM

Export your settings and attach them to a reply and I'll see if it has anything to do with them

pcblog Nov 9, 2010 07:03 PM

Hi juggledad,

Do you mean export the xml file from the Tools tab?

juggledad Nov 10, 2010 04:31 AM

No I mean go to ato->export/import settings and export your settings


All times are GMT -6. The time now is 04:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.