Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To add website thumbnails automatically, connect each directory listing’s website URL to a screenshot capture, save the resulting image, associate it with that listing, and make sure the public directory card template displays it. WordPress can display a featured image, but it does not automatically take screenshots of the external URLs in a directory. The exact integration depends on how your directory plugin stores listing URLs and images.

How the thumbnail workflow fits together

A thumbnail is a screenshot of the website named by a directory entry—not necessarily an image of the WordPress page that contains the entry. The workflow has four separate parts:

  1. Find the listing URL. Each entry needs a website address stored in a field your code or integration can read.
  2. Capture the site. A screenshot API or plugin renders that URL as an image.
  3. Keep and associate the image. Save it to the WordPress Media Library or durable object storage, or retain a provider URL only if you know how long it remains valid. Then connect the image to the listing.
  4. Display it. The directory’s public card or archive template must output the featured image or the custom image field.

WordPress describes featured images (also called post thumbnails) as images representing a post, page, or custom post type. That gives you a standard way to associate and display an image when your directory uses a supported post type; it does not generate the screenshot from the listing’s website URL.

Check your directory plugin before choosing an approach

Identify the listing post type, the field holding each website URL, the image field or featured-image support, and the template that renders public cards. Check the plugin documentation or settings and, if necessary, ask its maintainer before adding code. Do not assume a URL field, save hook, or image field name: these vary by plugin.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
  • If listings are posts or a custom post type with featured-image support, you can associate the generated image as the featured image and display it in the loop.
  • If the plugin uses a custom image field, save the image reference there and update the card template to read that field.
  • If it offers neither a supported image field nor a way to customize cards, you will need a plugin-specific integration or a different directory setup.

WordPress theme support for post thumbnails should be declared before the init action and can be scoped to the relevant post type. In a child theme or site-specific plugin, a typical declaration for a custom post type named directory_listing is:

add_action( 'after_setup_theme', function () {
    add_theme_support( 'post-thumbnails', array( 'directory_listing' ) );
} );

Replace directory_listing with the actual post-type slug. This enables thumbnail support; it does not capture a screenshot or assign one to a listing. Confirm that the post type is registered and that the directory plugin permits this integration.

Display the associated image in directory cards

If the listing uses WordPress featured images, a card template can display the thumbnail with the_post_thumbnail(). For example, inside the listing loop:

if ( has_post_thumbnail() ) {
    the_post_thumbnail( 'medium', array( 'loading' => 'lazy' ) );
}

medium is a registered image size; use a size appropriate to the card design. WordPress uses the theme’s post-thumbnail size by default when no size is supplied. Check the theme’s registered sizes and layout so the rendered image is not unnecessarily large or cropped. If your directory stores the image in a custom field, use the plugin’s documented field API instead of this featured-image example.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Generate and save screenshots automatically

For a small directory or a few manual updates, a synchronous screenshot request may be sufficient. For imports, bulk refreshes, or listings with slow target sites, queue capture work in the background so a screenshot timeout does not hold up a visitor’s listing submission. Connect the capture to the directory plugin’s documented create/update hook, and run it when a listing is first created or its website URL changes.

Use a screenshot API or plugin for capture

A screenshot service accepts the listing’s external URL and returns an image or a render link. Before installing a WordPress screenshot plugin, check whether it can process directory records—not just insert a screenshot into ordinary post content—and whether it can save the result to the field your public card uses. The WordPress.org screenshot tag page lists URL-to-screenshot plugins, but plugin listings and compatibility can change; review current maintenance, compatibility, privacy disclosures, and provider requirements before installing.

Urlbox documents a WordPress shortcode plugin that displays a screenshot of a specified URL and requires an Urlbox account and API credentials. A shortcode can be useful for embedding a known URL in content, but that alone does not automatically process every directory record or populate the directory card’s image field. Its API documents synchronous and asynchronous JSON rendering. The vendor’s quickstart says a returned render URL expires after 30 days unless you download the image or save it to a cloud bucket. Its pricing page listed Lo-Fi at $19/month for up to 2,000 renders, Hi-Fi at $49/month for up to 5,000, and Ultra at $99/month for up to 15,000 when checked for this article; verify current terms before purchase.

ScreenshotOne documents URL screenshot requests using HTTPS GET or POST. Its vendor pricing page lists a free allowance of 100 screenshots per month and paid Basic, Growth, and Scale tiers; check its live page for current prices and caps. These service details describe provider offerings, not compatibility with any particular directory plugin.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Connect capture to listing creation or URL changes

