x – customization to logo-slider plugin

Edited file “logo-slider/logo-slider.php” that is part of the plugin “logo slider”

Makes the logos not appear on the print version – otherwise the print on top of the text.
The shuffle line makes the logos appear in random order.

INSERT THIS just before the line “<style type=”text/css” media=”screen”>”

<!– ADDED jan 23, 2014 –>
<style type=”text/css” media=”print”>
#logo-slider-wraper {display: none !important}
#logo-slider {display: none !important}
</style>

INSERT THIS inside the “function logo_slider($args = array(), $content = null) {”
just before the line “foreach ($data_chunks as $data_chunk) {”

// ADDED Dec2014
shuffle($data_chunks);

Powered by WordPress. Designed by Woo Themes