CM Tooltip (CMTG) - Terms - Featured Image or Video
Adding a Featured Image or Video
The CM Glossary plugin’s eCommerce edition supports adding a featured image and video to your WordPress glossary terms.
1) Adding Featured Image
Adding the image into the term page is easy, and is done from the featured image metabox. It appears on every term post at the bottom right side of the screen (location may defer if you’re using the WordPress interface with a non-English language).
The size of the featured image can be modified to fit the tooltip or as desired.
While hovering over the term in a post or page, the featured image will be shown inside the tooltip. You can also choose the size of the features image which shows inside the tooltip using the settings.
It is also possible to set the tooltip to be transparent so only the image will be displayed, without the tooltip background.
Under the tab Admin Dashboard → CM Tooltip → Settings → Tooltip, Featured images can have their location and size changed.
- Show featured image in tooltip? - Has the option to show the image Above content, Below Content, Left aligned or not at all.
- Image width - Change the size of the image inside the tooltip (examples: 100%, 50px, 1.2em, auto etc...).
On each term page you can find the following metabox which includes the controls for the featured image.
- Disable tooltip background for this term - This will support the option to show only an image without the tooltip background.
- Don't show the featured image in the tooltip - The featured image will not include the tooltip.
2) Adding Featured Video
Adding the video into the term page is a similar process, done from the featured image metabox.
You should add the embed code, not the video link. You can easily get this code from video websites by choosing the "Share" option and copying the embed.
While hovering over the term in a post or page, the featured image will be shown inside the tooltip.
Head to the tab Admin Dashboard → CM Tooltip → Settings → Glossary Term → Glossary Term - Display and enable the option.
On each term page you can find the following metabox which includes a control for the video.