Support » Plugin: WP Photo Album Plus » [Plugin: WP Photo Album Plus] Sidebar Slideshow widget

  • It appears there is a 11px border around the filmstrip on the sidebar slideshow widget. How can I reduce the size of the border?

    For the browsebar, I don’t want to show the number, rather I want to show the next/prev navigation without the need to click the number. How do I change this?

    TIA

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

    (@opajaap)

    1.

    You may change the margin and the top/bottom padding in wppa_style.css.

    It reads:

    .wppa-box {
    	margin: 8px 0 8px 0;
    	padding: 2px 6px 2px 6px;
    }

    Do not change the 6px in the above, it will misplace the filmstrip horizontally.

    Please read the instructions at the top of wp-photo-album-plus/theme/wppa_style.css on modifying this file or read the documentation page

    2.

    You will not see the browse arrows when the slideshow runs. You will see the arrows when the slideshow is stopped (i.e. is in browse mode).

    When you click on the counter, the slideshow stops and hence shows the arrows or starts and hides the arrows. If you want the slideshow start in the non-running (= browse) mode, uncheck in the Photo Albums -> Settings admin page Table IV item 3
    If you do not want the counter, why not switch the browsebar off in the widget activation dialog and use the filmstrip arrows or the big browse buttons under the left and right edges of the picture?

    In general. you can only browse when the slideshow is not running.

    1. Worked great, thanks.

    2. I want the slideshow to start, I don’t want the counter (numbers) to display. I want the arrows to display even if the slideshow is running. I have to have the browsebar enabled to do this. I just need to modify it.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The problem with showing the browse arrows during a running slideshow is that it screws up the slideshow javascript. It leads to strange results when a visitor browses one or more pictures while the slideshow runs.

    I tried it, but it is really confusing, and i also do not understand why it is so important for you.

    You can remove the counter by changing wppa_functions.php, starting at line 2162 it reads:

    function wppa_browsebar($opt = '') {
    global $wppa;
    global $wppa_opt;
    
    	if (is_feed()) {
    //		wppa_dummy_bar(__('- - - Browse navigation bar - - -', 'wppa_theme'));
    		return;
    	}
    	$do_it = false;
    	if ($opt != 'optional') $do_it = true;
    	if (!$wppa['is_slideonly'] && $wppa_opt['wppa_show_browse_navigation']) $do_it = true;
    	if ($wppa['is_slideonly'] && $wppa['browse_on']) $do_it = true;
    
    	if ($do_it) {
    		$wppa['out'] .= wppa_nltab('+').'<div id="prevnext2-'.$wppa['master_occur'].'" class="wppa-box wppa-nav wppa-nav-text" style="text-align: center; '.__wcs('wppa-box').__wcs('wppa-nav').__wcs('wppa-nav-text').'">';
    			$wppa['out'] .= wppa_nltab().'<span id="p-a-'.$wppa['master_occur'].'" class="wppa-nav-text wppa-arrow" style="float:left; text-align:left; '.__wcs('wppa-nav-text').__wcs('wppa-arrow').'">« </span>';
    			$wppa['out'] .= wppa_nltab().'<a id="prev-arrow-'.$wppa['master_occur'].'" class="wppa-nav-text arrow-'.$wppa['master_occur'].'" style="float:left; text-align:left; cursor:pointer; '.__wcs('wppa-nav-text').'" onclick="wppa_prev('.$wppa['master_occur'].')" ></a>';
    			$wppa['out'] .= wppa_nltab().'<span id="n-a-'.$wppa['master_occur'].'" class="wppa-nav-text wppa-arrow" style="float:right; text-align:right; '.__wcs('wppa-nav-text').__wcs('wppa-arrow').'"> »</span>';
    			$wppa['out'] .= wppa_nltab().'<a id="next-arrow-'.$wppa['master_occur'].'" class="wppa-nav-text arrow-'.$wppa['master_occur'].'" style="float:right; text-align:right; cursor:pointer; '.__wcs('wppa-nav-text').'" onclick="wppa_next('.$wppa['master_occur'].')"></a>';
    			$wppa['out'] .= wppa_nltab().'<span id="counter-'.$wppa['master_occur'].'" class="wppa-nav-text wppa-black" style="text-align:center; '.__wcs('wppa-nav-text').'; cursor:pointer;" onclick="wppa_startstop('.$wppa['master_occur'].', -1);" title="'.__a('Click to start/stop', 'wppa').'"></span>';
    		$wppa['out'] .= wppa_nltab('-').'</div><!-- #prevnext2 -->';
    	}
    }

    remove this line (2181): (or place // in front of it:

    $wppa['out'] .= wppa_nltab().'<span id="counter-'.$wppa['master_occur'].'" class="wppa-nav-text wppa-black" style="text-align:center; '.__wcs('wppa-nav-text').'; cursor:pointer;" onclick="wppa_startstop('.$wppa['master_occur'].', -1);" title="'.__a('Click to start/stop', 'wppa').'"></span>';
    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You may try changing the id’s p-a-, n-a-, prev-arrow- and next-arrow- in the above by placing an x before them so (1 example):

    $wppa['out'] .= wppa_nltab().'<span id="p-a-'.$wppa['master_occur'].'" class="wppa-nav-text wppa-arrow" style="float:left; text-align:left; '.__wcs('wppa-nav-text').__wcs('wppa-arrow').'">« </span>';

    becomes:

    $wppa['out'] .= wppa_nltab().'<span id="xp-a-'.$wppa['master_occur'].'" class="wppa-nav-text wppa-arrow" style="float:left; text-align:left; '.__wcs('wppa-nav-text').__wcs('wppa-arrow').'">« </span>';

    this will no longer hide the items but i give you no warranty for the functionality…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Photo Album Plus] Sidebar Slideshow widget’ is closed to new replies.