该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

BeachLiga Iframe

描述

BeachLiga Iframe is a plugin that will let you embed an iframe – an HTML tag that allows a webpage to be displayed inline with the current page – to display your tournament or trainings located in BeachLiga in a WordPress post.

Usage

Use following tag to insert another page in post using iframe

[beachliga src="path/to/your/training/or/tournament"]

Parameters

  • src: path of your training or tournament [beachliga src=”path/to/your/training/or/tournament”] (Always included https://beachliga.com/)
  • width: width in pixels or in percents [beachliga width=”100%” src=”path/to/your/training/or/tournament”] or [beachliga width=”640″ src=”path/to/your/training/or/tournament”] (by default width=”100%”);
  • height: height in pixels [beachliga height=”500″ src=”path/to/your/training/or/tournament”] (by default height=”500″);
  • scrolling: parameter [beachliga scrolling=”yes”] (by default scrolling=”no”);
  • frameborder: parameter [beachliga frameborder=”0″] (by default frameborder=”0″);
  • marginheight: parameter [beachliga marginheight=”0″] (removed by default);
  • marginwidth: parameter [beachliga marginwidth=”0″] (removed by default);
  • allowtransparency: allows to set transparency of the iframe [beachliga allowtransparency=”true”] (removed by default);
  • id: allows to add the id of the iframe [beachliga id=”my-custom-id”] (removed by default);
  • class: allows to add the class of the iframe [beachliga class=”my-custom-class”] (by default and always present class=”beachliga-iframe”);
  • style: allows to add the css styles of the iframe [beachliga style=”margin-left:-20px;”] (removed by default);
  • same_height_as: allows to set the height of iframe same as target element [beachliga same_height_as=”body”], [beachliga same_height_as=”div.sidebar”], [beachliga same_height_as=”div#content”]; (removed by default);
  • any_other_param: allows to add new parameter of the iframe [beachliga any_other_param=”any_value”];
  • any_other_empty_param: allows to add new empty parameter of the iframe [beachliga any_other_empty_param=””];

安装

Install BeachLiga Iframe plugin as a regular WordPress plugin. Here is different ways to install BeachLiga Iframe plugin:

INSTALL BY SEARCH PLUGIN

  • In your Admin, go to menu Plugins > Add New
  • Search BeachLiga Iframe
  • Click to install
  • Activate the plugin
  • BeachLiga Iframe will be available by using [beachliga src=”path/to/your/training/or/tournament”] shortcode

INSTALL BY UPLOAD PLUGIN

  • Download the latest version of BeachLiga Iframe (.zip file)
  • In your Admin, go to menu Plugins > Add New
  • Select “Upload Plugin”
  • Click on “Choose File”
  • Select downloaded beachliga-iframe.zip & click on “Install Now” button
  • Activate the plugin
  • BeachLiga Iframe will be available by using [beachliga src=”path/to/your/training/or/tournament”] shortcode

INSTALL PLUGIN USING FTP

  • Download the latest version of BeachLiga Iframe (.zip file)
  • Upload unzipped beachliga-iframe folder inside the /wp-content/plugins/ directory
  • Go to WordPress dashboard > Plugins & Activate the BeachLiga Iframe plugin
  • BeachLiga Iframe will be available by using [beachliga src=”path/to/your/training/or/tournament”] shortcode

Put [beachliga src=”path/to/your/training/or/tournament”] shortcode where you need to show your BeachLiga tournament or training.

You can find full details of installing a plugin on the plugin installation page

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“BeachLiga Iframe”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release