Navneil Naicker
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF Galerie 4] BUG array_map(): Argument #2 ($array) must be of type arrayHello,
I’m assuming the error occurs when switching the field type from “Gallery” to “Galerie 4” Since I don’t own ACF Pro, I’m unable to replicate the bug directly.
The way data is stored in the database, as done by ACF Pro, doesn’t inherently affect compatibility with other plugins. Compatibility depends on whether the other plugins implement their own action and filter hooks. Plugin developers must explicitly add these hooks to ensure integration.
I do have an idea for fixing this issue when transitioning from “Gallery” to “Galerie 4” and plan to implement the fix as soon as I have access to ACF Pro.
Forum: Plugins
In reply to: [ACF Galerie 4] Instructions for use on frontend?Hi,
Please change your code with the following:
<?php
$images = get_field('vacation_photos');
foreach($images as $gallery){
?>
<div style="display:inline-block;">
<img src="<?php echo $gallery['metadata']['thumbnail']['file_url']; ?>" alt="Gallery Image"/>
</div>
<?php } ?>The above code should give you images that are thumbnail size. You can do something like:
echo '<pre>';
print_r($images);
echo '</pre>';The above code will give all the information that you can use in your code.
Forum: Reviews
In reply to: [ACF Galerie 4] doesn’ work with elementor 3.25.8Hello,
As mentioned in the details section of the ACF Galerie 4 plugin, support for Elementor is coming soon. At this time, however, you won’t be able to use Elementor with ACF Galerie 4.
It is possible to delete images once they’ve been added to the gallery. Simply hover over the image you want to delete and click on the delete icon.
Thank you,
Forum: Plugins
In reply to: [ACF Galerie 4] Gallery 4 not working with elementor pro@ritamopinto14 – I’m not aware of any workaround. If you do decide to use ACF Photo Gallery Field then please keep in mind that moving to ACF Galerie 4 from ACF Photo Gallery Field will be difficult. Difficult as in you’ll need to redo the gallery again on your website.
- This reply was modified 1 week, 4 days ago by Navneil Naicker.
Forum: Plugins
In reply to: [ACF Galerie 4] Gallery 4 not working with elementor proHi @ritamopinto14,
ACF Galerie 4 currently does not support Elementor. However, Elementor support is coming soon!
Forum: Plugins
In reply to: [ACF Galerie 4] Add images to a carousel widget@yesdesignbe – ACF Galerie 4 currently doesn’t support Bricks Builder, so it won’t be compatible at this time. However, Bricks Builder support is coming soon!
You can use either ACF or SCF with ACF Galerie 4. Please note, though, that we only officially test ACF Galerie 4 with ACF, not SCF.
Forum: Plugins
In reply to: [ACF Galerie 4] get_fields() doesnt work with blank gallary@swarajaccustra – I have managed to replicate the issue. I will push the change in the next plugin update which will be late this month because I will have to do entire codebase testing before pushing to everyone.
If you want the solution now then you do this change in the acf-galerie-4 plugin file.
- Go to the WordPress plugin folder and find the folder named “acf-galerie-4”
- Open the folder “acf-galerie-4” and inside the folder you’ll see “class-acfg4-register-field-type.php” file. Open this file in a text/code editor.
- Find this code
function format_value( $value, $post_id, $field ) {
if ( empty($value) ) die();
$attachment_ids = array_map( 'intval', $value );
return $this->get_attachments( $attachment_ids );
}4. Replace it with this code
function format_value( $value, $post_id, $field ) {
$attachment_ids = array_map( 'intval', $value );
if( empty( $attachment_ids ) ){
return array();
}
return $this->get_attachments( $attachment_ids );
}Do let me know if that’s what you wanted.
- This reply was modified 2 weeks, 2 days ago by Navneil Naicker.
Forum: Plugins
In reply to: [ACF Galerie 4] get_fields() doesnt work with blank gallary@swarajaccustra – I would like to replicate this issue. Could you please share the code you are currently working on?
Forum: Plugins
In reply to: [ACF Galerie 4] WP All Import Issue@giorgosm – Unfortunately, I will not be able to check the issue you are facing because WP All Import is a paid plugin.
Forum: Plugins
In reply to: [ACF Galerie 4] WP All Import IssueHi @giorgosm,
Sorry I haven’t had a chance to test the import and export feature in the WordPress plugin yet. I’ll check it out this weekend.
Thanks!
Forum: Plugins
In reply to: [ACF Galerie 4] WPGraphQL supportSupport for WPGraphQL will be available before the end of this month.
Forum: Plugins
In reply to: [ACF Galerie 4] Profil Gallery@claudiobertsch – nice! That’s actually is the solution and I will make this change in the plugin.
Forum: Plugins
In reply to: [ACF Galerie 4] Changing sort order@marioline – this feature is now available in ACF Galerie 4 version 1.2.0. If you encounter any issues, please feel free to let me know.
Forum: Plugins
In reply to: [ACF Galerie 4] Profil Gallery@claudiobertsch – this feature is now available in ACF Galerie 4 version 1.2.0. If you encounter any issues, please feel free to let me know.
Forum: Plugins
In reply to: [ACF Galerie 4] Changing sort order@marioline – currently you can not however this feature will be coming soon too.