1. Home
  2. Docs
  3. WP User Frontend Documentation
  4. WPUF FAQ
  5. Plugin-related & Technical

Plugin-related & Technical

1. After a user registers I would like them to be auto logged in. Do I need to write my own function, or does WPUF have a built in function?

To do that you just need to enable Auto Login After Registration option from wp-admin > User Frontend > Settings > Login/Registration.

2. How to charge pay per post?

To charge pay per post you have to configure payments settings properly. Navigate to wp-admin > User Frontend > Settings > Payments Select Yes for Charge for posting option and Disable for Force pack purchase option. Configure rest of the payments options. Click here for more details.

3. How I can redirect my newly registered users to a specific page/URL after registration?

Navigate to wp-admin > User Frontend > Registration Forms > Edit a registration form > Settings > General, for Redirect to option select the page where you want to redirect the users after successful submission.

4. How I can redirect my registered users to a specific page/URL after login?

Include the following lines of code toward the end of your functions.php, which is located in your theme folder: User will redirect to a specific page (defined here) after login: function wpuf_custom_login_redirect( $redirect ) { return $redirect = ‘https://wedevs.com'; } add_filter(‘wpuf_login_redirect', ‘wpuf_custom_login_redirect');

5. How to backup/export forms?

Navigate to wp-admin > User Frontend > Tools > Export, forms can export individually or all at once.

6. Is it possible to include the fields that are part of the Registration Forms into the User Profile in wp-admin?

Navigate to wp-admin > User Frontend > Settings > Login/Registration, now select registration form for user roles. These forms will be used to populate extra edit profile fields in backend.

7. After installing/updating WP User Frontend plugin, my website crashed and can't be recovered. What should I do?

If you are using WP User Frontend Pro plugin then make sure that you have updated that plugin too. If the latest version is not available in your account then contact our support. In the meantime, you can use the previous version of WP User Frontend plugin, it can be downloaded here.

8. How to configure google map with WP User Frontend plugin?

Check this video to configure google map field.

9. How to set subscription based post expiration?

Navigate to wp-admin > User Frontend > Subscriptions > Edit/Add a subscription, now enable Post Expiration option and save the changes.

10. How to use post expiration based on specific post form?

Navigate to wp-admin > User Frontend > Post Forms >

11. How to add Product Custom Attributes to the form?

Check this video guideline to add custom attribute field to product form.

12. How to use WPUF “Hidden Fields”?

Please check this video guideline.

13. How to use Advanced Custom Fields and WP User Frontend plugin together?

Please check this video guideline.

14. How to configure Google Maps with WP User Frontend plugin?

Ans: Please check this video to configure google map field.

15. How to add a Multi-step form?

Ans: You can check multi step form guideline here.

16. How to use WPUF “Hidden Fields”?

Ans: Please check the video guideline.

17. How to configure reCAPTCHA for registration and posting form?

Ans: Check the guideline here for configuring reCAPTCHA.

18. How to override WP User Frontend templates?

Please check this video guideline.

19. Do bank payments need to be approved by admin manually?

Yes, bank transactions need to approved by admin manually, otherwise user subscription will not be active. If the payment is processed with Bank option then you can approve the payment from the wp-admin > User Frontend > Transactions > Pending.

20. How can I allow users to edit their own profile information on the frontend?

Create a new page by adding [wpuf_account] shortcode and save the page. It will allow users to edit their profile from the frontend, but it has limited fields. If you want to keep the edit profile page same according the registration form your created, then just copy a profile type registration form shortcode (e.g: [wpuf_profile type=”profile” id=”15″] ) and add it by creating a new page. That page will contain all the fields of registration form and user can update their profile information.

21. How to create Login page by using this plugin?

Create a new page by inserting [wpuf-login] shortcode and save it, now navigate to wp-admin > User Frontend > Settings > Login/Registration, for Login page option select the page which contains [wpuf-login] shortcode.

22. Is there a function or something I can call to make the form not submit and to display an error instead?

You can use the following action hooks to validate any fields of the form:

1. Wpuf_add_post_validate

2. wpuf_update_post_validate

23. I get the message: “I don't know how to edit this post, I don't have the form ID”

Ans: When you create a post with the new version of WP User Frontend, a form ID is being attached to that post. It's needed because you might have 10 forms and it doesn't know which form should be used to edit that post.

For this problem with older posts, one thing you need to do. If you go to those posts edit screen in the back-end, you'll see a meta box “WPUF Form”, select the form that should be used to edit the form.

24. How do I show the images/files in my theme?

Ans: Just use this snippet:

</span><span>
</span><span>$images = get_post_meta( $post->ID, 'meta_key_name' );</span><span>
</span><span>
</span><span>if ($images) {</span><span>
</span><span>foreach ($images as $attachment_id) {</span><span>
</span><span>$thumb = wp_get_attachment_image( $attachment_id, 'thumbnail' );</span><span>
</span><span>$full_size = wp_get_attachment_url($attachment_id);</span><span>
</span><span>
</span><span>printf( '<a href="%s">%s</a>', $full_size, $thumb );</span><span>
</span><span>}</span><span>
</span><span>}</span><span>
</span><span>

Was this article helpful to you?

How can we help?