• Hi,
    I have selected but facebook on my blog http://www.urseetal.net; however, I get two lines with list dots, the first one with the facebook share icon, the second one only the list dot and nothing else. Should only be a single line if I select but one service, or do I miss something?

    Greetings from the Black Forest

    Bernhard

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

    (@urseetaeler)

    Basically the problem is in the code:

    line 241 to line 247 in sharing.php reads (white space partially removed):

    if ( ( $count % 2 ) == 0 )
                   echo '<li class="share-end">';
    			$count++;
    		}
    	?>
    	<li class="share-end">

    I think this is not at all needed! empty list items are IMHO a mess.

    I changed these lines and analog lines in sharing-service.php and got rid of the empty item.

    May be this helps others.

    Bernhard

    I think I am also having this issue. Could you please copy the code exactly as you changed it so I could try that as well?

    I do gather that the ‘li’ with the class “share-end” is the empty item, so I should just remove that?

    My apologies if this seems a silly question, but I am not familiar with PHP syntax.

    Thread Starter urseetaeler

    (@urseetaeler)


    if ( ( $count % 2 ) == 0 )
    /*echo '<li class="share-end">';*/
    echo ' ';
    $count++;
    }
    ?>
    <!--<li class="share-end">-->

    </div>
    </div>

    <?php endif; ?>

    Compare the line
    <!–<li class=”share-end”>–>
    to the original line
    <li class=”share-end”>

    Sorry to be late. BTW This is html and not PHP code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sharedaddy shows an item list of two entries when a single line is sufficient’ is closed to new replies.