Grow your CSS skills. Land your dream job.

how can i modify the ( comment form ) on wordpress ..? i need to change the text place

  • # January 24, 2012 at 10:29 am

    i want to change my comment form to something like this ( IMAGE ) , so i need to get the ( name, url and email ) to be front of each of box .

    i tried to modigy it using ( comment_form () ) but still errors , something like :


    Notice: Undefined variable: aria_req in C:xampphtdocswordwp-contentthemes3thoobcomments.php on line 57

    and this is my comment.php :


    < ?php
    /**
    * @package WordPress
    * @
    */
    ?>


    < ?php if ( post_password_required() ) : ?>


    < ?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() ) : ?>

    التعليقات على هذه التدوينة : < ?php comments_number( '0', '1', '%' ); ?>





      < ?php wp_list_comments( array( 'callback' => 'athoob_comment' ) ); ?>



    < ?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() ) :
    ?>

    < ?php endif; // end ! comments_open() && ! is_page() ?>
    < ?php endif; ?>

    < ?php endif; ?>


    < ?php comment_form(
    array(
    array(
    'author' => '

    ' . ( $req ? '*' : '' ) .
    '

    ',
    'email' => '',
    'url' => '

    ' .
    '

    ',
    ),
    'comment_notes_after' => '',
    'comment_field' => '

    '

    ));

    ?>
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Projects

Colophon

CSS-Tricks* is created, written by, and maintained by Chris Coyier. It is built on WordPress, hosted by MediaTemple, and the assets are served by MaxCDN. The fonts are Source Sans and Source Code Pro. It is made possible by viewers like you who subscribe to The Lodge and through advertising for products and services I like.

*May or may not contain any actual "CSS" or "Tricks".