Powered_by

Powered_by

{% powered_by %}

Outputs the "Powered by Marketpath" badge using the given configuration.

{% powered_by attributes? %}

{% powered_by
attributes
 
One or more values. May use the variable arguments syntax. Configuration options for the Marketpath badge
%}

attributes

if_required
 
Will only display the badge if it is required by the site's plan (eg: the Free plan)
light
 
Display the badge using the light theme
dark
 
Display the badge using the dark theme
stacked
 
Display the notice in a vertical orientation
wide
 
Display the notice in a horizontal orientation (default)
fixed
 
Display the notice in a fixed corner of the window (the bottom-right corner by default)
top-left
 
Display the notice in the top-left corner of the window. Requires the fixed attribute
top-right
 
Display the notice in the top-right corner of the window. Requires the fixed attribute
bottom-left
 
Display the notice in the bottom-left corner of the window. Requires the fixed attribute
bottom-right
 
Display the notice in the bottom-right corner of the window. Requires the fixed attribute

Sites on plans that require the badge to be displayed, such as the free plan, will still display this notice even if this method is not called. Developers may use this method, however, to give them a little more control over how the notice is displayed.

Examples

Display Dark Themed Powered By Notice

Copy
{% powered_by dark stacked %}

Control position of Powered By notice when required

Copy
{% powered_by if_required fixed top-right %}