[wordpress插件] All in One Gallery一站式画廊

wordpress 插件 文章 2020-02-16 00:20 720 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Display and browse all the images on your wordpress website in one place using the [gallery] shortcode.

使用[画廊]短代码在一个位置显示并浏览Wordpress网站上的所有图像。

I wanted to have all the pictures that have been uploaded on my website to be displayed and browsable in one place, without having to create my own gallery logic.

我希望所有上传到我网站上的图片都可以在一个地方显示和浏览,而不必创建自己的画廊逻辑。

So the plugin is simply looking at all the categories and pages, then check if there are images in all the category’s posts (or pages) and, if there are, use the [ gallery ] shortcode to display the images.

因此,该插件只需查看所有类别和页面,然后检查所有类别的帖子(或页面)中是否有图像,如果有,则使用[gallery]短代码显示图像。

The plugin should work and fit with every themes as it’s using the original wordpress gallery markup.

该插件应能够正常工作并适合所有主题,因为它使用的是原始的wordpress画廊标记。

Every themes normally have style this feature as you use the gallery shortcode in pages or posts.

当您在页面或帖子中使用图库短代码时,每个主题通常都具有此功能的样式。

There is a ‘exclude images’ features that let you select images that should be display in the Gallery page.

有一个“排除图像”功能,可让您选择应在“图库”页面中显示的图像。

But do to a wordpress bug in 2.9.1 with the include/exclude feature, this feature as been disable.

但是使用包含/排除功能对2.9.1中的wordpress错误进行处理,此功能已被禁用。

It’s shame as the feature is pretty cool and easy to use.

令人遗憾的是,该功能非常酷并且易于使用。

Maybe with the 2.9.2.

也许使用2.9.2。

All-in-One-Gallery plugin work with the new [ gallery ] shortcode and therefor will only work with wordpress version older then 2.5.

多合一图库插件适用于新的[gallery]短代码,因此仅适用于2.5版之前的wordpress版本。

Also, I created this plugin for Anna Chocola and myself, you can try it on my website

另外,我为Anna Chocola和我自己创建了此插件,您可以在我的网站上试用

by clicking Image Gallery in the sidebar or on Anna Chocola's website by also clicking on Image Gallery in the sidebar.<

,方法是点击侧边栏中的图片库,也可以点击 Anna Chocola的网站,也可以点击侧边栏中的图片库。

/p>

/ p>

I use it with 2 other plugins: cleaner-gallery<

我将其与其他2个插件一起使用: cleaner-gallery <

/a> that is just a plugin that clean the wordpress gallery XHTML, works exactly the same way but with cleaner XHTML.

/ a>只是一个清理wordpress画廊XHTML的插件,其工作方式完全相同,但使用了更干净的XHTML。

And light-box-2 that does the lightbox effect/system.

还有 light-box-2 可以实现灯箱效果/系统。

But you don’t have to.

但是您不必。

A massive thanks to Karl Rixon aka the 卡尔·里克森,也就是

" rel="nofollow">php Oracle for the pagination function and teaching me php.

“ rel =” nofollow“> php Oracle 具有分页功能并教我php。

FEATURES:

