Forum Replies Created

Viewing 15 replies - 106 through 120 (of 122 total)
  • Thread Starter twilitegxa

    (@twilitegxa)

    Nevermind, just found it!

    in the wp-includes folder, page comment-template.php:

    $required_text : '' ) . '</p>',
    		'comment_notes_after'  => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',

    Remove the paragraph text. Yay!

    Thread Starter twilitegxa

    (@twilitegxa)

    I have been reading this tutorial on customizing the comment form:

    https://devpress.com/blog/using-the-wordpress-comment-form/

    I am having trouble understanding a few things. It says in order to makes adjustments to either the form itself or the CSS for the form, to follow the guidelines explained in the article, but I am having trouble because I could not find the comment_form() function in my functions.php page. If I am to make adjustments to this function, will I have to just create it? It looks like I would jst do this to create it:

    function comment_form( $args, $post_id ); {

    }

    But 1) how do I set up the $args array? It shows this in the next part of the article:

    <?php comment_form(
    	array(
    		'cancel_reply_link' => __( 'Cancel reply' ),
    		'label_submit' => __( 'Post Comment' ),
    	)
    ); ?>

    Do I just type this in next and set my arguments in there?

    I want to customize the CSS of the form. 2) How do I know the names of the fields that I want to modify? I am not going to be adding any new fields, just using the defaults that are already there. The only other thing I want to do is make the comment field required, as it currently doesn’t look like it’s required. Can someone please help me understand this better?

    Thread Starter twilitegxa

    (@twilitegxa)

    Well, I understand it’s kind of a general question, but I have been having trouble finding where I would find the area of my comment.php page or whichever page, the comment form would be on where I could customize it. Can anyone please help?

    Thread Starter twilitegxa

    (@twilitegxa)

    I also do not see the part in my functions.php page where I can customize as the author of that article has suggested:

    functions.php:

    [code moderated as per forum rules - please use the pastebin.

    same here: naming the theme would work, because you are working with a so far unmodified default theme]

    Thread Starter twilitegxa

    (@twilitegxa)

    It doesn’t really look like what was in the example you sent me is what is in my comments.php page ?? Any suggestions?

    Thread Starter twilitegxa

    (@twilitegxa)

    This is all I have in my comments.php page:

    [code moderated as per forum rules - please use the pastebin.

    naming the theme would work here as well, because you are working with a so far unmodified default theme]

    Thread Starter twilitegxa

    (@twilitegxa)

    So currently my site is using the default:

    <?php comment_form(); ?>

    So if I change that line to this:

    <?php comment_form( $args, $post_id ); ?>

    How exactly do I change the parameters?

    It shows he default input terms like this:

    <?php
    $fields = array(
    ‘author’ => ‘<p class=”comment-form-author”>’ . ‘<label for=”author”>’ . __( ‘Name’ ) . ‘</label> ‘ . ( $req ? ‘<span class=”required”>*</span>’ : ” ) .
    ‘<input id=”author” name=”author” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author’] ) . ‘” size=”30″‘ . $aria_req . ‘ /></p>’,
    ’email’ => ‘<p class=”comment-form-email”><label for=”email”>’ . __( ‘Email’ ) . ‘</label> ‘ . ( $req ? ‘<span class=”required”>*</span>’ : ” ) .
    ‘<input id=”email” name=”email” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_email’] ) . ‘” size=”30″‘ . $aria_req . ‘ /></p>’,
    ‘url’ => ‘<p class=”comment-form-url”><label for=”url”>’ . __( ‘Website’ ) . ‘</label>’ .
    ‘<input id=”url” name=”url” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_url’] ) . ‘” size=”30″ /></p>’,
    ); ?>

    But where would i find this particular block of code in order to customize it?

    Thread Starter twilitegxa

    (@twilitegxa)

    I guess it is not a mulitsite installation (that I know of). I think it’s just a regular installation. Thanks for the help. I guess we just assumed a super admin was there originally ??

    Thread Starter twilitegxa

    (@twilitegxa)

    We are using Godaddy hosting, and the e-mail is being sent to a google e-mail address. I cannot understand why sometimes the e-mails get sent to me and other times they do not. The test e-mails are in fact getting added to the backup contact form 7 database, so what reason could they not always be sending? Please any suggestions?

    Thread Starter twilitegxa

    (@twilitegxa)

    By the way, the site in question is currently at:

    https://www.webdesignsbyliz.com/jewelry

    Thread Starter twilitegxa

    (@twilitegxa)

    This extension is great, but I have a client who is not able to navigate on the backend of WordPress very well. I need a way to create a customized admin section for them that will allow them to view the messages that is SUPER user friendly for them. The plugin saves the data from the form submission in a VERY confusing way, and this make sit hard for me to create the customized admin page for the user.

    Where in this code (in includes/classes.php) is the part where it submits the form specifically? I see where it validates and where it sends the message, but I need to know where it submits the form successfully I guess because I want to place the insert statement there and pull the values from the form submission. The plugin is a little confusing for me. Is there any way you can help a little? You are the creator of the plugin, so you would best be able to tell me where to place what. ?? I know you are very busy and I would greatly appreciate the help if you have the time!

    Thread Starter twilitegxa

    (@twilitegxa)

    I tried many of those examples and cannot get it to work properly. Instead, it is displaying my “page” in the side-bar instead of the ‘posts”. Can anyone help?

    Thread Starter twilitegxa

    (@twilitegxa)

    I have tried it, but it still redirects only after a few seconds, because even though I have made the confirmation message white text (so it won’t show up), it still displays and then redirects afterwards. I do not know how to disable that success message and simply redirect immediately so that I may display my own customized success page instead of just message. I think I looked at the plugin you’re talking about, but I liked everything about this one except the issue I’m having. Maybe i’ll take another look at that one you suggested. Thanks!

    Thread Starter twilitegxa

    (@twilitegxa)

    Apparently all it was was a deactivated plugin! I will close this topic, thanks all!

    Thread Starter twilitegxa

    (@twilitegxa)

    Well, I took the left div tag out and now it looks better, but my redirect is not working. It is supposed to go to: domainname.com/thanks but it is going to domainname.com/#wpcf7-f2-p60-o1

    and saying the page could not be found. Any help? Issue us still on Firefox. Works on Safari.

Viewing 15 replies - 106 through 120 (of 122 total)