WP Clickable Background

描述

WP Clickable Background is a WordPress plugin that gives the possibility to make a chosen HTML element of your website clickable, you can select what element make clicable by CSS class, you can choose what page you want to open on click, you can select where you want to open the page (in the same page, on a new tab or a new window). You can also add your custom Javascript code on footer (for instance a google analytics script to track the click).

Settings include:

  • Active/Deactive click
  • Element Class to trigger
  • Page where you want to redirect
  • Where to open the page
  • Custom Javascript section

Settings

The WP Clickable Background setting are on the wordpress dashboard on Settings => WP Clickable Background, please read the note on the top of the page.
This plugin works only when the event click is direct on the element with class specified on field “Element Class” without any other HTML element on top of it, Please be sure that choosen elemenet is directly clickable.

屏幕截图

  • WP Clickable Background settings
  • WP Clickable Background example

安装

You can also download the plugin from here

e.g.

  1. Upload the plugin files to the /wp-content/plugins/wp-clickable-background directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings -> WP Clickable Background screen to configure the plugin
  4. Insert the required information and click on “Save Changes”

评价

2020年11月12日
Easy to use and straight forward, I managed to make my website background clickable in a few minutes.
阅读所有1条评价

贡献者及开发者

“WP Clickable Background” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1

  • Cleaning code
  • Minify JS
  • Sending data to JS through WP_LOCALIZE

1.0.0

  • Creating settings from
  • Form validation
  • Creating Javascript