• devangpjr

    (@devangpjr)


    I am trying to set up the Instagram slider but when I add a shortcode on the homepage, it’s breaking the hhomepage.
    I have checked “class-wis_instagram_slider.php” line number 910 under $images_data foreach this function called “$output .= $this->get_template( $template, $template_args );”
    If I add echo ‘

    '; var_dumb($output); echo '

    ‘; exit then its showing data but once I remove this then whole page breaks without any error.
    Please let me know how can I fix the same.
    In array, only 11x Instagram post but looks like it’s going on infinite loop.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Temyk

    (@webtemyk)

    Hello.

    If there is an error on the site, please send the error text.
    You don’t need to add anything to the code, as the plugin works perfectly for all users. The problem is something else.

    Thread Starter devangpjr

    (@devangpjr)

    I am not getting any error. Just breaking the homepage layout.
    Homepage layout it built with ACF Pro flexible field as a module.

    Thread Starter devangpjr

    (@devangpjr)

    I have found issue what causes page break. on function “get_template” on line number 966: get_the_excerpt() called which causes an issue as on-page there is no excerpt and I am setting page layout via ACF flexible content. when I remove the excerpt and add blank variable $caption then it’s working.

    Temyk

    (@webtemyk)

    I understood. Try deleting the widget and creating it again.

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

The topic ‘Break Page’ is closed to new replies.