
內容簡介
Art Store 讓藝術家可以使用 PayPal(或其他第三方付款處理器)在他們自己的 WordPress 網站上銷售自己的作品。透過 Shortcode,可以使用水平滾動的畫廊來展示每件藝術品。
使用畫廊
包含的畫廊使用一個名為 SmoothDivScroll 的 jQuery 库,由 Thomas Kahn 開發。您可以使用這個畫廊或不使用來展示您的藝術品。要使用畫廊,我們已經包含了一個 Shortcode。默認情況下,Shortcode 將顯示所有您的藝術品。
[art-store-gallery]
您可以通過將“post”參數添加到 Shortcode 來限制出現的項目數量:
[art-store-gallery posts=10]
您可以指定高度或寬度以嘗試製作所有圖像的統一樣式。您可以指定高度、寬度或兩者,畫廊將嘗試在不改變縮略圖像的寬高比的情況下使用您的值。
[art-store-gallery height=500] - 高度/寬度設定為 500 的畫廊
[art-store-gallery width=500] - 高度/寬度設定為 500 的畫廊
[art-store-gallery height=250 width=300] - 高度設定為 250,寬度設定為 300 的畫廊
注意:畫廊將使用您在媒體庫中縮略圖的裁剪設置,您可以通過編輯媒體庫中的圖像來更改裁剪設置。
外掛標籤
開發者團隊
原文外掛簡介
Art Store allows artists to sell their work on their own WordPress website using PayPal (or any other third-party payment processor). A horizontal-scrolling gallery with each artwork can be used via a shortcode.
Using the Gallery
The included gallery uses a jQuery library called SmoothDivScroll by Thomas Kahn. You can use this gallery, or not, to display your art pieces. To use the gallery, we’ve included a shortcode. By default, the shortcode will display all your art.
[art-store-gallery]
You can limit the number of items that appear by adding a posts parameter to the shortcode:
[art-store-gallery posts=10]
You can specify a height or width to attempt to make all your images uniform. You can specify a height, a width, or both, and the gallery will attempt to use your values whilst not altering the aspect ratio of the thumbnail image.
[art-store-gallery height=500] - gallery with height/width set to 500
[art-store-gallery width=500] - gallery with height/width set to 500
[art-store-gallery height=250 width=300] - gallery with height set to 250 and width set to 300
(Note: The gallery will use whatever crop settings you have specified on the thumbnail in the media library — you can change the crop settings by editing the image in the media library.)
