# another questions : 1- how can i give the box a default value ...? like (your name - your email ...etc ) instead of put < labels > before or after boxes .. 2- the < textarea > , i want to make it not sizable .. because it make a distortion ..
<div id="commentreplycontainer"> <?php if ( post_password_required() ) : ?> <div class="must-log-in"><?php _e( 'هذه التدوينة محمية ، أدخل كلمة المرور لمشاهدة هذه التدوينة' ); ?></div> </div><!--END commentreplycontainer --> <?php /* Stop the rest of comments.php from being processed, * but don't kill the script entirely -- we still have * to fully load the template. */ return; endif; ?>
<?php // You can start editing here -- including this comment! ?> <?php if ( have_comments() ) : ?> <div id="commentscontainertitle"> <h2>التعليقات على هذه التدوينة : <?php comments_number( '0', '1', '%' ); ?></h2> </div>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ( comments_open() ) : // If comments are open, but there are no comments ?>
<?php else : // or, if we don't have comments:
/* If there are no comments and comments are closed, * let's leave a little note, shall we? * But only on posts! We don't want the note on pages. */ if ( ! comments_open() && ! is_page() ) : ?> <p class="must-log-in"><?php _e( 'التعليقات مغلقة' ); ?></p> <?php endif; // end ! comments_open() && ! is_page() ?> <?php endif; ?>
in addition, you have some indices with associative keys, and others with only values. is that intentional? I would also recommend formatting/indenting your code to make it easier to find mistakes like this.
hi guys ...
i am working on wordpress theme , and i had some error here ..
i working on comment form , and i would to put a text ( label ) after the input boxes .
i tried many times but still there is error ..
there is error here between line 1 to 10 ...
the error :
# another questions :
1- how can i give the box a default value ...? like (your name - your email ...etc ) instead of put < labels > before or after boxes ..
2- the < textarea > , i want to make it not sizable .. because it make a distortion ..
#another questions:
1-
2-Add this to your css:
this is my comment.php file that work on it :
the error is :
please guys , i am tired , i dont know what is this wrong ,,,,,,
-------------------------------------------------------------
for the default value , look at this image and i think u got what i meant.
I wonder if it's not liking the language? Try replacing the above with this:
If that works, then you know it's something that you've changed that isn't working.