This repository has been archived by the owner on Dec 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
music.php
66 lines (57 loc) · 2.41 KB
/
music.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
* Template Name: Music
* Description: Music page with Playlists
*/
get_header(); ?>
<div class="main-content">
<div class="entry-content">
<?php the_title( '<h1>', '</h1>' ); ?>
<?php
// Start the loop.
while ( have_posts() ) : the_post();
// Include the page content template.
the_content();
// End the loop.
endwhile;
?>
</div>
<div class="row">
<iframe class="row vertical" src="https://embed.spotify.com/?uri=spotify%3Auser%3Aurnplaylist%3Aplaylist%3A7a5zE78nIKxubabMBYq3EA" width="300" height="800" frameborder="0" allowtransparency="true"></iframe>
<div class="row vertical">
<!-- Youtube Grid of images -->
<div class="youmax"></div>
<script>
jQuery(document).ready(function( $ ) {
// Settings (must be below youmax class)
$('.youmax').youmax({
apiKey: 'AIzaSyBWZBeWeXbWUHcNKbt-vEXH6q3ltP6CDLs', // [email protected]
youTubeChannelURL: "http://www.youtube.com/user/urn1350",
youTubePlaylistURL: "PL9tY0BWXOZFvWi6WNdcokF_YvXUxyESRW",
youmaxColumns: 1,
showVideoInLightbox: false,
maxResults: 3,
showHeader: false,
customTabs: [
{
name: "Playlist A",
type: 'featured',
url: "PLj7bGB3G_znvbJ5E6hLDYn26akuU5HJkz"
},
{
name: "Playlist B",
type: 'featured',
url: "PLj7bGB3G_znu08f1pWCwCHOCpBAhRHC78"
},
{
name: "Playlist C",
type: 'featured',
url: "PLj7bGB3G_znschvxh-cXqPtX7DS54Ui5k"
}
]
});
});
</script>
</div>
</div>
<?php get_footer(); ?>