Description
TryHair Hairstyle Try-On lets you embed an AI virtual hairstyle try-on widget on your WordPress site with a simple shortcode. Visitors can upload a photo, preview a selected hairstyle, and view the generated result directly inside the embedded widget.
The plugin is designed for hairstyle, salon, beauty, fashion, and content websites that want to add an interactive hair makeover experience without building a custom image generation workflow. You can place the widget in posts, pages, reusable blocks, templates, or widget areas that support shortcodes.
Site owners can choose a default hairstyle with the shortcode attribute, including bob cut, butterfly layers, layered lob, long straight hair, long layered waves, men’s curtains haircut, men’s modern bowl cut, men’s slick back, and men’s textured crop. If no hairstyle is selected, the widget defaults to bob.
Note: This plugin relies on a third-party service (https://tryhair.ai) to perform AI hairstyle generation.
- Service Terms: https://tryhair.ai/terms
- Privacy Policy: https://tryhair.ai/privacy
Images uploaded through the widget are processed by TryHair.ai’s servers to provide hairstyle try-on results.
TryHair Hairstyle Try-On adds a simple shortcode for embedding an AI hairstyle simulator widget from TryHair.ai.
Use it on posts, pages, reusable blocks, templates, or widget areas:
[thhto_hairstyle_try_on]
Supported hairstyle parameters:
- bob
- butterfly_layers
- layered_lob
- long_layered_waves
- long_straight
- mens_curtains
- mens_modern_bowl_cut
- mens_slick_back
- mens_textured_crop
Shortcode
Default:
[thhto_hairstyle_try_on]
Specific hairstyle:
[thhto_hairstyle_try_on hairstyle="butterfly_layers"]
Custom iframe size:
[thhto_hairstyle_try_on hairstyle="bob" max_width="420" height="680"]
Alignment:
[thhto_hairstyle_try_on hairstyle="bob" align="center"]
Show credit:
[thhto_hairstyle_try_on show_credit="true"]
Installation
- Upload this folder to
/wp-content/plugins/. - Activate “TryHair Hairstyle Try-On” in WordPress Admin > Plugins.
- Add
[thhto_hairstyle_try_on]to any post, page, or widget area that supports shortcodes.
FAQ
-
Does this plugin store uploaded photos in WordPress?
-
No. Uploaded photos are handled inside the embedded TryHair AI iframe and are not stored by this plugin in WordPress.
-
Can I choose a specific hairstyle?
-
Yes. Use the
hairstyleshortcode attribute, for example:[thhto_hairstyle_try_on hairstyle="long_straight"] -
What happens if no hairstyle is provided?
-
The widget defaults to
bob. -
What happens if an invalid hairstyle is provided?
-
The plugin falls back to
bob. -
Can I change the iframe size?
-
Yes. Use
max_widthandheight, for example:[thhto_hairstyle_try_on max_width="420" height="680"]
Reviews
ഈ പ്ലഗിന് റിവ്യൂകൾ ഒന്നുമില്ല.
Contributors & Developers
“TryHair Hairstyle Try-On” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “TryHair Hairstyle Try-On” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
