acf-focuspoint
acf-focuspoint copied to clipboard
ACF: FocusPoint
Using `empty()` ~or `isset()`~ has the downside of considering `0` (zero) falsy, but when top is `0` and left is `0` and someone wants to use that as the focus-point...
Fix the layout of the field settings and make them more future proof - Render the field settings for `min_width`, `min_height`, ... and the `mime_type` directly through the `acf_field_image` -...
Hi there @ooksanen ! Thank you for this very nice little package. As I was implementing it in one of my projects, I noticed that the "edit" button from native...
- Require `composer/installers` so that the plugin can be installed in custom locations, as described in #20 - Add `.gitignore` file to ignore composers `vendor` folder - **Drive-By** - Also...
When installing the plugin via composer, the `type:wordpress-muplugin` entry currently doesn't do much, as `composer/installers` is not being shipped with the plugin. That package is necessary to help with the...
This PR makes it easier to switch between the field types "Image" and "FocusPoint": - if the field is a FocusPoint field and previously was an image field (the value...
Hi @ooksanen ! As I was implementing the PR #17 , I noticed a few chances for enhancements. I'd be happy to take care of them, as I'm planning on...
Switch the composer package type to regular plugin instead of a must-use as this is not necessarily a must-use plugin otherwise it can't be easily disabled in the backend and...
Unfortunately you cannot use the Focuspoint field for ACF conditional logic. Example: A subsequent field should only be displayed if the Focuspoint field is filled out or not empty. Unfortunately,...