• Could not get any of the images to direct to a url, instead they just clicked to that image’s WP media page.

    And a series of about six error messages appeared at the top of the page, starting with this:

    Warning: explode() expects parameter 2 to be string, array given in /home/oldtimer/public_html/wp-content/plugins/wp-gallery-custom-links/wp-gallery-custom-links.php on line 205

Viewing 1 replies (of 1 total)
  • Hey man, I just had the same issue. I’ve found a solution adding a verification for the $attr['ids'] and the $attr['include']:

    if ( is_array( $attr['ids'] ) ) {
      $attachment_ids = array_merge( $attachment_ids, $attr['ids'] );
    } else {
      $attachment_ids = array_merge( $attachment_ids, explode( ',', $attr['ids'] ) );
    }

    Make this with the next sentence ($attr['include']).

Viewing 1 replies (of 1 total)
  • The topic ‘Links did not work’ is closed to new replies.