Connecting the plugin to images without media file link

If the images you have previously added to the website do not have a media file link, you can display them through Ads.Mediabox by pasting the following code into your functions.php file of your theme.

To connect Ads.Mediabox, please, use the settings shown in the picture below.

Connecting the plugin to images without media file link

If you want to use a simple selector, use this code.

To connect Ads.Mediabox, please, use the settings shown in the picture below.

Connecting the plugin to images without media file link

Links will contain default selector – a[rel^=wmb].

Note! When using this solution, links to images will be pasted only in content, i.e. in posts and pages.

Other images on the website (in widgets, thumbnails, similar posts) will not be affected.