MP3 player
- LRAM
- Master Bludit
- Posts: 180
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Hello
Any idea for adding à MP3 player on theme like minimal or portfolio. My main goal is to have a cover and the player, so it's possimple and efficient
Thank a lot
Any idea for adding à MP3 player on theme like minimal or portfolio. My main goal is to have a cover and the player, so it's possimple and efficient
Thank a lot
https://lucy-racquel-and-me.com/
Candies for the ears
Candies for the ears
- LRAM
- Master Bludit
- Posts: 180
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Thank Edi
on the themes I use (portofolia and minima) The cover of each single is displayed. If I click on it, the page of the song opens, where I can put an mp3 player, the text of the songs ...
but then my listener has to click twice at least
I would like the player to be accessible from the home page, that each single would have its own player under the cover, even if I have to standardize the name and location of the mp3 for that
on the themes I use (portofolia and minima) The cover of each single is displayed. If I click on it, the page of the song opens, where I can put an mp3 player, the text of the songs ...
but then my listener has to click twice at least
I would like the player to be accessible from the home page, that each single would have its own player under the cover, even if I have to standardize the name and location of the mp3 for that
https://lucy-racquel-and-me.com/
Candies for the ears
Candies for the ears
- LRAM
- Master Bludit
- Posts: 180
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Thank Edi
I'll check if I understand how to do that
I'll check if I understand how to do that
https://lucy-racquel-and-me.com/
Candies for the ears
Candies for the ears
- LRAM
- Master Bludit
- Posts: 180
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
Bonjour Edi
Ok, i created the custom field, it was easier than I thought it would be.
so now, if I add {{ MP3 }} to my page I see a player that works. fine
https://sucrepop.com/Singles/would-you-be-my-valentine
but, what I want is to place it under the art cover of the song, not on the page
Where should I put this code now
thanks a lot
Ok, i created the custom field, it was easier than I thought it would be.
so now, if I add {{ MP3 }} to my page I see a player that works. fine
https://sucrepop.com/Singles/would-you-be-my-valentine
but, what I want is to place it under the art cover of the song, not on the page
Where should I put this code now
thanks a lot
https://lucy-racquel-and-me.com/
Candies for the ears
Candies for the ears
- LRAM
- Master Bludit
- Posts: 180
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 8 times
- Been thanked: 1 time
- Contact:
yes, each mp3 song under each art cover
thanks
thanks
https://lucy-racquel-and-me.com/
Candies for the ears
Candies for the ears
- Edi
- Site Admin
- Posts: 2974
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 39 times
- Been thanked: 55 times
- Contact:
You can use the same code for the loop in the file home.php as in the file page.php to include the player.
The loop in the file home.php shows the "preview" of every page. It starts (line 8):
And it ends (line 20):
The loop in the file home.php shows the "preview" of every page. It starts (line 8):
Code: Select all
<?php foreach ($content as $page) : ?>
Code: Select all
<?php endforeach ?>