• Resolved enormousl

    (@enormousl)


    I was messing around with the HTML code for Twenty – Ten 1.2 Theme to get the color schemes and other things like i wanted them.

    Evidently, i messed up somewhere along the line. Now there is

    /* */

    at the bottom of every page. Can someone please tell me/show me where i can find this line of code so i can delete the “/* */” ?

    The symbols are right above the black bar on the bottom of the wordpress site. The site is: https://www.southpacificbiofuels.net

    Thank you

    Charles

Viewing 9 replies - 1 through 9 (of 9 total)
  • munkykisser

    (@munkykisser)

    Hi,

    Have you tried to comment out the “Comments are closed.” using /* */ marks? I think you want to use <!– –> in HTML*.

    (*in the bits outside of the php tagging)

    Thread Starter enormousl

    (@enormousl)

    I think thats what i was trying to do at the time. was get rid of the comments are closed. But now there is that symbol a the bottom of each page.

    Any idea what .php? i go into to fix? or what should i search for to find it?

    /*	<p class="nocomments">Comments are closed.</p> */

    comments.php, toward the bottom

    munkykisser

    (@munkykisser)

    I think it’s within your main content – so likely (this is a guess) something like page.php but it depends on your theme.

    Try searching for class=”nocomments”>Comments are closed. (within php files).

    Thread Starter enormousl

    (@enormousl)

    /* If there are no comments and comments are closed,
    * let’s leave a little note, shall we?
    */
    if ( ! comments_open() ) :
    ?>
    /* <p class=”nocomments”><?php _e( ‘Comments are closed.’, ‘twentyten’ ); ?></p> */
    <?php endif; // end ! comments_open() ?>

    <?php endif; // end have_comments() ?>

    <?php comment_form(); ?>

    </div><!– #comments –>

    ____________________________________________________________

    That is in comments.php – can anyone tell where the /* */ is coming from ?

    Thread Starter enormousl

    (@enormousl)

    Ok. i fixed the /* */

    I had to delete “/*” and “*/” at the begining and end of this line:

    /* <p class=”nocomments”><?php _e( ‘Comments are closed.’, ‘twentyten’ ); ?></p> */

    Thanks again for all your guys’ help. Much appreciated.

    Now back to my original problem. How to get rid of “comments close” under a post?

    Thread Starter enormousl

    (@enormousl)

    sorry. “comments off” under a post

    munkykisser

    (@munkykisser)

    You can use // within php tags.

    Like this i think:

    <p class="nocomments"><?php // _e( 'Comments are closed.', 'twentyten' ); ?></p>

    Or use <!– –> comment tags outside the php tags.

    <!-- <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p> -->

    Try those. Correct me if i’m wrong anyone else.

    use

    <!-- code -->

    in place of the

    \* code *\

    the top is for use in html, the bottom is for php

    EDIT – you were faster @munkykisser, and you are correct

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Symbols at the bottom of my Theme’ is closed to new replies.