Back button widget is a lightweight plugin that lets you add “Back” button to your WordPress site.
After enabling the plugin, you will find new “Back Button” widget in your admin dashboard (in “Appearance > Widgets”).
Alternatively, you can use [alg_back_button]
shortcode or alg_back_button()
PHP function.
Widget Settings
- Title
- Widget’s title.
- Default: None
- Before button
- Outputted before the button.
- Default: None
- After button
- Outputted after the button.
- Default: None
- Button label
- Button’s label.
- Default:
Back
- Default:
- Button HTML class
- HTML class for the button. E.g. try
button
.- Default: None
- Button HTML style
- HTML style for the button. E.g. try
background-color:red;
.- Default: None
- Button type
- Button’s type. Possible values: Button; Simple text.
- Default:
Button
- Default:
- Button JS function
- JavaScript function used for the button. Possible values: back; go(-1).
- Default:
back
- Default:
- Hide on front page
- Sets if button should be hidden on your site’s front page.
- Default:
no
- Default:
WPML/Polylang
For multilingual sites using WPML or Polylang, button label can be easily translated to other languages with [alg_back_button_translate]
shortcode (used directly in “Button label” option):
[alg_back_button_translate lang="FR" lang_text="Retour" not_lang_text="Back"]
Or in more advanced format:
[alg_back_button_translate lang="FR"]Retour[/alg_back_button_translate][alg_back_button_translate lang="DE"]Zurück[/alg_back_button_translate][alg_back_button_translate not_lang="FR,DE"]Back[/alg_back_button_translate]
Reviews
There are no reviews yet.