WordPress.org

Support

Support » Plugins and Hacks » Lightbox Gallery » gallery not working in wp3.5

gallery not working in wp3.5

Viewing 5 replies - 1 through 5 (of 5 total)
  • Fixed::

    In lightbox-gallery.php, On line number 516 replace include with ids and on line number 530 please add $include =$ids;

    It works for me.

    to khan:

    I can’t find 516 and 530 line. Could you please copy&paste the around code?

    I use VIM, the line 516 and 530 are nonsense.

    To Xiao

    Code for 516 line ::

    extract(shortcode_atts(array(
    		'order'      => 'ASC',
    		'orderby'    => 'menu_order ID',
    		'id'         => $post->ID,
    		'itemtag'    => 'dl',
    		'icontag'    => 'dt',
    		'captiontag' => 'dd',
    		'columns'    => $columns,
    		'size'       => $size,
    	        'include'    => '',</strong>  // HERE REPLACE include with ids

    Code for 530 line ::

    $id = intval($id);
     // add here $include =$ids;
    	if ( 'RAND' == $order )
    		$orderby = 'none';

    I’m having the same issue, and this fix didn’t work for me. 🙁

    SO — just to be clear — the extract line of code should read
    ‘ids’ => ”,

    ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘gallery not working in wp3.5’ is closed to new replies.
Skip to toolbar