instagram在中国_如何在WordPress侧边栏小部件中显示Instagram照片

instagram在中国

Instagram is a cool photo sharing app that allows you to apply digital filters to your pictures. A lot of people use it to share their pictures with family and friends. More and more businesses have started using Instagram along with Pinterest to share their photos with their users. Recently, one of our users asked how to add their Instagram photos in WordPress? In WordPress 3.5, native oEmbed support for Instagram was added in the core. This means that you can just copy and paste the URL of an Instagram photo page, and it will automatically embed that image into your WordPress or page. But what if you want add an Instagram widget in your WordPress sidebar? In this article, we will show you how to display Instagram photos in your WordPress sidebar widget.

Instagram是一个很酷的照片共享应用程序,可让您将数字滤镜应用于照片。 很多人使用它与家人和朋友分享他们的照片。 越来越多的企业已经开始使用Instagram和Pinterest来与用户分享他们的照片。 最近,我们的一位用户问如何在WordPress中添加自己的Instagram照片? 在WordPress 3.5中 ,在核心中添加了对Instagram本机oEmbed支持。 这意味着您只需复制并粘贴Instagram照片页面的URL,它将自动将该图像嵌入到WordPress或页面中。 但是,如果要在WordPress边栏中添加Instagram小部件怎么办? 在本文中,我们将向您展示如何在WordPress侧边栏小部件中显示Instagram照片。

Instagram
设置Simply Instagram (Setting up Simply Instagram)

First thing you need to do is install and activate the Simply Instagram plugin. Upon activation, the plugin will show you a notification, asking you to authorize Simply Instagram plugin access to your Instagram account. Click on the authorize link.

您需要做的第一件事是安装并激活Simply Instagram插件。 激活后,该插件将向您显示通知,要求您授权Simply Instagram插件访问您的Instagram帐户。 单击授权链接。

Authorize Simply Instagram to access your instagram account

On the next screen you will see a login button next to the Instagram logo. Click on login button, and it will take you to Instagram website where you can provide your username and password to give Simply Instagram access to your account.

在下一个屏幕上,您将在Instagram徽标旁边看到一个登录按钮。 单击登录按钮,它将带您到Instagram网站,您可以在其中提供您的用户名和密码,以使Simply Instagram可以访问您的帐户。

Authorize Simply Instagram

After the authorization you will be redirected back to Simply Instagram settings page in your WordPress site.

授权后,您将被重定向回WordPress网站中的Simply Instagram设置页面。

使用Simply Instagram (Using Simply Instagram)

Using Simply Instagram is fairly easy. The plugin comes with four built-in widgets which you can drag and drop to your WordPress sidebar or widget areas.

使用Simply Instagram很简单。 该插件带有四个内置小部件,您可以将其拖放到WordPress侧边栏或小部件区域。

Instagram widgets for your WordPress sidebar
  • Recent Media Widget

    最近的媒体小部件
  • User Info Widget

    用户信息小部件
  • Latest Feed Widget

    最新的Feed小部件
  • Currently Popular widget

    当前流行的小部件

Each widget comes equipped with configuration options of its own.

每个小部件都配备有自己的配置选项。

Configuration options for instagram widgets

Simply Instagram also comes with shortcode support, so you can share your Instagram photos in WordPress posts or pages in a gallery style format. Go to Settings » Simply Instagram to find a shortcode generator.

简而言之,Instagram还提供短码支持,因此您可以以WordPress帖子或页面以画廊样式格式共享Instagram照片。 转到设置»仅Instagram,即可找到一个短代码生成器。

Shortcode generator for Simply Instagram plugin
配置Simply Instagram (Configuring Simply Instagram)

Simply instagram also provides you option to configure the look and feel of Instagram photos on your site. On the settings page, you can set the shortcode configuration options. Remember that these options are just for photos displayed using shortcode. Instagram widgets have their own options which can be configured from the Widgets panel.

只需instagram,您还可以选择在您的网站上配置Instagram照片的外观。 在设置页面上,您可以设置简码配置选项。 请记住,这些选项仅适用于使用简码显示的照片。 Instagram窗口小部件具有其自己的选项,可以从“窗口小部件”面板进行配置。

Instagram shortcode settings

To display your Instagram photos, Simply Instagram comes packed with a jQuery light box plugin called prettyPhoto. It is used to display your Instagram photos in full screen slideshow view. You can adjust the prettyPhoto options from the settings page as well.

为了显示您的Instagram照片,Simply Instagram随附了一个名为prettyPhoto的jQuery灯箱插件。 它用于以全屏幻灯片视图显示您的Instagram照片。 您也可以从设置页面调整prettyPhoto选项。

PrettyPhoto jQuery lightbox plugin settings for simply instagram

We hope that this article helped you add Instagram photos in your WordPress sidebar widget. Do you use Instagram for your business? Do you display your Instagram photos on your WordPress site? Let us know by leaving a comment below.

我们希望本文能帮助您在WordPress侧边栏小部件中添加Instagram照片。 您是否使用Instagram开展业务? 您是否在WordPress网站上显示Instagram照片? 让我们在下面留下评论。

翻译自: https://www.wpbeginner.com/plugins/how-to-display-instagram-photos-in-wordpress-sidebar-widget/

instagram在中国

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值