Home Forums WoodMart support forum Instagram API brings only 1st image

Instagram API brings only 1st image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #481355

    d_ch
    Participant

    Hi,

    While using API for Instagram element of WoodMart to show my latest posts on my home page, it brings only the 1st image even if I have set number of photos to 8 and 4 photos per row.

    At API integrations, I can see normally Instagram API connected with my desired account.

    Waiting for your further advice on this.

    Regards,
    Dimitris

    Attachments:
    You must be logged in to view attached files.
    #481425

    Artem Temos
    Keymaster

    Hello,

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_action( 'image_sideload_extensions', function($allowed_extensions) {
    	$allowed_extensions[] = 'heic';
    	return $allowed_extensions;
    });

    Kind Regards

    #481617

    d_ch
    Participant

    Hi,

    Your recommended snippet worked fine for my case!

    Is it a theme bug that will be fixed at the next updates or not?

    #481889

    Artem Temos
    Keymaster

    Hello,

    It is due to a new format for images used by Instagram. And this format is not supported by WordPress by default. This code snippet allows to use this format in WordPress.

    Kind Regards

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