WPAddiction
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Remove Required Comment Textarea (Repost)Got to admit that this is getting out of my comfort zone, but it seems like I should be able to figure this out, but I do appreciate the help. Half of my problem is using the Twenty Fourteen theme; it seems like a good starting point for BuddyPress, but it has to be one of the more difficult themes to work with.
Forum: Fixing WordPress
In reply to: Remove Required Comment Textarea (Repost)Thanks again, but my point was that it doesn’t seem to matter what pattern I use, it doesn’t seem to have any effect. I’m not sure why, but it appears that I’ll have to use something build into WordPress to validate the URL. I’m not too worried about what URL people use because I should be able to adjust the embed for that, but I do want to know that it’s a URL at least.
Forum: Fixing WordPress
In reply to: Remove Required Comment Textarea (Repost)Actually, there is probably a WordPress way of doing this, plus I’m going to need to embed the video for playback anyways. Guess I’m just tired of working on this, really want to see it done and working, but I’m sure if I put in a little time I can get it figured out.
Forum: Fixing WordPress
In reply to: Remove Required Comment Textarea (Repost)Awesome, thanks for the help, I’m surprised that I missed that in the codex; guess I was too focused on removing the comment textarea altogether. Now the only problem I have is how to validate the URL. I thought I could use the input pattern below, but for some reason, it doesn’t appear to be working. If anyone has an idea why it isn’t working I would appreciate it.
$comments_args = array( // redefine your own textarea (the comment body) 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Video URL', 'noun' ) . '</label><input type="url" id="comment" name="comment" placeholder="https://youtu.be/example" pattern="https?://.+" required aria-required="true"></input></p>', ); comment_form( $comments_args );Thank you for the quick response, just wanted to make sure that I wasn’t missing anything.
Forum: Fixing WordPress
In reply to: Remove Required Comment TextareaI haven’t spent a ton of time on this project lately, but I have done some testing and continue to get “ERROR: please type a comment.” Thanks for the help and I could be missing something, but so far I haven’t had any luck with that code. I don’t think it’s the theme I’m using because I just created a Twenty Fourteen child theme for this website. I’m hoping to work on this through the holiday season so I’d still appreciate any help I can get.
Forum: Fixing WordPress
In reply to: Remove Required Comment TextareaThanks a lot; I probably won’t have time to properly test this until Friday because of the day job, but I should be back here with results this weekend.
Same error here; unfortunately this shutdown my entire network of sites. I’m not sure how to fix the error at the moment, but if you would like to get your sites back up and running, you can do like I did and temporarily comment out the last few lines of the file with the error so you can deactivate the plugin.