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

    (@gabys)

    What page would I edit to change the thumbnail page?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    wp-photo-album-plus/theme/wppa-theme.php line 78:

    ..
    							$didsome = true;
    							wppa_thumb_default();									// Show Thumb as default
    						}	// End if on page
    					endforeach;
    					wppa_popup();													// Prepare Popup box
    				wppa_thumb_area('close');											// Close Thumbarea sub-container

    change to:

    ..
    							$didsome = true;
    							wppa_thumb_default();									// Show Thumb as default
    						}	// End if on page
    					endforeach;
    global $wpdb;
    $albdesc = $wpdb->get_var($wpdb->prepare("SELECT <code>description</code> FROM <code>".WPPA_ALBUMS."</code> WHERE <code>id</code> = %s", $wppa['current_album']));
    $wppa['out'] .= '<hr />'.wppa_html(stripslashes($albdesc)).'<hr />';
    					wppa_popup();													// Prepare Popup box
    				wppa_thumb_area('close');											// Close Thumbarea sub-container

    NOTE:
    where it says <code> it should be a backtick in $albdesc = ...

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    PS: place the new code below wppa_popup();, so immediately above wppa_thumb_area('close'); to avoid layout problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Photo Album Plus] Adding album description to album page’ is closed to new replies.