Prevent video from showing up in excerpts.
-
I would like to prevent the videos from showing up in excerpt. I managed to get the excerpts to look like I want. But now I just need to prevent the videos.
Here is a link to what I am trying to fix: http://motodude.com/category/video/
Thank you.
Mod
Hmmm…I didn’t think videos would show up in excerpts. How are you inserting those video clips into your posts?
Try this in custom CSS or child theme stylesheet:
.archive iframe {display:none;}
Mod
They are all YouTube videos with just the video link. so they all should render using the same code.
Nope. Some of them are different. (Don’t know why.)
Try this code:
.archive iframe, .archive object {display:none;}
Amazing. Thank you!
You wouldn’t happen to know why I am getting a Java popup on my site would you? I have been getting it for about 2 days now and I don’t know what it is and why I am all of a sudden getting it. I installed the update on one computer, and not my smart security is telling me java is trying to connect to an unknown website. But its in a foreign language and I cannot expect my customers to know to download this update (or know what the close button is in a different language). If you happen to know that would be great thanks.
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.