The integration should read the listing URL, validate and normalize it, request the screenshot, and save the result against the correct listing. Use the directory plugin’s documented hooks and APIs; the code cannot be made safely copy-and-pasteable without knowing that plugin’s post type, field names, and save lifecycle.

  • Do not run the capture on every ordinary listing save if the URL has not changed; store the last processed URL or a content fingerprint.
  • Skip incomplete or invalid URLs and report the listing ID and reason in a log or job record.
  • Do not overwrite a working thumbnail until a replacement screenshot has succeeded.
  • For bulk imports, enqueue work and process a limited number of jobs at a time. Record status and retry transient failures with a limit rather than retrying indefinitely.

Persist the image and plan for refreshes

A render URL may be temporary. Download the image into the WordPress Media Library or a durable object store if the provider’s link expires, or retain the link only after confirming its lifetime and refresh behavior. If you store files in the Media Library, associate the resulting attachment with the listing using the directory plugin’s supported mechanism or WordPress featured-image functions where applicable.

Set a refresh policy that matches the directory: refresh when the website URL changes, and decide whether to recapture unchanged sites on a schedule. A scheduled refresh consumes screenshot requests and should not replace an existing working image until the new capture is valid. Keep the last successful image as a fallback when a target site is temporarily unavailable.

Or skip the browser setup

ScreenshotNeo is a screenshot API and MCP server. It can return a PNG, JPEG, WebP, or PDF from one GET request. Use the API call from your background job after retrieving and validating the listing URL; you still need to save the image and connect it to the directory’s image field or featured image.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Replace the example URL with the listing’s site URL. The API accepts other screenshot parameters too; see the ScreenshotNeo API documentation for request options and response details. Before capture, it accepts cookie or consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the page verdict and billing status in headers. Its MCP server includes take_screenshot, get_page_info, and capture_pdf for AI agents. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 screenshots.

Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month without a card.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting and operational checks

The screenshot appears in content but not on directory cards

A shortcode in post content is not the same as a featured image or directory custom-field value. Confirm which field the card template reads, then save the screenshot reference there or change the template to display the field where the image is stored.

The thumbnail is missing even though the listing has an image

Check that the post type supports thumbnails, that the integration assigned an image to the intended listing, and that the card template calls the correct output function or custom-field API. If using a featured image, confirm the theme has declared support for the correct post type before init.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A screenshot URL stops working later

Check whether the provider’s render links expire. Download the image to durable storage or implement a refresh job; Urlbox’s quickstart, for example, says render URLs expire after 30 days unless downloaded or saved to a cloud bucket.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

The capture is blank, blocked, or different from what a visitor sees

Third-party sites can block automated rendering, require interaction, or serve region-specific or cookie-dependent content. Inspect the provider’s result or page-verdict information, test the target URL in the relevant region and consent state, and keep the previous successful thumbnail when a new capture fails. Do not treat a failed capture as proof that the directory integration itself is broken.

Imports are slow or listing saves time out

Move capture work to a background queue, limit concurrency, record job status, and retry only recoverable errors with a cap. Avoid recapturing a URL when it has not changed unless a scheduled refresh is due. The exact queue and hook implementation depends on your directory plugin and hosting setup.

Estimate cost and choose a maintenance policy

Estimate demand from new or changed listings plus scheduled recaptures, then check provider quotas and billing rules. A cache can reduce repeated work for unchanged URLs if its TTL suits your freshness needs. Also account for storage: retaining screenshots locally or in object storage avoids reliance on temporary links but adds file management and storage use. Third-party rendering can vary by site behavior, region, consent state, and access restrictions, so preserve a fallback image and make failed jobs visible to an administrator.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Will a WordPress screenshot shortcode automatically fill every directory thumbnail?

No. A shortcode embeds a screenshot in content; the directory integration must separately save an image reference to the field used by each listing card.

Can I use featured images for a directory custom post type?

Yes, if the post type supports post thumbnails and the card template outputs them. Otherwise use the directory plugin’s documented image field and template mechanism.

Should screenshot capture happen during listing submission?

For a small manual workflow it may be acceptable, but background or asynchronous capture is safer for bulk imports and slow target sites because it avoids making listing submission wait on rendering.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.