Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Code comment appearing at the beginning of posts and pages


  #1  
Old Nov 4, 2010, 04:14 AM
pcblog
 
4 posts · Nov 2010
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!
  #2  
Old Nov 4, 2010, 04:25 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
check and see what you have at ato->Style & edit CENTER COLUMN->The LOOP

did you make any changes there?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 4, 2010, 05:47 AM
pcblog
 
4 posts · Nov 2010
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 -->
  #4  
Old Nov 4, 2010, 05:58 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what kinds of updates have you been doing?
Have you added any new widget areas?
try disabling all plugins
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Nov 7, 2010, 11:50 PM
pcblog
 
4 posts · Nov 2010
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.
  #6  
Old Nov 8, 2010, 03:11 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Export your settings and attach them to a reply and I'll see if it has anything to do with them
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Nov 9, 2010, 07:03 PM
pcblog
 
4 posts · Nov 2010
Hi juggledad,

Do you mean export the xml file from the Tools tab?
  #8  
Old Nov 10, 2010, 04:31 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
No I mean go to ato->export/import settings and export your settings
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to enable something in all posts without it appearing on pages maverick9999 Center area post/pages 3 Jul 6, 2010 06:04 PM
[SOLVED] Images showing html code wrapped around photo in Posts (pages are fine) - Pa gungo Atahualpa 3 Wordpress theme 7 Jan 4, 2010 03:20 AM
[SOLVED] Images showing html code wrapped around photo in Posts (pages are fine) gungo Atahualpa 3 Wordpress theme 2 Jan 2, 2010 06:43 AM
Widgets appearing on sidebar and on the bottom of new posts dyertribe Sidebars & Widgets 3 Jul 22, 2009 03:25 AM
comment form shows on pages but not posts - why? Lisa Comments, trackbacks & pings 2 Mar 4, 2009 05:14 AM


All times are GMT -6. The time now is 06:46 AM.


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