| 开发者 | hanchan |
|---|---|
| 更新时间 | 2026年10月9日 07:36 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
show_filter="false" and show_sort="false" turn them off when you only want a clean grid.
Fields that belong to a project
gtag, a click on a download or a like sends a cta_click event to the analytics account you configured. This plugin loads no analytics code of its own, and with the box unticked it sends nothing.
Coming from ACS Portfolio Pro 3.x
If this site already holds items from ACS Portfolio Pro 3.x, deactivate that plugin and a notice offers to import them. The import moves the items, their categories and their fields over. Nothing is deleted — the old values stay on each item — and it only runs when you press the button.
[acs_portfolio] on any pagelimit="6" — show at most this many items, -1 for allcategory="web-design" — one category only, or several separated by commasshow_filter="false" — hide the category buttonsshow_sort="false" — hide the sort drop-downdownload_only="true" — show only the categories that are handed out as downloadsNo. It is off when you install the plugin, and while it is off nothing is added to the front end — no buttons, no counters, no extra markup. Switch it on only if you want the portfolio to hand out files.
Only attachments that are already in this site's media library. Anything that can carry code is refused: SVG, HTML, XML, JavaScript, PHP, shell scripts and Windows executables. If you do not pick a file, the full size featured image is offered instead, which is what a photo or texture library usually wants.
They count a real request for the file, not a click, so they are still right for visitors with JavaScript switched off. The same visitor is only counted once every five minutes, so a double click or a retry does not inflate the number. Likes are one per visitor, remembered in a cookie and, as a backstop, in a short lived record keyed by a hash of the address — the address itself is never stored.
Nothing is sent by the plugin. It has no license check, no update server and no telemetry, and it loads no font or script from anywhere else. The one thing that can leave the visitor's browser is the optional cta_click analytics event, and only when you tick that box and your site has already loaded gtag for your own analytics account.
Yes. Copy templates/portfolio-item.php out of the plugin, put it in your theme, and point the acs_portfolio_item_template filter at your copy. The query, the wrapper classes, the sort options and the shortcode attributes each have a filter as well.
Deactivate version 3 first, then activate this plugin. A notice tells you how many items it found and offers to import them. The import keeps the items, the categories and every field; the old values are left on each item, so nothing is destroyed if you change your mind. Afterwards open Settings > Permalinks and press Save once so the links are rebuilt.
At https://acs-developer.com/forum/ — please include your WordPress version, your PHP version and the shortcode you used.