WordPress Oxygen Builder, Add a featured video instead of an image - wordpress

I have an option when creating my post to add a featured image, however I would like to be able to add here a featured video too.
How I can add a featured image
The videos that I want to add are YouTube Vidoes.
I have tried following this blog, but it is not working in my case since my theme doesn't give me the format option.
Thank you for your help.

Related

Custom snippet to set a featured videos instead of images for a post

I'm looking for an option to show a Video instead of a Featured image of a specific post. (Want to create a category overview with video thumbnails). Earlier it was possible with Post Format --> Video with the classic editor with the direct input of the URL in the textfield. But we have several team members who don't want to work with this editor anymore. Is there a snippet to set videos as a featured images in posts to create a video overview instead of a image? I guess a pug-in is a little bit an overkill to use.
Thanks!

How to use an image for a blog post thumbnail, but NOT have it be the featured image on the top of the post?

I have an image that I would like to be used for thumbnails for the page, but I don't want that as a featured image when users come to the page. Does anyone know how to do this in wordpress?
Thank you.
You probably want to use ACF (Advanced Custom Fields) to add a new field for an image in posts (or you can create your own meta field just for the image). Then You can edit your theme to show whatever image, wherever you want.
ACF Plugin
If you just want to hide the featured image in every post, and only show it in blog page (or a page like that), you need to edit the post template.
https://developer.wordpress.org/themes/template-files-section/page-template-files/#page-templates-within-the-template-hierarchy
I ended up solving this by using an extension called 'Conditionally display featured image on singular posts and pages'. This allowed me to toggle off the the big picture on the post.

add og:image in Wordpress Gutenberg

So I create a new post in Wordpress.
I use the Gutenberg image block to upload an image.
When I scrape the post at the Facebook sharing debugger it displays another random image from my library and tells me no og:image is set.
There's only one image -- how to add the og:image tag?
The og:image tag will contain only the "featured image" of your WP post. If there is no featured image, social media sites will probably use/display the first "regular" image appearing in your post, but there's no guarantee for that.
You might want to use the "Yoast" plugin, this will most likely try to achieve this automatically.

Wordpress - Image lightbox with different image when clicked

For my wordpress site, I need some images arranged in a grid and when one is clicked a specific (different) image is displayed bigger. I thought that there maybe is a lightbox/gallery plugin, where one enters the link for the small and big picture, and I can just use the link to a different image instead of to the same one, but bigger. Does anyone know a plugin that works like that? Or any other way to make that work?
You can use "WP Gallery Custom Links" plugin to set different image link by using "custom URL" option.
Simply go to a post or page and create a new gallery. You will see the custom link meta fields for individual images in a gallery.

Use other image as thumbnail for Sparkling Theme Polular Post Widget in wordpress

I have installed Sparking Theme. I tried to use Sparkling Polular Post Widget to display my popular posts in the side bar. By default it shows a thumbnail which always shows the featured image. I want to show any other image as thumbnail, say the first image found in the post as thumbnail. Beacuse if any post doesn't have the featured image, it shows just blank, I want to show first image of the post as thumbnail.
Is it possible to somehow achieve it? I am new to wordpress and may be I a missing something. Please help.
Thanks
Manish
you can try using this plugin https://wordpress.org/plugins/autoset-featured-image/ or this https://wordpress.org/plugins/easy-add-thumbnail/ .the second one works out of the box .when you publish a post it checks for a featured image. If it does not find one, then it looks for the first image attached to the post and sets it as featured image

Resources