• Resolved davidddn

    (@davidddn)


    I noticed that the expected behavior from the wp_title filter function for image pages does not happen.

    This statement:

    if ( $this->is_image( $file ) && ( ‘TRUE’ == $this->get_option( ‘enable_captions’ ) ) ) {

    evaluates false because $file is not defined.

    Defining global $file; on line 657 in frontend.php seems to clear it right up.

    That said – I can not seem to figure out how to get the folder caption into the wp_title of a folder. The code looks like this would be expected behavior for a folder with a caption and folder captions turned on, but no matter what I get the folder file name instead of the caption.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Lazyest Gallery] Bug Fix for Titles’ is closed to new replies.