Removing Featured Image & Audio Player Above Post – Elemin Theme
-
Not looking to make this more confusing just trying to help…
Maybe this has something to do with it and the issue now can be from a “fix” back then:
I knew I used the Elemin theme when we first started the blog and had issues with the audio post format back then.
I found the old forum post:
https://theme-support.wordpress.com/topic/using-post-format-audio-player-does-not-show-on-homepage/I understand the Elemin theme adds unique treatment to an audio post but it’s clear that it’s being added above the post without my input.
And it looks silly when there are 2 audio players. So whether or not it’s a bug, glitch, style etc. I hope that what I’m looking for makes sense and can at least be changed for my personal site.
I know I write at length (it was confusing reading my own post from back then) so thank you for your patience.
-
Thanks for the link! I’ve added that to the ticket as well. I’ll let you know as soon as I hear from our developers, then we can make sure your site looks the way you want. :)
-
-
Not yet. Our theme developers have a bit of a backlog right now. I’ll try to grab one of them in the morning and see if I can get someone to take a look. :)
-
Howdy!
Just a note to say we’ve taken a look at this and have a solution for you. When assigning a post to the Audio post format, the post attempts to grab the first attached audio file and display it.
To avoid duplication, you don’t need to insert your audio file into the content area at all; just upload it directly to the post using the Add Media button then exit the dialog, assign your post to the Audio post format, Publish, and the player will appear automatically.
In addition, should you want to ‘attach’ an audio file to an existing post without having to reupload it to that post, you can do so via the Media Library:
https://en.support.wordpress.com/media/unattached-files/I hope this helps!
Cheers,
Caroline -
Hello
Thanks for getting back to me.
I am not sure if you followed the whole back and forth above or not.
I know this is getting lengthy and not sure if I am being 100% clear. My main point is in the summary.
I am going to try again using 3 examples:
It sounds like your saying everything is behaving as it should (which may be the case) however the results I am getting is not working for how I want it to appear on my site and I was looking to possibly use Custom CSS to have it look the way I want it to.
I need the audio player to show up in a specific area of the post. I can’t have it automatically appear above or below the post or anywhere I don’t have control over.
I post a lot of audio and video and video posts often have an audio version and want it to appear below the video or I have a written introduction and or a picture and want the audio player to appear below that portion of the post.
I removed the Custom CSS suggested above so I can give you examples of what is happening.
Here are 3 example posts 2 using the audio post format and 1 using the standard post format.
A:
Using the audio post format with the audio player in the content area in the exact place I want it to appear:
http://11213.org/2012/04/23/bais-rivkah-hs-11th-gr/B:
Using the audio post format without including the audio player in the content area as you suggested:
http://11213.org/2012/04/23/hamesivta-bochurim/C:
Using the standard post format with the audio player in the content area in the exact place I want it to appear:
http://11213.org/2012/04/24/uly-mesivta-shiur-beis/Issues with each example:
A:
The audio player is showing up twice and the first one is showing up above the post out of the context I want it to be in. (below The image/text)B:
The audio player is showing up above the post out of the context I want it to be in. (below The image/text)C:
This is how I want my posts to look however the icon is for a standard post and I would like posts such as this to look exactly this way but have the audio icon beside it not the standard post icon.Summary:
In other words I want to have my audio posts look as they do in example “C” and if the Elemin theme is adding some special treatment to an audio post to make it appear automatically etc. I want to use Custom CSS so it displays as I want it to. -
Hi there! Sorry for the delay! This theme is a bit old, so it does some things differently than we normally do with the different post formats.
I checked in with one of our theme devs to come up with some CSS code that will make this work the way you want. They suggest adding this code:
.entry-content .mejs-container:first-of-type { display: none; }Let me know if I can help further!
-
Whoops. We’ll want that code to be a bit more specific. This is what you’ll want:
.format-audio .entry-content .mejs-container:first-of-type { display: none; } -
I am gonna try this:
.format-audio .entry-content .mejs-container:first-of-type {
display: none;
}Just to be clear – it should not give me the same issues that the old code you posted gave me?
(OLD CODE: .format-audio .entry-content>div:first-of-type {
display: none;
})Thank you for the help.
-
It shouldn’t. Let me know when you have that code enabled and I’ll take a look at this post again:
-
OK it seems something still needs to be figured out maybe more relating to updating old posts to the audio post format although last time I also had an issue with making a new post (maybe cuz it had more than 1 audio in the post)
Anyway check that post again:
http://11213.org/2014/12/16/challenge-day-8th-grade-oholei-torah/The Audio player is not showing up in the post itself.
Here is another example of a class I updated:
http://11213.org/2012/05/01/uly-8th-grade-class-2/Audio player not showing.
I made a new private post (not sure if you can see it)
http://11213.org/2012/05/01/uly-8th-grade-class-2/Seems like its working…
Maybe it has something to do with when the post is changed to audio post format or how I add the audio to the post
If I upload it on the media page and then insert it into the post or if I just insert it…
(From sixhours Staff :
To avoid duplication, you don’t need to insert your audio file into the content area at all; just upload it directly to the post using the Add Media button then exit the dialog, assign your post to the Audio post format, Publish, and the player will appear automatically.
In addition, should you want to ‘attach’ an audio file to an existing post without having to reupload it to that post, you can do so via the Media Library: https://en.support.wordpress.com/media/unattached-files/)
I really appreciate you trying to figure this out. If new posts will work well and I will just need to mess around to get the old ones looking right that will be good enough.
I think we are really close so I hope we can get it. Thanks for sticking with it.
-
Alright. So, I believe what happens is if the post is set to a non-audio post format, and then get changed to the audio format, the audio player does not get replicated at the top of the post.
So, what I would propose is that you remove the code I gave you (this will bring the player back to the your old posts). Then, for new posts, publish using the steps Caroline gave you, not actually inserting the media into your post.
Does that work for you?
Another option could be to leave the code I gave you. Then, when you publish new posts, add the audio player where you want it in the post and publish as an audio format post. Doing it this way, you’ll need to duplicate the audio players in your previous posts.
-
I am gonna leave it with the code in for now. I will see if I can figure a way to get the old posts to have the audio icon. If not I may leave the old posts as standard.
I won’t be posting audio or much at all for the next two weeks or so. I won’t really be able to test it with new audio posts either.
If you can please just leave this thread open so I have a chance to see how the new code works.
Thank you very much for all your help.
-
- The topic ‘Removing Featured Image & Audio Player Above Post – Elemin Theme’ is closed to new replies.