| 开发者 | shshakib2001 |
|---|---|
| 更新时间 | 2026年11月13日 01:04 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
src/Frontend/assets/js/scripts.js, elementor.js and src/Frontend/assets/css/style.css / shopshelf-grid.css sit beside their .min versions.src/Admin/assets/block/ is in the shopshelf-block/ folder. To rebuild it, run npm install and npm run build inside that folder (Node.js 20 or newer).src/Admin/assets/app/shopshelf-admin-app.js is in the shopshelf-admin/ folder. To rebuild it, run npm install and npm run build inside that folder (Node.js 20 or newer).swiper-bundle.js and swiper-bundle.min.js are the unmodified files from the official package.shopshelf-admin/package.json.[shopshelf id="12"].Yes. ShopShelf displays WooCommerce products and calls WooCommerce directly, so it needs WooCommerce installed and active.
Yes. Every feature described on this page is included in the free plugin.
Create a layout under ShopShelf → Add New Layout, choose the products and the design, and publish it. Then show it with the ShopShelf Layout block, a ShopShelf Elementor widget or the layout's shortcode, as described below.
Yes. Choose the Carousel layout. It has three modes (Standard, Center and Ticker), autoplay, five transition effects, arrows, dots and multiple rows, and you set the number of visible products for each screen size.
Yes. Under Filter Settings → Advanced Filtering, switch on Taxonomy, choose Category and pick the categories to include. Tags and product attributes work the same way. Turn on Show as Live Filter to let shoppers switch between those categories on the page.
Yes. Columns, rows, slides to scroll and font sizes are set separately for each screen size, and the live preview lets you check the layout at desktop, tablet and mobile widths before you publish.
Yes. Choose one of the three pre-made templates, or select Custom to build the card yourself: reorder its parts, choose which ones appear, and style borders, spacing, colours and typography. For anything else, add your own CSS under Settings → Custom CSS & JS.
In the block editor, insert the ShopShelf Layout block and choose a layout from its list; it previews in the editor. An existing [shopshelf] shortcode or Shortcode block can be converted to it from the block toolbar.
Each layout also has a shortcode, shown in the layouts list and in the editor: [shopshelf id="12"]. Paste it into the classic editor, a text widget or a page builder's shortcode element. In a theme template, use <?php echo do_shortcode( '[shopshelf id="12"]' ); ?>.
Yes. With Elementor active, the ShopShelf category in the widget panel has four widgets:
Check that the layout is published, then look at its filters: almost always they are narrower than the catalogue — a category with nothing published in it, or a Best Selling or Top Rated source on a shop with no sales or reviews yet. Clear the filters one at a time and preview after each.
Yes. Each layout is wrapped in its own element and its settings, filters and pagination are scoped to it.
Yes. Every layout is wrapped in an element with its own id, so a rule that starts with that id affects only that layout:
#shopshelf_wrapper-12 .shopshelf__item--title a { text-transform: uppercase; }
Add it with WordPress's own CSS editor: Appearance → Customize → Additional CSS, or Styles → Additional CSS in the Site Editor.
Yes. Copy any template from the plugin's src/Frontend/templates folder into a shopshelf folder in your theme, keeping the same path — for example yourtheme/shopshelf/item/title.php — and edit it there. Your copy is used instead of the plugin's and survives plugin updates. Tools → System status lists any overrides it finds, which is worth checking if a setting seems to have no effect.
No. Scripts, styles, icons and fonts are all served from your own site. The only outbound links are the optional social share links described under "External services" below, and they do nothing until a visitor clicks one.
Deactivating the plugin keeps everything. Deleting it from the Plugins screen removes its layouts and settings.
Open ShopShelf → Help in your dashboard for a guide to every setting. If you are still stuck, post in the support forum and include the report from ShopShelf → Tools → System status.
shopshelf_skeleton_settings filter, and shopShelfFrontend.skeletonCards for add-ons that bring their own layouts.shopshelf_premade_flag filter, and pre-made templates you can override from your theme, under shopshelf/theme/.shopshelf:ready and shopshelf:products-loaded jQuery events, fired when a layout starts and after filters, pagination or Load More bring in new products.