John Huebner
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF Post-2-Post] Relation support for subfieldsThe relationship of fields in a repeater is too complex to do this automatically. Not only do you need to match up the field, but the repeater and the row or the repeater, how do you know what row needs to be updated on the other end, etc, etc.
Anyone that wants something like this would need to build code specific to their use case.
I would suggest explaining the details of what you are looking for over on the ACF forum and seeing if anyone has done this.
Forum: Plugins
In reply to: [ACF Medium Editor Field] open link in new tabI didn’t build medium editor, I only implemented it as an ACF field type. I keep it updated, but unless they build a feature like this into it I’m not likely to do it myself. https://github.com/yabwe/medium-editor
Forum: Plugins
In reply to: [ACF Post-2-Post] Value overwritingThis plugin will only overwrite values if a filter has been created to make is do so. Event then, for overwrites to happen the field on the other site would have to allow a limited number of selections, like a post object field that does not allow multiple values or a relationship field that has a limit on selection.
Forum: Plugins
In reply to: [ACF Post-2-Post] Relation doesn’t hideTo force hide what? If you don’t what it to be added to every page then you need to look at ways to conditionally add the script and not something I’m going to be able to help you with here.
Forum: Plugins
In reply to: [ACF Post-2-Post] Relation doesn’t hideI don’t know where this is coming from, but it is not this plugin. This plugin contains no JavaScript.
Forum: Plugins
In reply to: [ACF Post-2-Post] ImportDoing this on an import may not work 100% since it works by IDs. You would need to know the ID of the posts that are being added to the relationship.
In order to trigger this plugin to do its thing the update of the acf field must be triggered by whatever is doing the import, usually this happens by calling
update_field()on the relationship or post object field.Forum: Plugins
In reply to: [ACF Post-2-Post] Does this work automatically, or are we to do something?You create an acf relationship or post object field for both post types.
1) They can be the same field in a field group that is on both post types or
2) you create 2 different fields in 2 field groups, 1 group on each post type. You set the acf “field name” to the same value for both.
Forum: Plugins
In reply to: [ACF Post-2-Post] Does this work automatically, or are we to do something?The fields need to have the same name.
Forum: Plugins
In reply to: [ACF User Role Field Setting] About the error.This was fixed in 3.0.1, but I don’t know why it still says 3.0.0. I just trued re-pushing the changes here. Please try to update. You may need to manually download and update.
Forum: Reviews
In reply to: [ACF Post-2-Post] Essential to ACFI appreciate the support. It’s important to understand that trying to do bidirectional relationships under any conditions other that the ones that I dictate for this plugin would be nearly or completely impossible. Elliot is not likely to implement anything into ACF unless he thinks he can do so flawlessly under all conditions.
Forum: Plugins
In reply to: [ACF User Role Field Setting] User roles not showing in Groups fieldI am pretty sure I have this solved, let me know of you run into any problems.
Forum: Plugins
In reply to: [ACF User Role Field Setting] User roles not showing in Groups fieldNow that I think more about it, I think this plugin will break any field that has an array value, including select, taxonomy, relationship, and several more. I am looking into a way to resolve this. Hopefully I can, otherwise I’m going to need to discontinue this plugin.
Forum: Plugins
In reply to: [ACF User Role Field Setting] User roles not showing in Groups fieldUnfortunately, because fields hidden by this plugin aren’t updated correctly when a repeater is updated I had to remove support for repeater fields, which includes group fields. This is because in order to allow repeaters to save correctly the values need to be provided in hidden fields. This is an issue with repeaters of any kind because the values are in nested arrays and I have not worked out a way to output all of the hidden fields that would be required to allow them to continue working. Enabling group fields would break your field content, and quite possibly crash your site.
Forum: Plugins
In reply to: [ACF Medium Editor Field] UL/LI not displayed + “p” not convertedI have just pushed a new version that attempts to correct list formatting. The issue is that the default WP styling of lists in the admin is no list style type. I have added some basic styling.
As far as the second issue, not sure I can fix this. WYSIWYG fields store data in the DB in a different way. They work the same way as the WP classic editor.
<p>and<br>tags are not stored in the DB and wpautop() is used to format the content. This field stores these tags. Conversion from a WYSIWYG field to a medium field is not something that I can help with. The main issue would be knowing when to apply any conversion to the value. I’m up for suggestions here if anyone has any and I’ll think about it some more, but at this time I don’t see a way to automatically apply a change like this in a consistent manner that will not break existing medium editors.Forum: Plugins
In reply to: [ACF Medium Editor Field] Gutenberg compatibilityThank you for helping me test that with the block editor. I will be pushing an update later today that does this an also removes the recursive targeting lookup for the field. Like I said it was necessary when I built this plugin because fields in repeaters would not have unique IDs. Not exactly sure when Elliot corrected that issue.