tubs
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Comment form?yeah I understand I need to do more than just add the fields to the form. I’ve been following some tutorials about adding extra fields to the comments forms but its the connecting with the database all the tutorials seem to leave out. These are the links I was told to use
http://ottopress.com/2010/wordpress-3-0-theme-tip-the-comment-form/
http://codex.wordpress.org/Function_Reference/comment_form
I guess I just need to find me an expert to finish the job for me.
Forum: Fixing WordPress
In reply to: Comment form?Can anybody help me on this?
Thanks
JaneForum: Fixing WordPress
In reply to: How to add extra field to commentsHi t-p,
Did you have to do anything else to get the extra comment field to display on your website once a comment has been made? I can add the field to the form but then it doesnt show on the published comment!
Thanks
Forum: Fixing WordPress
In reply to: Comment form?Anybody?
Forum: Fixing WordPress
In reply to: Extra fields in Comment FormThanks for the links t-p. I’ve had a read through, I’m not great with code and I;ve managed to come up with this:
<?php add_filter('comment_form_default_fields','my_fields'); function my_fields($fields) { // New fields $fields['title'] = '<label>Title:</label><input type="text" name="title" value="'.(!empty($_POST['title']) ? $_POST['title'] : '').'" />'; $fields['tracks'] = '<label>Tracks:</label><input type="text" name="tracks" value="'.(!empty($_POST['tracks']) ? $_POST['tracks'] : '').'" />'; $fields['format'] = '<label>Format:</label><input type="text" name="format" value="'.(!empty($_POST['format']) ? $_POST['format'] : '').'" />'; return $fields; } ?>It shows on the comments form on my website and I can fill in the fields but when I submit only the name/website/comment show up and the custom fields dont. Is there something else I need to do?
Thanks
JaneForum: Fixing WordPress
In reply to: Extra fields in Comment FormHi Harry,
did you find a solution to your problem? I need to add the same to my comments form.
Thanks
JaneForum: Plugins
In reply to: review pluginHi Twart3,
Have you found a plugin that does all this? I am looking for something very similiar for a music review website I am doing.
Cheers
JaneForum: Fixing WordPress
In reply to: Can I build a music review website in wordpress?Thanks Samboll,
I downloaded the plugin and I’ve been having a go. Ideally I would like people to submit a review of a CD. I would have a catalogue of CDs people log into the website then they have the option to review a product with star ratings etc. Anyone know of a plugin that does that? Am I asking to much! I shall continue my search…
Cheers
Jane