White-Label Shortcode (Pro Feature)
With AffLoc Pro, you can rename the shortcode to any custom name. This is useful for:
- White-labeling the plugin for client sites
- Using a shorter or more descriptive tag
- Avoiding conflicts with other plugins
How to Change the Shortcode Name
- Go to AffLoc in your WordPress admin.
- Find the White-label Shortcode section in the sidebar.
- Enter your desired shortcode name (e.g.,
geo_link). - Click Save.
Now you can use both the original and custom shortcode:
[geo_link slug="amazon" text="Buy Now"]
Buy Now <!-- still works as fallback -->
Note: The original shortcode always works as a fallback, even after renaming. This prevents broken links if you decide to change the name.