Home Forums Plugin Support WP User Frontend (Free Version) Accessing custom fields from ACF

This topic is: resolved

Tagged: 

This topic contains 22 replies, has 4 voices, and was last updated by  Alex 5 years, 6 months ago.

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #12823

    Andrew
    Participant
    Post count: 17

    We are adding WP User Frontend Pro to an existing site that has a lot of custom content types and fields created in ACF (Advanced Custom Fields).

    I need the forms on the front end which I have created with WP User Frontend Pro to have fields which tally with the ones I have created in ACF, so that the when someone completes a form on the front end the data is entered into the correct ACF fields for the post.

    I really hope this is possible, and hope you can help me soon.

    Secondly, and on a similar questions, can users edit posts already created before WP User Frontend Pro was installed?

    Thank you for your time.

    Best wishes, Andrew.

    #12825

    Tareq Hasan
    Keymaster
    Post count: 2831

    As long the post meta key are the same, they should work perfectly. But for some fields, they might not be compatible.

    Yes, they can. For that, you've to select the fallback/default form in plugin settings. So, that form will be used to edit those posts that were created before.

    #12829

    Andrew
    Participant
    Post count: 17

    Thank you Tareq.

    When you say “But for some fields, they might not be compatible” – which fields are they? Is it a certain type of field?

    #12831

    Tareq Hasan
    Keymaster
    Post count: 2831

    Well, for example, repeater field will not work as they save differently then WPUF.

    #12834

    Andrew
    Participant
    Post count: 17

    But you have a repeater field I could set up instead?

    Best wishes,

    Andrew

    Andrew Brown
    Brown Media

    Web design: Are you looking for bespoke website design, development and hosting at great prices? Let Brown Media take care of it so you can concentrate on doing what you do best. Just ask for details.

    #12868

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yes, that one you can. But I was saying, not all the fields are compatible with each-other.

    #12870

    Andrew
    Participant
    Post count: 17

    Okay, thank you. If I discover any problems I'll get back in touch on this.

    Can I just check also, can I:

    1. limit access to these front end forms depending upon the user role – so that only users in role X can see and ceomplete/edit the form
    2. Can only the user who originally completed the form edit it at a later date on the front end?
    3. Can all users be prevented from actually accessing the wp-admin area itself?

    Thanks again, Andrew.

    #12871

    Tareq Hasan
    Keymaster
    Post count: 2831

    1. With the code example given in the link, you can restrict access any
    kind of user in any kind of situation.

    2. Yes, the original author can only edit posts. But Editor and
    Administrator can edit others post as well.

    3. WPUF has a settings, you can configure which user role can be granted to
    visit the wp-admin area.

    #12873

    Andrew
    Participant
    Post count: 17

    Thanks Tareq.

    Re your response to point 1:

    “With the code example given in the link, you can restrict access any
    kind of user in any kind of situation.”

    …I'm not sure which code example in which link you are referring to, sorry?

    #12874

    Tareq Hasan
    Keymaster
    Post count: 2831

    Oh, sorry. By that, I meant the link on other thread of yours.

    #12875

    Andrew
    Participant
    Post count: 17

    My apologies, I get you 🙂

    #13047

    Andrew
    Participant
    Post count: 17

    Hi Tareq.

    Am I currently on a single site licence or unlimited? I bought the licence a long time ago and can't remember. 

    Best wishes,

    Andrew

    Andrew Brown
    Brown Media

    Web design: Are you looking for bespoke website design, development and hosting at great prices? Let Brown Media take care of it so you can concentrate on doing what you do best. Just ask for details.

    #13049

    Tareq Hasan
    Keymaster
    Post count: 2831

    You bought a personal license using a coupon.

    #13050

    Andrew
    Participant
    Post count: 17

    Cool. If I wanted to upgrade, how would I do that (I can't find an upgrade option on the site)?

    And I also have a coupon now (WPDISCOUNTS).

    Best wishes,

    Andrew

    Andrew Brown
    Brown Media

    Web design: Are you looking for bespoke website design, development and hosting at great prices? Let Brown Media take care of it so you can concentrate on doing what you do best. Just ask for details.

    #13156

    Andrew
    Participant
    Post count: 17

    Hi, just wondering if you got my previous message on Friday as I've had no reply.

    Best wishes,

    Andrew

    Andrew Brown
    Brown Media

    Web design: Are you looking for bespoke website design, development and hosting at great prices? Let Brown Media take care of it so you can concentrate on doing what you do best. Just ask for details.

Viewing 15 posts - 1 through 15 (of 23 total)

The topic ‘Accessing custom fields from ACF’ is closed to new replies.