%%[[if !publish]]%% %[if %("%id=show_suggested_links%" == "true")% ]% %[endif]% %%[[endif]]%% %%[[if edit]]%% %id=button_label_prefix% %id=button_label% %id=button_label_suffix% %%[[endif]]%% %%[[if !edit]]%% target="%id=new_tab%" > %id=button_label_prefix% %[if %("%id=obfuscate_label_text%" == "true")% ]% %[endif]% %[if %("%id=obfuscate_label_text%" == "false")% ]% %id=button_label% %[endif]% %id=button_label_suffix% %%[[endif]]%%
%%[[if preview]]%% %[if %("%id=generate_code%" == "true")% ]%

Generated Code Snippet
Copy and paste the code inside this box, to create a inline link that can be reused elsewhere in your website. Such examples could include pasting the link into another text stack or entering it within a theme ExtraContent container. Becasue this generated link is leaving the Obfuscator stack, label prefix, label suffix or button styling are not supported. Pages you use this snippet on require a .php extension applied in the RapidWeaver Page Inspector. Please remember to paste the code as plain text.

<a class="obfuscator_link %[if %("%id=obfuscator_btn_style%" == "bootstrap")% ]%btn btn-%id=bootstrap_outline_style%%id=bootstrap_btn_style% %id=bootstrap_btn_size%%[endif]%%[if %("%id=obfuscator_btn_style%" == "foundation")% ]%button %id=foundation_btn_style% %id=foundation_btn_size% %id=foundation_hollow_btn% %id=foundation_fullwidth_btn% %id=foundation_hollow_btn%%[endif]%%[if %("%id=obfuscator_btn_style%" == "uikit")% ]%uk-button uk-button-%id=uikit_btn_style% %id=uikit_btn_size% %id=uikit_fullwidth_btn%%[endif]%" %[if %("%id=custom_attributes%" == "true")% ]%%id=custom_attributes_markup%%[endif]% <?php $toBeObfuscated = "%id=to_obfuscate%"; $obfuscated_string = ""; foreach (str_split($toBeObfuscated) as $c) { $obfuscated_string .= "&#" . ord($c) . ";"; } echo 'href="' .$obfuscated_string . '"'; ?> target="%id=new_tab%">%[if %("%id=obfuscate_label_text%" == "true")% ]%<?php $toBeObfuscated = "%id=button_label%"; $obfuscated_string = ""; foreach (str_split($toBeObfuscated) as $c) { $obfuscated_string .= "&#" . ord($c) . ";"; } echo $obfuscated_string; ?>%[endif]%%[if %("%id=obfuscate_label_text%" == "false")% ]%%id=button_label%%[endif]%</a>
%[endif]% %%[[endif]]%% %%[[if !edit]]%%
This webpage uses the free demo version of %stackTitle% v%stackVersion%
%%[[endif]]%%