regionhalland/region-halland-plugin-acf-page-i-frame

用于创建在i-frame中显示的链接的特殊功能

v1.4.0 2020-07-14 14:02 UTC

This package is auto-updated.

Last update: 2024-09-14 22:54:20 UTC


README

如何使用Region Halland的插件"RhAcfPageIFrame"

以下是使用"RhAcfPageIFrame"插件的方法。

应用范围

此插件创建一个在i-frame中显示的链接

许可模型

此插件使用GPL-3.0许可模型。您可以通过随附的文件了解更多关于此许可模型的信息

LICENSE (https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhAcfPageIFrame?path=%2FLICENSE&version=GBmaster)

安装和激活

A) Hämta pluginen via Git eller läs in det med Composer
B) Installera Region Hallands plugin i Wordpress plugin folder
C) Aktivera pluginet inifrån Wordpress admin

通过Git获取插件

git clone https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhAcfPageIFrame

通过composer导入插件

这些部分需要添加到您的composer文件中

Repositories = 存储插件的位置,在本例中为github

"repositories": [
  {
    "type": "vcs",
    "url": "https://regionhalland.visualstudio.com/public.RhWpPlugIns/_git/RhAcfPageIFrame"
  },
],

Require = 指定您希望使用的插件版本,在本例中为1.0.0

注意!请确保您获取的是最新版本。

"require": {
  "regionhalland/region-halland-acf-page-i-frame": "1.0.0"
},

通过"Blade"在i-frame中显示链接

@php($myLink = get_region_halland_acf_page_i_frame_link())
<iframe width="100%" height="700px;" src="{{$myLink}}"></iframe> 

版本历史

1.4.0

  • 添加了通过Packagist进行发布的管道
  • 调整了composer名称

1.3.0

  • 附带了许可模型文件

1.2.0

  • 添加了关于许可模型的信息
  • 更新了到repo的链接

1.1.0

  • 添加了"template-i-frame.blade.php"视图文件

1.0.0

  • 第一个版本