Featured Image instead of video – Post Style 3

Posted in: Newspaper
Post count: 20

Hello,

I want to show the featured image instead of the video in the Post style 3, and to show the youtube video below.

Post count: 6600

Hi,

If you need a featured image then set a featured image for the post and then add the video URL below in the post content where you want it to appear, like this: http://screencast.com/t/MTnuVna6tHe9
Result: http://screencast.com/t/8nrtHyou

Thanks

Post count: 20

Is there no other way, because I am using an external app to parse the wp-json api.

Post count: 6600

Hi,

Just place a video URL into the Featured Video field and leave the post format to standard then save the post: http://screencast.com/t/leDsHMef You will get the featured image for that video inside the post, just place the video URL below: http://screencast.com/t/iVVeghH4z
Hope this helps!

Thanks

Post count: 20

hmmmmm…. with this solution i’m not happy because, so i have to change about 1000 Articles and it will not work properly.

but aren’t there any other soutions?

I want only that when i select the post format video, there appears the featured image as header image on style 3 and the video below.

Post count: 6600

Hi,

You could also change the code so that when post format video is selected and post template 3 the featured video thumb set as featured image. You could do it by placing these two modified function in the td_module_blog.php file: http://pastebin.com/pb1uLHF2
Just paste the code like this: http://screencast.com/t/P3iavD9thp4
After this you have to edit the single_template_3.php file and change the get_image() function into get_image_custom() function like this: http://screencast.com/t/bOUJ8fEA0uV
Last you need to edit the loop-single-3.php file and add the video function like this: http://screencast.com/t/njnSMLBwL
This is the line you have to add: get_video_custom(); ?>
This way on post template 3 you will always have the video thumb as featured image showing first and the video added in the featured video filed showed above the content.

Thanks

Post count: 20

Yes! It worked. Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.