Support

Account

Forum Replies Created

  • Will I add a function to allow you to search a repeater field for a specific row value?

    No, this is a bit out of scope for the ACF plugin

    Does this solve your question?

  • This reply has been marked as private.
  • Hey mate,

    Yes, it turns out that the forum locks editing after 5 minutes. I’ve extended this beyond 100 years, so you can now edit all your topics / replies.

    Thanks again for your help on this one

  • Hi,

    How familiar are you with looping through an array and matching a value?

    Your above code looks to have successfully found the $current_parent_id.

    Perhaps you should look over the code for the repeater field, learn how to loop through the rows of data, and use a simple if statement to match the row to the current taxonomy ID.

  • I think I have miss0understood your original question due to the language barrier.

    Are you asking how to export / import custom field objects?
    Or are you asking hoe to export / import custom field values?

  • Does the plugin custom fields supports shortcodes?

    Yes and no.

    The ACF plugin has a very simple shortcode which will display a simple value such as text. The repeater field will not work with this shortcode.

    Every repeater contains different sub fields and the developer wants different HTML. This is why there is no generic shortcode. You will need to code the template to output the HTML you want. There are lots of tutorials and docs to follow for this

    2. Can i import custom fields data using bulk import?
    There is no import feature for the ACF plugin. The ACF plugin is a GUI layer for the native custom fields. This means it saves and reads data as a normal custom fields. That said, the repeater field saves it’s data in a very specific way which an import tool will not know.

  • This has been added to the new topic / edit topic form

  • Forums have now been correctly styled

  • User profile data has been fixed to correctly load from the displayed user, not the current user

  • Turns out that the front page topics are ordered via the newest comment!

    No need to do anything.

  • WP has an export / import tool built in. You can access this via Tools -> Import

    You can export ACF to this .xml format via Custom Fields->Export.

    You will also find instructions on that page

  • I think it’s a bit too early to say it’s a time limit issue.

    More likely a connection that did not save correctly between your account and the topic.

    I’ll do some testing and let you know

  • Hi,

    How to either import posts with the custom fields?
    ACF uses a post type and custom field metadata to save all the custom field objects.

    This means you can use the export feature in ACF to obtain a .xml file which you can import into a WP install via the default WP import tool!

    Or how to get all fields of a field group?
    Are you asking how via code?

  • Hi,

    This design can be accomplished by using the repeater field (premium add-on). This field type will allow you create a table like data structure where you can create infinite rows.

    You can define the 4 columns that you have in your design, and then enter the data (rows) as you wish.

    I would recommend reading over the ACF getting started documentation before you jump into any code.

    Good luck!

  • Thanks for the full code.

    This is great to look at, however, can I ask you to very clearly describe the issue. You say the issue is getting the date tags data.

    Is the issue using the get_sub_field like in the following code?

    
    $date_tags = get_sub_field('pro_perf_time_tag'); 
    

    Or is the issue looping through the $date_tags array and loading the data.

    Can you please go through your ode line by line and debug the variables.

    Thanks
    Elliot

  • Hi,

    I’ll add this to the to-do list and find a fix.

    Thanks for the bug report.

  • Hi mate,

    Thanks for the feedback. I’ll do some testing with your account over the next few days and find out why you can’t edit the topic.

    If you find that your login does not work in that time, I may have changed your password. You can find a ‘lost password’ link near the login form

    Cheers
    Elliot

  • There is no time limit for editing a post.

    I have removed the email address from the previous post, but am not sure why you are unable to edit it. Perhaps you can report the content here and we can delete the previous one?

    Also, please place your code within code tags. Thanks

  • Hi,

    You have 2 options:

    1. Use jQuery to find the prev / next data from the DOM and generate the HTML on page load

    or

    2. Don’t use the has_sub_field while loop, instead use a more basic PHP foreach of for loop so you can use the ‘index’ to find the prev (index-1) and next (index+1) rows

    Does that help?

  • May I ask what you mean by “Alternatively, please remove the email address I overlooked.”

    To edit the post, simple hover over your comment and click ‘edit’. Does the button take you to an edit screen?

  • Hi,

    It is possible that the update_field function does not work during the ‘newplugin_install’ action.

    Have you tried using update_field in another action such as admin_head to test that it works?

    If you can test that and confirm that the issue is due to the time when it is run, I can have a look at finding a fix

  • Also, as this is the new support forum (currently in beta) I have a few questions for you if you don’t mind:

    1. Why did you not place your code within code tags as seen in the wysiwyg editor?
    2. Why did you not place the topic in the ‘General’ category when it would be better placed in ‘Repeater field’ or ‘Front end’?
    3. Why did you not enter any tags for the topic for users to search for in the future?

    Thanks

  • Can I ask if you have read through the documentation for the repeater field, and have correctly used a has_sub_field loop?

    Perhaps you could show all the loop code, that would help find the issue

Viewing 23 posts - 5,151 through 5,173 (of 5,173 total)