projects
/
WP-Themes
/
EMSEmmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eecca26
)
Testing video gallery script rpelacement
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 19 Mar 2015 15:44:29 +0000
(11:44 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 19 Mar 2015 15:44:29 +0000
(11:44 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
2dda100
..
477ad67
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-133,6
+133,16
@@
function glm_site_scripts()
);
if(is_front_page()) {
}
+ if(is_page('videos')) {
+ echo '<script>
+ jQuery(document).ready(function(){
+ jQuery(".ngg-fancybox").each(function (){
+ jQuery(this).addClass("various iframe");
+ jQuery(this).attr("href",jQuery(this).children("img").attr("title"));
+ });
+ });
+</script>';
+ }
}