Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter htmltiger

    (@htmltiger)

    Just updated to new version and its ok now,
    Thanks.

    htmltiger

    (@htmltiger)

    if ( ! empty( $attr['ids'] ) ) {
    if ( empty( $attr['orderby'] ) ){$attr['orderby'] = 'post__in';}
    $attr['include'] = $attr['ids'];
    }

    add this code in paginated-gallery.php
    after this line
    function paginated_gallery($attr) {

    Thread Starter htmltiger

    (@htmltiger)

    Never mind, I have fixed it by editing the following block

    { if ( strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media-upload.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/upload.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media-new.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media.php”)===false )

    and replace it with

    { if ( strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media-upload.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/upload.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media-new.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/post-new.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/post.php”)===false
    && strpos($_SERVER[‘REQUEST_URI’], “/wp-admin/media.php”)===false )

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