The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
1answer
428 views

using $wpdb to insert a form into a post

I am wanting to take the following form, and use $wpdb to insert it into a post. I have tried reading the class reference page INSERT rows, but I don't really know what should be referenced. I am not ...
0
votes
1answer
417 views

Submit Custom Postypes from frontend

I am attempting to create a form that submits data and creates a post with custom fields filled. What I would like to do in step form. 1) Create a custom posttype function called "pickups" (I do not ...
3
votes
2answers
170 views

My login form does not work

I have the following code that generates a login form for every page in my blog. <form action="<?php echo wp_login_url(); ?>" method="post"> username: <br /> <input name="log" ...
0
votes
3answers
356 views

Building a form with WordPress, and also pulling that data for a user page

I am going to give the most basic example of what I want to achieve. I have a page for booking a pickup service, and a form needs to be created to take information of the following. (Date, # of ...
0
votes
2answers
427 views

Submitting POST data to a custom page template triggers a 404, why?

I've got a simple custom page template with a form on it. This page can process the form itself, so the entered data gets submitted there as well, using POST. Submitting the form, however, results in ...
0
votes
1answer
359 views

How can I populate a select element with terms from a custom taxonomy and filter post results?

Alright, so first, I need you to check out this wire-frame so you can see what I'm trying to accomplish: Wire-frame What I've done so far is this: I created a custom post type for individual ...
0
votes
1answer
406 views

Using a form to post to an external URL from within WordPress [closed]

I'm trying to use a form to post data to an external URL, and I'm completely stumped by this problem. The exact code I'm using is: <form name="login" action="https://www.example.com/" ...
0
votes
1answer
156 views

how to handle forms in multiple pages?

I have a simple contact form that I set up to display on multiple pages using a shortcode and a widget but since I need to form to post back on the same were it's displayed I'm not sure how to ...
0
votes
2answers
106 views

Force string into signup form

I am running WP multi-site and BP. The plugin in question is Anti-Splog by WPMUDEV. They have advised they do not support customisations. Anti-Splog tries to limit spam blogs from appearing on your ...
0
votes
1answer
714 views

Passing POST data from one WP post to another

I'm trying to pass data between two Wordpress posts via POST method from a form/link. However, the second post does not seem to be able to grab the POST data. I'm wondering if it has anything to do ...
0
votes
2answers
1k views

RSVP form for Facebook events from a Wordpress post?

Is there a way to add a RSVP form to a Facebook event in a Wordpress post? (let's assume I have a website linked to a Facebook application and I want to publish public events I have published on a ...
0
votes
1answer
224 views

Looking for a simple checkout plugin

I want to sell tickets to an event on my wordpress site. I don't want to use a huge shop or partner up with ticketmaster etc. What I want is let the customer decide how many tickets of a certain ...
1
vote
1answer
325 views

Add X meta box inputs based on form at top of meta box, how to do it right?

I am setting up a meta box that controls the number of ingredients for a recipe. As each recipe will have a different number of ingredients I decided to use a simple text input and button to set the ...
0
votes
1answer
59 views

Where this validating message come from?

I wrote a simple form, including text field, textarea, select and some validating by WP_error. When I try to submit the form without filling text field or textarea, I got a popup tip pointing the ...
0
votes
2answers
150 views

How to Collect Keyword and Search Engine Data on Webforms?

We have a contact form using Contact Form 7 on our wordpress site. We would like to be able to attach any information about where the user came from: keyword search is the #1 item of interest. We ...
2
votes
1answer
146 views

Stop wordpress automatically escaping $_POST data

I have a custom front end form which creates a custom post type post and have just discovered WordPress automatically escapes $_POST data in the same way that Magic Quotes does. I have Magic Quotes ...
3
votes
2answers
906 views

Use Contact Form 7 to validate and send a custom-made form

I've fairly used CF7 but I haven't found a work-around or a module to be able to dinamically build a form and then use the CF7 plugin to validate and send it. In my case, I am using custom fields to ...
1
vote
1answer
313 views

Google Map Latitude and Longitude values in form

I have a front end submit form and would like to include a two extra custom fields which will hold Latitude and Longitude values. I want the users to select the location on a map which will be ...
0
votes
1answer
535 views

Comment submission & navigation redirects to default language

I'm using qTranslate for multi-language & wp-commentnavi for comment navigation. The style of my base permalinks are like so: site.com/ -> for default language site.com/en/ -> for ...
1
vote
1answer
195 views

exclude category from WordPress Form function

I have this function and I need to somehow exclude a category number 14 from my submission form. Is there any way to do it inside this function? function retrieve_cat_data($byid = false){ ...
1
vote
1answer
160 views

How to take options from form fields and turn them in to links?

I have a form in WordPress with options when clicked they retrieve a filtered posts. I want to take the options from the form and place it like normal links. Can this be done? Thank You all in advance ...
1
vote
3answers
161 views

Retrieving a Value from a wp-database

why my sql statement is not returning any value.. is this wrong? <?php global $wpdb; $result = $wpdb->get_results($wpdb->prepare("SELECT * FROM ...
2
votes
2answers
113 views

Obfuscating Email Addresses in Form Fields

I'm writing a WP Theme where registered users can email post authors sending them en email from the post's page itself. So I created a contact form in which I get the user and author infos and emails ...
0
votes
1answer
188 views

“operation successful” message

i'm writing some custom wordpress pages, and i want that after an action where the user has addess an item to a list (after the user press the submit button and the page reloads showing the updated ...
1
vote
2answers
2k views

Using AJAX in a plugin to submit form - REALLY confused

Having a bit of trouble using all the Wordpress ajax hooks, and functions. Been reading this post: 5 Tips for Using Ajax in Wordpress But became confused after trying all the code and applying it to ...
1
vote
1answer
120 views

Adding Custom Forms

I'm looking to create a page for a wedding site that will have a form. The idea is that it is an RSVP page where a visitor will input a unique string that was on the invitation that they received and ...
0
votes
1answer
472 views

Redirect plugin after form submit or show errors

I've been developing a wordpress plugin that has an admin section with a form to add and edit various things. Now after an admin submits the form I wanted to redirect if successful (to show updated ...
0
votes
2answers
111 views

wordpress forms submit

I am new to wordpress. I am trying to develop a website where I want user registration form. But I am not sure how should I code in wordpress. I heard about some contact form plugins. Can someone ...
0
votes
1answer
701 views

How to display comments and comment form on custom post type?

Is it possible in wordpress to display comments and comment form on custom post type, and how to do that? Thanks in advance.
0
votes
1answer
65 views

Creating fields in the database

I am newbie to wordpress plugin and this is my first plugin which I am doing now. I want that when the plugin will be activate it will make some predefined fields in the database and also the same ...
1
vote
1answer
1k views

add_filter the_content str_replace after shortcode

I want to add a PHP str_replace to the add_filter('the_content') function. I believe my problem is that the shortcodes are loading after the str_replace is called. I have a shortcode that outputs a ...
1
vote
1answer
291 views

How to Validate Widget Input

I have been working with widgets and widgets API. I see that the widget form is rendered and processed through widget() function. I can write validation logic inside the widget() function. I will ...
0
votes
2answers
1k views

Show selected value in a drop down menu

I have a multisite setup and I am adding some additional information fields in the profile edit screen in my theme's dashboard. I am primarily using text fields however I have a drop down selection ...
0
votes
2answers
41 views

wordpress blog, is there a way to make anyone post in a blog without having login info

I am creating a wordpress blog site with some custom function. One on the thing that I need to do to have a function where user can post to blog without using login information. Is that doable? I know ...
1
vote
1answer
60 views

Where should my plugin POST to?

I'm creating a simple plugin to set a page as a homepage from the list pages (to appear next to edit, preview, trash actions etc), I was just wondering what that the most appropriate/secure place to ...
0
votes
1answer
156 views

Form post to Wordpress page = wrong template

I'm using permalinks and I have a page with a slug like this: http://www.mysite.com/jobs/ The page uses a specific template for itself. On another page I have a form that I submit as POST to ...
1
vote
1answer
3k views

Create a registration form with a PayPal checkout fee?

My client is looking to start taking online registration for their many conventions and events. Previously they handled this all offline with PDF documents and in person payment. I'm looking for ...
0
votes
3answers
516 views

In admin panel, use a form to create a post?

I'm unfortunately working with rather thick headed clients who insist they need a "form" to fill out instead of the normal WP WYSIWYG Post editor. I tried to tell them that they could hide the parts ...
1
vote
1answer
365 views

One comment per user per post

How can i disable the comment form, if the user is already submitted a comment for the specified post? I am using this now, but this is only good for 1 post / user / website. <?php global ...
0
votes
1answer
2k views

Connect forms in WP to external database

I want to use Wordpress for an existing site (coded in PHP). It has some forms (for member subscription, user can update their data etc.) which are connected directly to an existing database. I don't ...
1
vote
1answer
581 views

How to modify the action attribute of the wp-login.php?action=register form?

I'm trying to create a reference registration system in Wordpress. The idea is that the user will click a link which will contain wp-login.php?action=register&ref=12345 I'm hooking into the ...
0
votes
2answers
351 views

Allow users to enter and edit data in one-to-many configuration

We would want a user to login and be presented with a form that they would potentially have to submit multiple times (disclosures of any industry relationships, one form per disclosure). The ...
0
votes
2answers
155 views

Is there a WordPress form plugin that can easily be configured for Google Analytics goals?

I don't want to have to make use of a destination url, so ideally I would like to be able to add the onclick="_gaq.push(['_trackPageview', '/G1/whatever']);" event to the submit button on the form.
5
votes
2answers
142 views

Is it possible to sign in with user_email in Wordpress?

is it possible to sign in with user_email instead of user_login, please ? Thanks.
0
votes
1answer
262 views

custom contact form no longer working (because of 3.2?)

Been trying to ask on Wordpress forums, but no hits. I'm hoping there are more people here that can help me. My custom contact form page used to work, but for some reason, it results in a 404 error ...
0
votes
1answer
360 views

Help with forms and nonces

I am trying to create a nonce to use with a (public-facing) form. Below is my code: function my_form() { if (isset($_POST['submit'])) { $name = $_POST['name']; $description = ...
0
votes
2answers
768 views

Detailed form plugin, with ability to export to excel etc. OR edit PDF live?

I have a client who wants to have online application forms for their non profit service. I have used Contact Form 7 in the past, since its pretty flexible and you can have lots of fields, radio ...
2
votes
2answers
628 views

Non-Linear Questionnaires in Wordpress

I want to make the following happen in Wordpress People answer questions in paginated or single page form. Each next set of options is dependent on the option the user selects preiviously At the ...
1
vote
1answer
616 views

How to bring registration field to index page?

I am using wordpress and buddypress for my site and my registration works perfectly on www.mysite.com/register, i need to bring the registration fields to the home page(index.php). My register page ...
1
vote
3answers
1k views

Using filter to add additional fields to comment_form()

I want to add a field to the comments and have used these codes. functions.php function my_fields($fields) { $fields['url2'] = '<p class="comment-form-url2"> ...

1 3 4 5 6 7