I am using Twenty Twenty-Five as a theme. When I click share (on any track from MP3 Player) the link that is generated, directs to a page that is utilizing some styling that doesn't match anything else (wrong footer/header). I cannot for the life of me find any template, pattern, etc. within the appearance editor that matches the page that the shared link is using to edit. Could you clue me in to what the player is using so I can edit it to match?
The shared URLs are those of the posts where the track has been embedded. In this case, these are the playlist posts from the MP3 Player plugin. The player style comes from the default settings configured at wp-admin > MP3 Player > Settings.
If you want to use a shortcode to configure the player, go to: wp-admin > MP3 Player > Settings > Widget Player > Single Post Settings and enable the option: "Use Advanced Player Shortcode for the Single Post"
The issue isn't the look of the player itself, but rather the page itself being used for the player's custom post type. Not sure if it is calling a specific php file or using some alternative css but I'm trying to get the header and footer of this custom post type to match the rest of the site. For example, the page being created adds "Proudly powered by Wordpress" in the footer. I don't have this anywhere I can intuitively find. So if I wanted to remove that, what would need to be edited?
OR is there something I'm missing about embedding the shortcode into a dedicated "post" that correctly links to the individual track's single post?
This line will prevent the default single playlist template from loading.
If you don’t have a child theme, download the attachment and install it as the wordpress theme. The code above is already included.
Once the child theme is activated, the default single playlist template will no longer load. You will now need to create your own template.
Go to WP-Admin > Appearance > Editor Click on Templates and then Add Templates. Select Single item: Playlist (MP3 Audio Player Pro) https://drops.sonaar.io/i/WtbVBM
Here you will be able to create the template as you wish. Insert an MP3 player and select Current Post as the audio source for the player.
I am using Twenty Twenty-Five as a theme. When I click share (on any track from MP3 Player) the link that is generated, directs to a page that is utilizing some styling that doesn't match anything else (wrong footer/header). I cannot for the life of me find any template, pattern, etc. within the appearance editor that matches the page that the shared link is using to edit. Could you clue me in to what the player is using so I can edit it to match?
Thank you!
Thanks,
Alex from the Sonaar.io Crew
The issue isn't the look of the player itself, but rather the page itself being used for the player's custom post type. Not sure if it is calling a specific php file or using some alternative css but I'm trying to get the header and footer of this custom post type to match the rest of the site. For example, the page being created adds "Proudly powered by Wordpress" in the footer. I don't have this anywhere I can intuitively find. So if I wanted to remove that, what would need to be edited?
OR is there something I'm missing about embedding the shortcode into a dedicated "post" that correctly links to the individual track's single post?
Hello,
There is indeed a current incompatibility between the custom post types of MP3 Player Pro and the Twenty Twenty-Five theme.
Are you using a child theme?
If yes, edit the functions.php file of your child theme and insert this code at the end of the file:
remove_filter('template_include', 'srmp3_set_template', 10);
});
This line will prevent the default single playlist template from loading.
If you don’t have a child theme, download the attachment and install it as the wordpress theme. The code above is already included.
Once the child theme is activated, the default single playlist template will no longer load. You will now need to create your own template.
Go to WP-Admin > Appearance > Editor
Click on Templates and then Add Templates.
Select Single item: Playlist (MP3 Audio Player Pro)
https://drops.sonaar.io/i/WtbVBM
Here you will be able to create the template as you wish.
Insert an MP3 player and select Current Post as the audio source for the player.
Attached files: twentytwentyfive-child.zip
Thanks,
Alex from the Sonaar.io Crew