Plugin Author
Alex
(@ahoereth)
If I get you right you want to not automatically replace the featured images in your theme but just display the YouTube video’s screen capture.
When no featured image is set and you add a featured video the plugin also sets the screen capture as featured image. To not display the video in place of the image you need to disable “Replace Featured Images” in the Media Settings. If you now want to display the video you can easily make use of the [featured-video]
shortcode.
Is this what you were looking for?
Correct that’s what I want. I changed the settings and still cannot get it to work. It only shows now a dead image icon or something to that affect. I’m using the magazino theme.
Plugin Author
Alex
(@ahoereth)
I just installed the theme and the plugin works fine with “Replace Featured Images” disabled. Does the post you are testing have a Featured Video AND a Featured Image? This is important, because the plugin sets the Featured Image just when you add a video. If you add a video and then remove the featured images, no image can be displayed.
Okay now it performed as expected! Thanks a lot for walking me through it Alex. I appreciate your time and help.
Plugin Author
Alex
(@ahoereth)
You’re welcome! If you like the plugin I would be thankful for a rating.
I have a problem, as I have a slider on my page and a blogroll displaying the news that the slider highlights I have a little/big problem. My question is how can I have a featured video in the blogroll but in the slider have a image, is this possible? to have both a featured image that displays in the slider and a featured video that displays in the blogroll both for the same post?
Thanks for any help.
Plugin Author
Alex
(@ahoereth)
Featured videos in the blogroll? You mean in the recent post widget? Blogroll normally contains links to other blogs.
Are the videos already being displayed in the widget? I can not reproduce this with twenty twelve.
No, i mean right under the slider. If you look at http://www.kimura.se as an ex, I would like to insert a news with a video as a post. The “Video” will show up in the slider as it is a “latest news” post, and below the slider as a post. In the slider I would like a Image, and in the post feed I would like my video to appear. I dont know how to explain this, but if you look at te site I took as an example I would like the image to come out in the slider and the video in the post below, so it would have 2 features, 1 image for the slider and 2 video for the post.
Plugin Author
Alex
(@ahoereth)
Ah yea i get what you mean i guess. The term blogroll confused me.
To achieve this you need to disable “Replace Featured Images” in you Media Settings and than manually edit the themes source files to make use of this code:
<?php if( has_post_video() ) { ?>
<?php the_post_video(); ?>
<?php } else { ?>
<?php // default code to display the Featured Image goes here ?>
<?php } ?>
I do not know which theme you are using. Normally this code needs to be added in index.php
and single.php
. Is it a publicly available theme? Than I could look into where exactly you need to edit it. Note that changes in the theme’s source files will be undone when you update the theme.