定制 ideaseven/instagram-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ideaseven/instagram-plugin

Composer 安装命令:

composer require ideaseven/instagram-plugin

包简介

No description provided yet...

README 文档

README

After install go to backend/settings and find instagram. Add the access token and the number of images to be display.

Composer instalation

composer require ideaseven/instagram-plugin

Available properties:

Property Inspector Name Description
getInstagramFeed() Function Get all images from instagramm

Page variables

Variable Type Description
permalink string String of image url rendering from instagram
media_url String String of image path rendering in front-end
media_type String String of image type for checking the type of rendering
caption String String of description rendering in front-end

Example of custom markup

{% set instagramFeed = getInstagramFeed() %}
{% for row in instagramFeed %}
    {% if row.media_type == 'IMAGE' %}
    <div class="item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".3s">
        <div class="image">
            <a href="{{ row.permalink }}" target="_blank">
                <img src="{{ row.media_url }}" alt="service-1">
            </a>
        </div>
        <div class="header-text p-1">
            <a href="{{ row.permalink }}" target="_blank">
                <p class="mb-0"><small class="text">{{ html_limit(row.caption, 55) }}{{ row.caption|length > 55 ? '...' }}</small></p>
            </a>
        </div>
    </div>
    {% endif %}
{% endfor %}

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-12-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固