Support » Fixing WordPress » unwanted forward slash signs showing

  • hi there
    I seem to have picked up some unwanted forward slash signs at the bottom of every page on my site

    see here for an example:

    I know its something to do with editing one of the php files but can’t see to find where the ‘*/’ and ‘/*’ text is to be found and deleted.

    Can anyone help??

    Thanks! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Check this leftover of editing:

    <div class="comment_section">
              <!--Start Comment list-->
              /*<!-- You can start editing here. -->
    <div id="commentsbox">
              <!--End Comment Form-->

    As can be seen, it is in comment form.

    where? the comments.php file doesn’t show that code and I can’t see the */ text in it anywhere

    	if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    		die ('Please do not load this page directly. Thanks!');
    	if ( post_password_required() ) { ?>
    <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.','colorway'); ?></p>
    <!-- You can start editing here. -->
    <div id="commentsbox">
    <?php if ( have_comments() ) : ?>
    	<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?><?php _e('so far.','colorway'); ?></h3>
    	<ol class="commentlist">
    		<?php wp_list_comments(); ?>
    	<div class="comment-nav">
    		<div class="alignleft">
    			<?php previous_comments_link() ?>
    		<div class="alignright">
    			<?php next_comments_link() ?>
    <?php else : // this is displayed if there are no comments so far ?>
    	<?php if ( ! comments_open() && ! is_page() ) : ?>
    		<?php _e('','colorway'); ?>
    	<?php endif; ?>
    <?php endif; ?>
    <?php if ( comments_open() ) : ?>
    	<div id="comment-form">
    		<?php comment_form(); ?>
    <?php endif; // if you delete this the sky will fall on your head ?>

    where are you referring to that I need to go to to take out the */ bit?

    Part of what I quoted can be seen in the above:

    <!-- You can start editing here. -->
    <div id="commentsbox">

    Anyway, you can check it with Firebug + Firefox and see the code on the page quoted by you.

    I have the same problem but I have got comments turned off so I don’t think that the fault is in my comments.php

    Moderator Andrew Nevins


    Forum moderator

    If you post a new thread, there’s more chance that you’ll receive some help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘unwanted forward slash signs showing’ is closed to new replies.