158 reputation
19
bio website todayisaw.com
location
age
visits member for 3 years
seen Sep 15 at 10:21

Sep
14
comment Inserting image into post content - Front End
I don t get it ... I tried a few times but it's not working. Can you post an example please? Or edit my code.
Aug
26
comment Displaying just one post from each category on archive page
ok ... but that only returns one post. I was trying to return one post from each sub-category.
Oct
11
comment Check before publishing, if already exist post with current custom field value
Thank you for your help!
Oct
11
comment Check before publishing, if already exist post with current custom field value
@StephenHarris very nice answer. How would I get the id of the post where the meta value matches? I want to add a new meta key to it.
Oct
10
comment Add first url to custom field on publish_post
the "link" custom field is empty. I want it to contain the first url from the post content.
Nov
30
comment How can I show posts for a single category?
Thanks! Still new at this.
Nov
19
comment Front end submit form with jquery form plugin
I'll try it. Thanks for all your help. And sorry about the chat like comments @Rarst. I'll keep it shorter next time.
Nov
18
comment Front end submit form with jquery form plugin
Hey, if you have a chance, would this be the correct way of securing ? $title = $_POST['name'] = wp_filter_nohtml_kses( $_POST['name'] ); $content = $_POST['comment'] = wp_filter_nohtml_kses( $_POST['comment'] ); $email = $_POST['email'] = is_email( $_POST['email'] ); $url = $_POST['url'] = esc_url( $_POST['url'] );
Nov
17
comment Front end submit form with jquery form plugin
One last question. Do any additional security measures need to be implemented in this?
Nov
17
comment Front end submit form with jquery form plugin
yup! that worked. You did say that in your original answer, I just didn't read it carefully enough. Thank you so much!!!
Nov
17
comment Front end submit form with jquery form plugin
yes. name="form_sub". just like in my comment above.
Nov
17
comment Front end submit form with jquery form plugin
aha. cool. any idea why the submit is not working?
Nov
16
comment Front end submit form with jquery form plugin
btw, how do you post your code? I add the two `` but my comment doesn't look like yours.
Nov
16
comment Front end submit form with jquery form plugin
It's still not working. This is what I have on my template page <?php /* Template Name: Submit */ ?> <?php get_header(); ?> Form this <form action="" name="form_sub" method="post"> Name: <input type="text" name="name" /> Comment: <textarea name="comment"></textarea> <input type="submit" value="Submit" /> </form> <?php get_footer(); ?> I checked everything and can't seem to find where the mistake is.
Nov
16
comment Front end submit form with jquery form plugin
Thanks for your help. I tried a few times but nothing is submitting. I ll do a few more tests and let you know.
Nov
16
comment Front end submit form with jquery form plugin
that's how the example that I downloaded from here looked like. Two pages one with the form and the other with the processing code. How do I get the form data in functions.php?