Home Forums Basel support forum Unable to Update Instagram Within The Theme

Unable to Update Instagram Within The Theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #143610

    redtyger23
    Participant

    Please help me update the issue with the instagram widget. I found a thread for it but was lost on how to apply the instructions. Thank you

    #143622

    Hello,

    Please add this code to the functions.php of the child theme:

    add_filter( 'basel_intagram_user_ajax_load', '__return_true' );

    Next, find the file

    basel\inc\shortcodes\shortcodes.php

    Find this line:

    if ( is_wp_error( $media_array ) && $media_array->get_error_code() === ‘invalid_response_429’ ) {

    and replace with this line:

    if ( is_wp_error( $media_array ) && ( $media_array->get_error_code() === 'invalid_response_429' || apply_filters( 'basel_intagram_user_ajax_load', false ) ) ) {

    If you need help, provide the site admin access and FTP into the private area.

    Best Regards

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