這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP Clickable Background 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.1

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

1.0.0

  • Creating settings from
  • Form validation
  • Creating Javascript