• Resolved teletom

    (@teletom)


    Hi! I’ve multiple (sub)albums displayed in my photos-section of my one-page-layout – this works fine (#fotos) – I can browse all subalbums an thumbnails.
    When I click on the parent album to go “back” the url is https://mydomain.com – but it should be https://mydomain.com#fotos (to jump back to the foto-section)

    do you have any idea how to solve this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Try this:

    Edit wppa-breadcrumb.php.
    From line 537 it reads:

    
    // Display a breadcrumb item with optionally a seperator if it is a link.
    // If it's a link, it's not the last item
    function wppa_bcitem( $value = '', $href = '', $title = '', $class = '', $ajax = '' ) {
    static $sep;
    
    	// Encrypt
    	$href = wppa_encrypt_url( $href );
    	$ajax = wppa_encrypt_url( $ajax );
    
    	// Convert url to pretty
    	$href = wppa_convert_to_pretty( $href );
    

    Change the last line into:

    
    $href = wppa_convert_to_pretty( $href ) . '#wppa-container-' . wppa( 'mocc' );
    
    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Fixed 6.6.0

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Album Collection on One-Page-Layout’ is closed to new replies.