如何在WordPress中创建可过滤的投资组合

Do you want to add a filterable portfolio in WordPress? A filterable portfolio allows users to sort items in your portfolio based on tags. This helps you showcase different styles of your work, and your users can discover items that interest them. In this article, we will show you how to easily create a filterable portfolio in WordPress.

您是否要在WordPress中添加可过滤的投资组合? 可过滤的投资组合允许用户根据标签对投资组合中的项目进行排序。 这可以帮助您展示不同的工作风格,并且用户可以发现他们感兴趣的项目。 在本文中,我们将向您展示如何轻松地在WordPress中创建可过滤的投资组合。

How to create a filterable portfolio in WordPress
为什么要在WordPress中创建可过滤的投资组合? (Why Create a Filterable Portfolio in WordPress?)

Normally, most photographers and designers just create a beautiful portfolio showing their best photographs. However sometimes those looking to hire you may want to see if you have done something similar before.

通常,大多数摄影师和设计师只是创造出精美的作品集来展示自己的最佳照片。 但是有时候,那些想要雇用您的人可能想看看您以前是否做过类似的事情。

For example, someone looking for a fashion photographer may want to see your work in fashion.

例如,寻找时尚摄影师的某人可能想看您的时尚作品。

Example of a filterable portfolio gallery

Adding filters to your portfolio allows you to show your work under different tags. It also helps your users to easily sort items in your portfolio.

将过滤器添加到投资组合中,可以显示不同标签下的工作。 它还可以帮助您的用户轻松地对投资组合中的项目进行排序。

Having said that, let’s take a look at how to easily create a filterable portfolio in WordPress without writing any code.

话虽如此,让我们看一下如何轻松地在WordPress中创建无需过滤的投资组合。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

在WordPress中创建可过滤的投资组合 (Creating a Filterable Portfolio in WordPress)

First, you will need to install and activate the Envira Gallery plugin. For more details, see our step by step guide on how to install a WordPress plugin.

首先,您需要安装并激活Envira Gallery插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Envira Gallery is one of our premium WordPress plugin, and you will need at least the silver plan to access the tags addon.

Envira Gallery是我们的高级WordPress插件之一 ,您至少需要白银计划才能访问标签插件。

Upon activation, you need to visit Envira Gallery » Settings page to enter your license key. You can get this information from your account on Envira Gallery website.

激活后,您需要访问Envira Gallery»设置页面以输入许可证密钥。 您可以从Envira Gallery网站上的帐户中获取此信息。

Add Envira Gallery license key

Next, you need to install the tags addon. Head over to Envira Gallery » Addons page and locate the tags addon.

接下来,您需要安装标签插件。 转到Envira Gallery»插件页面,然后找到标签插件。

Installing tags addon

Click on the install button and Envira Gallery will fetch and install the addon for you. You will still need to click on the Activate button to start using the addon.

单击安装按钮,Envira Gallery将为您获取并安装插件。 您仍然需要单击“激活”按钮才能开始使用插件。

Activate addon

Now you are ready to create your filterable portfolio.

现在,您可以创建可过滤的投资组合了。

Head over to Envira Gallery » Add New page to create your first gallery.

转到Envira Gallery»添加新页面以创建您的第一个画廊。

Upload your photographs

Click on ‘Select files from your computer’ button to upload your photos. You can also click on ‘Select files from other sources’ button to select files from WordPress media library.

点击“从计算机中选择文件”按钮上传照片。 您也可以单击“选择其他来源的文件”按钮以从WordPress媒体库中选择文件。

Envira will now upload and insert files into your gallery. Once it’s done, you can scroll down to see your images.

Envira现在将上传文件并将其插入您的图库。 完成后,您可以向下滚动以查看图像。

Edit an image in your gallery

Now you need to click on the pencil icon to edit an image. This will bring up a popup where you can add the tags and other metadata to your photos.

现在,您需要单击铅笔图标来编辑图像。 这将弹出一个弹出窗口,您可以在其中向照片添加标签和其他元数据。

Add tags to your photos

Enter the tags you want to assign to this photo. You can add multiple tags separated by comma.

输入您要分配给该照片的标签。 您可以添加多个标签,以逗号分隔。

Once done, click on the save metadata button to store your tags.

完成后,单击“保存元数据”按钮以存储标签。

Now you need to repeat the process to add tags to all images in your gallery.

现在,您需要重复此过程以将标签添加到图库中的所有图像。

After adding tags to your photos click on the tags tab on the left. This is where you can enable or disable tag-filtering for your gallery.

将标签添加到您的照片后,单击左侧的标签选项卡。 您可以在此处启用或禁用图库的标签过滤。

Enable filtering for your gallery

You need to check the box to enable tag filtering, and you will be able to see settings for this option.

您需要选中此框以启用标签过滤,然后您才能看到此选项的设置。

You can show tags above or below the gallery, show all tags or select tags to show, and configure other display settings.

您可以在库上方或下方显示标签,显示所有标签或选择要显示的标签以及配置其他显示设置。

Once you are done, click on the publish button to make your gallery live.

完成后,单击“发布”按钮使您的画廊上线。

Your portfolio gallery is now ready to be added to your site.

现在,您的投资组合图库已准备好添加到您的网站。

You can now create a post or page where you want to display your filterable portfolio. On the post editor screen, click on the ‘Add Gallery’ button.

现在,您可以在要显示可过滤投资组合的位置创建帖子或页面 。 在帖子编辑器屏幕上,单击“添加图库”按钮。

Insert gallery into WordPress posts and pages

This will bring up a popup where you can select the gallery you just created and insert it into your WordPress post and page.

这将弹出一个弹出窗口,您可以在其中选择刚刚创建的画廊并将其插入到WordPress帖子和页面中。

You can now update your post or page to save your changes and preview your website to see your filterable portfolio in action.

现在,您可以更新您的帖子或页面以保存更改,并预览您的网站以查看可过滤的投资组合的运行情况。

Preview of a filterable portfolio gallery

We hope this article helped you add filterable portfolio in WordPress. You may also want to see our WordPress tutorials such as how to speed up WordPress by saving images optimized for the web.

我们希望本文能帮助您在WordPress中添加可过滤的投资组合。 您可能还想查看我们的WordPress教程,例如如何通过保存针对Web优化的图像加快WordPress的速度

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-create-a-filterable-portfolio-in-wordpress/

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值