Description
ZeronKit Portfolio adds the content a photographer or small studio needs, and the ZeronKit themes show it as soon as the plugin is active. It works without any other plugin.
- Projects: a portfolio at /portfolio/ with a gallery per project, location, date, client, project categories, project types and places. Visitors can filter the portfolio by category or place without a page reload, and every gallery opens in an accessible lightbox.
- Services: what you offer, with price, duration and a list of what is included. The contact form offers them as choices.
- Kind words: client quotes and press mentions, only ever the ones you add.
- Inquiries: a contact and booking form with spam protection (nonce, hidden field, minimum fill time and an hourly limit per visitor). Every message is saved as a private Inquiry in the admin before the email is sent, so nothing is lost if email fails.
- Site details: one settings page (Settings > ZeronKit Portfolio) for the tagline, introduction, contact details, social links and the optional booking button and banner.
- Search tags: a meta description, Open Graph tags and basic structured data. They switch off by themselves when Yoast SEO, Rank Math, All in One SEO, SEOPress or The SEO Framework is active.
The plugin makes no remote requests, adds no tracking and loads no files from other servers.
Sample content
A fresh site can be filled with sample projects, services, journal posts and pages from the command line:
wp zeronkit-portfolio seed
Pages with the same slug (home, about, services, contact, journal, privacy-policy, terms) and menus with the same name are kept as they are, and the command prints a warning for each one. To replace them with the sample content, add –force. It asks for confirmation first, which –yes answers:
wp zeronkit-portfolio seed --force
The sample pictures are flat artwork made by ZeronKit for this plugin, released under the GPL like the code. A small footer note in the themes reminds the owner to replace them, and it disappears once they are gone.
For theme authors
Every function, post type, taxonomy, option and meta key of the plugin starts with zeronkit1_: zeronkit1_info(), zeronkit1_projects(), zeronkit1_project_meta(), zeronkit1_gallery_ids(), zeronkit1_image(), zeronkit1_lightbox_image(), zeronkit1_services(), zeronkit1_testimonials(), zeronkit1_contact_form() and the rest. A theme should call them through function_exists() checks, so it also works without the plugin.
The post types are zeronkit1_project, zeronkit1_service, zeronkit1_quote (kind words) and zeronkit1_inquiry. The taxonomies are zeronkit1_category, zeronkit1_project_type and zeronkit1_place.
Installation
- Install and activate the plugin from Plugins > Add New, or upload the zeronkit-portfolio folder to /wp-content/plugins/.
- Fill in Settings > ZeronKit Portfolio.
- Add projects under Projects, and services under Services.
- Create a page with the slug “contact”. ZeronKit themes print the contact form on it.
FAQ
-
Does it work with other themes?
-
The projects, services, kind words and inquiries work with any theme, and projects have their own archive and single pages. The ZeronKit themes add the designed portfolio, services and contact pages.
-
I use ZeronKit Themes Core. Can I switch?
-
Yes. Deactivate ZeronKit Themes Core, then activate ZeronKit Portfolio. Your projects, services, kind words, inquiries and settings are moved to the new zeronkit1_ names once, when the plugin is activated, so nothing has to be typed again. Use a ZeronKit theme of version 1.1.0 or later with it. While both plugins are active, ZeronKit Portfolio stays idle and shows a notice, so nothing breaks.
-
Where are contact messages stored?
-
Under Inquiries in the admin, as private posts. A copy is emailed to the address in Settings > ZeronKit Portfolio, or to the site admin email when that field is empty.
-
What personal data does the form collect?
-
The name, email address, type of session, an optional date and the message the visitor types. They are stored as an Inquiry on your own site and emailed to you. The plugin sends nothing anywhere else. A short hashed key of the visitor’s IP address is kept for one hour to limit the number of messages.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ZeronKit Portfolio” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ZeronKit Portfolio” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.0
- Changed: every name now starts with the prefix zeronkit1_ instead of the short zkt_, as asked in the WordPress.org plugin review, so nothing can clash with another plugin or theme. This covers functions, post types, taxonomies, options, post meta keys, hooks, nonces, transients, constants, script handles and image sizes. Kind words are now the zeronkit1_quote post type, because post type names may not be longer than 20 characters.
- Added: a one time update that renames the existing data in the database (post types, taxonomies, options, post meta, menu items, screen options and image sizes), so no project, service, inquiry or setting is lost. It stores its version and is safe to run again.
- Fixed: wp zeronkit-portfolio seed no longer overwrites pages with the same slug. Existing pages and menus are kept with a warning, and are only replaced with –force after a confirmation (–yes skips it). It also keeps an existing static homepage, hero images, menu locations and the inquiry email.
- Fixed: the project gallery field only accepts positive whole numbers as image IDs, so “-3” no longer becomes image 3.
- Fixed: zeronkit1_service_meta() returned an empty string instead of empty details when the post did not exist.
- Themes that called the old zkt_ functions need an update: the ZeronKit themes 1.1.0 use the new names.
1.0.0
- First release, based on the content features of ZeronKit Themes Core.