Silent Contact™ can render physical addresses as server-generated PNG images so that no address text exists in your page source. You can show a single line or multiple lines, and optionally wrap the image in a link to Google Maps. This article explains how to use the address shortcode, including line breaks and the Google Maps option, so you can protect addresses.
Using the Address Shortcode
Use [wks_png_address] … [/wks_png_address] and put the address between the tags. The same style attributes as email and phone apply: font, size, weight, color, and btnstyle (for click-to-reveal). By default the output is a PNG image with no link. Add link="true" (or link="yes" / link="1") to wrap the image in a link that opens Google Maps with the address as the search query. The link goes to a standard Google Maps URL; the address is not encrypted in the URL because it is used only for mapping.
Multiline Addresses
To show an address on more than one line, use a literal backslash-n (\n) in the shortcode content where you want the line break. The plugin renders each line in the PNG with the same font and size, so the address appears as multiple lines. Do not use a real line break in the editor between the tags unless your editor preserves it—use \n so the shortcode receives it correctly.
[wks_png_address font="merriweather" size="14" color="#374151"]123 Main Street\nNew York, NY 10001[/wks_png_address]
[wks_png_address font="inter" size="16" link="true"]123 Main Street\nNew York, NY 10001[/wks_png_address]The first example shows a two-line address with no link. The second shows the same address with link="true" so that clicking the image opens Google Maps.
When to Use the Google Maps Link
Use link="true" when you want visitors to be able to open the address in Google Maps (e.g. for directions or a map view). The link opens in a new tab (target="_blank" with rel="noopener noreferrer"). Leave link off or set it to false when the address is for display only and you don’t want a clickable link. In the Shortcode Generator on the Silent Contact™ tab, the “Wrap in Google Maps link” checkbox appears only when Contact Type is set to Address; when checked, the generated shortcode will include link="true".
Address Fallback When GD Is Unavailable
Email and phone Silent Contact™ shortcodes fall back to military-grade encrypted text when the server does not have the GD library with FreeType. Addresses do not have an encrypted-text equivalent in the plugin, so when GD is unavailable the address shortcode outputs the address as plain text (with line breaks preserved). The address will still be visible and readable but will not be protected. If you need address protection and your host does not offer GD with FreeType, contact your host to enable it; see Troubleshooting Silent Contact™ for more.
Quick tip: For a contact page with street, city, state, and ZIP on separate lines, use multiple \n between each part (e.g. 123 Main St\nSuite 100\nNew York, NY 10001) so the PNG renders with clear line breaks.
Need Help?
Silent Contact™ Shortcode Reference — All attributes including link. Getting Started with Silent Contact™ — Shortcode Generator and Google Maps checkbox. Phone and Address Protection (Pro) — Overview of Pro address protection. Troubleshooting Silent Contact™ — GD requirements and fallbacks.