Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ramyadhamu

    (@ramyadhamu)

    Hey issue got resolved. Thank you it worked

    Thread Starter ramyadhamu

    (@ramyadhamu)

    Hi i have posted my entire code…. But i have set all the paranthesis

    Thread Starter ramyadhamu

    (@ramyadhamu)

    Hi Accuwebhosting
    I got this error after updating the above code…
    Parse error: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) in D:\Hosting\test_temp\wp-content\themes\oxygen\functions.php on line 244

    ‘comment_notes_before’ => ”,
    ‘comment_notes_after’ => ”,
    ‘id_form’ => ‘commentform’,
    ‘id_submit’ => ‘submit’,
    ‘class_submit’ => ‘submit’,
    ‘name_submit’ => ‘submit’,
    ‘title_reply’ => __( ‘Leave a Reply’ ),
    ‘title_reply_to’ => __( ‘Leave a Reply to %s’ ),
    ‘cancel_reply_link’ => __( ‘Cancel reply’ ),
    ‘label_submit’ => __( ‘Post Comment’ ),
    ‘submit_button’ => ‘<input name=”%1$s” type=”submit” id=”%2$s” class=”%3$s” value=”%4$s” />’,
    ‘submit_field’ => ‘<p class=”form-submit”>%1$s %2$s</p>’,
    ‘format’ => ‘xhtml’
    );

    return $args;
    }

    Thread Starter ramyadhamu

    (@ramyadhamu)

    $args = array(
    ‘fields’ => apply_filters( ‘comment_form_default_fields’, $fields ),
    ‘comment_field’ => ‘<p class=”form-textarea req”><!–<label for=”comment”>’ . __( ‘Comment’, ‘oxygen’ ) . ‘</label>–><textarea name=”comment” id=”comment” cols=”60″ rows=”10″></textarea></p>’,
    ‘must_log_in’ => ‘<p class=”alert”>’ . sprintf( __( ‘You must be logged in to post a comment.’, ‘oxygen’ ), wp_login_url( get_permalink() ) ) . ‘</p><!– .alert –>’,
    ‘logged_in_as’ => ‘<p class=”log-in-out”>’ . sprintf( __( ‘Logged in as %2$s.’, ‘oxygen’ ), admin_url( ‘profile.php’ ), esc_attr( $user_identity ) ) . ‘ ‘ . __( ‘Log out →’, ‘oxygen’ ) . ‘</p><!– .log-in-out –>’,
    ‘comment_notes_before’ => ”,
    ‘comment_notes_after’ => ”,
    ‘id_form’ => ‘commentform’,
    ‘id_submit’ => ‘submit’,
    ‘title_reply’ => __( ‘Leave a Reply’, ‘oxygen’ ),
    ‘title_reply_to’ => __( ‘Leave a Reply to %s’, ‘oxygen’ ),
    ‘cancel_reply_link’ => __( ‘Click here to cancel reply.’, ‘oxygen’ ),
    ‘label_submit’ => __( ‘Post Comment →’, ‘oxygen’ ),
    );

    return $args;
    }

    Thread Starter ramyadhamu

    (@ramyadhamu)

    Thanks Accuwebhosting

    I am new to wordpress can u explain me in functions.php under which line i have to post that two lines

Viewing 5 replies - 1 through 5 (of 5 total)