projects
/
WP-Themes
/
wmta.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
238404e
)
Setting the slideshow animation to fade
author
Laury GvR
<laury@gaslightmedia.com>
Wed, 14 Feb 2018 21:56:29 +0000
(16:56 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Wed, 14 Feb 2018 21:56:29 +0000
(16:56 -0500)
Current ad slider animation is set to slide from right to left.
This setting hopefully changes that to fading.
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
5d90a24
..
c6f0a5c
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-333,6
+333,7
@@
require get_template_directory() . '/inc/royalslider.php';
function restore_slider_behavior( $settings ) {
$settings['infinite'] = 'true';
+ $settings['animation'] = "'fade'";
return $settings;
}
add_filter( 'advanced-ads-slider-settings', 'restore_slider_behavior' );