功能:

    1. Pagination and number of posts per page
    2. 分页和每页帖子数

    3. Fit into your theme as it’s using the same gallery that you use in pages or posts.
    4. 使用与页面或帖子中使用的画廊相同的主题来适应您的主题。

    5. Five style for the gallery menu (blue, green, grey, pink) plus a ‘no style’ to let you manage it yourself.
    6. 画廊菜单的五种样式(蓝色,绿色,灰色,粉红色)加上“无样式”,让您自己管理。

    7. Possibility to exlude categories without images.
    8. 排除不含图像的类别的可能性。

    9. Welcome message or default category.
    10. 欢迎消息或默认类别。

    11. Implement all features of the wordpress gallery (like number of images per row or order).
    12. 实现wordpress画廊的所有功能(如每行或每张订单的图片数量)。

    13. Easy to use and set.

    14. 易于使用和设置。

      Author, Editor and Admin can update the gallery options.

    15. 作者,编辑者和管理员可以更新图库选项。

    WARNING BEFORE UPDATING FROM 1.0 TO 2.1: MAKE A COPY OF YOUR STYLE SHEET IF YOU CREATED A MODIFICATION OF ONE OF THE STYLE FROM THE THEME FOLDER AND MAKE A COPY OF YOUR WELCOME MESSAGE IF YOU MODIFIED IT.

    从1.0升级到2.1之前的警告:如果您从主题文件夹创建了其中一种样式的修改,并进行了欢迎复制,请进行样式表的复制。

    The plugin has been updated on all names in the code to be more efficient, but that mean it looks like a new plugin for your site even if it’s just a update

    该插件已对代码中的所有名称进行了更新,以提高效率,但这意味着它看起来像是您网站的新插件,即使只是更新

    To Do

    要做

      1. More options: -link to the post with the thumb on/off
      2. 更多选项:-使用拇指打开/关闭链接到帖子

      3. Don’t overwrite user css style on update.
      4. 在更新时不要覆盖用户的CSS样式。

      5. Add all [gallery] options: orderby, captiontag, itemtag, icontag, link
      6. 添加所有[图库]选项:orderby,标题标签,itemtag,icontag,链接

      View online examples

      查看在线示例

      Here's a link to Anna Chocola's All in one Gallery and one to the gallery on

      这里是安娜·巧克力(Anna Chocola)的全部收藏在一个画廊中的链接,而在

      ="http://www.fuck-dance-lets-art.com/the-gallery" rel="nofollow">my website.

      =“ http://www.fuck-dance-lets-art.com/the-gallery” rel =“ nofollow”>我的网站。

      Titles are optional, naturally.

      标题自然是可选的。

安装步骤

All in one gallery is also simple to install, like most wordpress plugin:

与大多数wordpress插件一样,一个画廊中的所有内容也易于安装:

    1. From your dashboard, go to puglins -> add new.
    2. 从信息中心转到puglins->添加新内容。

    3. Search for All-in-one-gallery.
    4. 搜索多合一画廊。

    5. Click Install.
    6. 点击安装。

    7. Create a page that will be used for the gallery.
    8. 创建一个用于图库的页面。

    9. Set your settings under Settings -> All in One Gallery.
    10. 在“设置”->“在一个图库中全部显示”下设置设置。

    11. Enjoy your amazing pictures in your gallery
    12. 在画廊中欣赏精彩的照片

    The plugin is pretty simple, the best is to leave it as it is but if you need it there are some options that you can find under Pages -> All in One Gallery:

    该插件非常简单,最好保持原样,但如果需要,可以在Pages-> All in One Gallery下找到一些选项:

      1. Place and Style your Online Gallery:

        放置和设置您的在线画廊的样式:

          • Select the page where you want the gallery to be displayed.

          • 选择要在其中显示图库的页面。

            Note that you have to create a page to be use for the gallery.

          • 请注意,您必须创建一个用于图库的页面。

          • Select your color style for the menu, default is blue.

          • 为菜单选择颜色样式,默认为蓝色。

            Select ‘no style’ if you want to managed the gallery style from your main stylesheet.

          • 如果要从主样式表管理画廊样式,请选择“无样式”。

          • Select how many columns in gallery (Just changing the attribute of the [ gallery ] shortcode.), default is 3.
          • 选择图库中的列数(只需更改[gallery]简码的属性。),默认值为3。

          • Select the image size you want to display
          • 选择要显示的图像尺寸

        • Exclude categories from showing:

          不显示类别:

            • Exclude all empty categories (on, off, show all)
            • 排除所有空白类别(打开,关闭,显示全部)

            • Select Categories you don’t want to appear in the Gallery
            • 选择您不想显示在图库中的类别

            • When a WordPress bug will be fixed, I will enable the option to exclude certain images from the Gallery.
            • 修复WordPress错误后,我将启用从图库中排除某些图像的选项。

          • Welcome message:

            欢迎消息:

              • Switch welcome message ON and OFF
              • 打开和关闭欢迎消息

              • If ON, the gallery will display a default message that you can alter.
              • 如果启用,则图库将显示您可以更改的默认消息。

              • If OFF, select the category’s gallery to be displayed
              • 如果关闭,则选择要显示的类别的画廊

            • Extras:

              其他:

                • Pagination!
                • 分页!

                • Number of posts per pages
                • 每页的帖子数

下载地址

https://downloads.wordpress.org/plugin/all-in-one-gallery.2.1.zip

https://downloads.wordpress.org/plugin/all-in-one-gallery.2.1.zip

-EOF-

AI助手支持GPT4.0