Support

Account

Forum Replies Created

  • if you’re using version 4,

    if (function_exists(‘acf_set_options_page_menu’)){
    acf_set_options_page_menu(‘Your Title’);
    }

  • Hi @Elliot,

    I’m concerned about this point as well. I own licences for repeater and options page. I have a couple of themes under development using both addons following the guidelines.

    I know I’m embedding the plugin within my theme but what would happen if WordPress is updated in the near future and version 4 does not longer work?.

    I got a complimentary personal licence of ACF Pro which I’m thankful for but I cannot use that for my themes development and future compatibility of WordPress and ACF4 worries me a little bit. I’m was able to use my addons anywhere but with the introduction of the new system and my personal license I wouldn’t be able to do anymore if ACF4 fails at some point in the future.

    Thanks in advance for clarifying me this point.

  • Hi @Nuro

    That solution is not working anymore for me. It is still being shown on plugin’s documentation. Do you know if something has changed?

    Thanks.

  • One more thing, that “Network” title is the title of the first icon CPT. Looks that the part restore_current_blog(); is not making any impact on frontend.

  • This reply has been marked as private.
  • Hi Elliot,

    Thanks a lot for following this issue I was having, and many other you helped me to address 🙂

    I ended solving this with a gravity forms hook (to stick to gf). The hook is very simple and I’m posting just in case someone else might find it helpful.

    add_action("gform_after_submission_5", "acf_post_submission", 10, 2);
    function acf_post_submission ($entry, $form)
    {
       $field_key = 'field_52fae7b9b229c';
       $post_id = $entry["post_id"];
       $value = get_field($field_key, $post_id);
       $value[] = array('app_id' => $entry[3],'app_cover' => $entry[2]);
       update_field($field_key, $value, $post_id);
    }

    The only issue I’m trying to solve now is to write a script to don’t let the same user ID submit this form if it already submitted. I’m using the same form (ID->5) for all job posts, so I have to set no duplication for that post id only and allow if it’s a different id, but that’s more a question for gravity forms guys.

    Anyways if you have any idea, I will appreciate that you share it with me.

    Thanks for all.

  • Hi Elliot,

    Thanks a lot for always being there for answer all my questions.

    Basically what I have to do is to populate a repeater field from the front end so it might be a better option to forget GF and just go directly to your front end form?

    Regarding this matter, I have a couple of questions:

    • Within repeater field I have 2 subfields: USER ID which I want to populate automatically and cover letter.
    • I want to only show on frontend the cover_letter subfield all other custom fields I’d like to hide.
    • The form then will be basically one textarea for the cover letter and the subfield for user ID would be hidden and autopopulated.
    • Finally have the “Apply for this job” button and that’s all.

    Sorry for bothering you this bad but I have never worked with front end form before.

    I’m attaching an image to show you what I see on the page when adding the form (in addition to that I also see all other custom fields).

    If you could guide me or point me to any resource to help me understand and solve this, I will be eternally appreciated.

    Best!

Viewing 8 posts - 1 through 8 (of 8 total)