描述
MOHI CPT is a lightweight, performance-first WordPress plugin built specifically to handle structural Portfolio layouts and Testimonial sliders without plugin bloat. Designed keeping ultra-fast load times and clean semantic markup in mind, it provides smooth dashboard control toggles and secure front-end rendering.
Key Features
- Performance First: Ultra-clean codebase ensuring under 2-second site asset loading.
- Dual Showcase: Registers standard-compliant ‘Portfolio’ and ‘Testimonial’ custom post types.
- Smart Assets Enqueueing: Conditional script & style loading ensures Bootstrap assets only load where needed, keeping the rest of the site clean.
- Isolated Admin Scope: Customized options layout panel with robust view control toggles built specifically to avoid global CSS style bleed.
- Shortcode-Ready: Easily display your Portfolios or Testimonials inside any pages, sections, or popular page builders using shortcodes.
- Translation Ready: Full internationalization integration adhering to secure WordPress core localization patterns.
Third-Party Resources & Bundled Assets
This plugin bundles localized copies of the following external open-source framework assets to ensure modern grid structure rendering and iconography support:
-
Bootstrap Framework (Core CSS & JS Bundle)
- Source: https://github.com/twbs/bootstrap
- License: MIT License (https://github.com/twbs/bootstrap/blob/main/LICENSE)
- Version Bundled: 5.3.8
-
Bootstrap Icons (Font Assets & Framework CSS)
- Source: https://github.com/twbs/icons
- License: MIT License (https://github.com/twbs/icons/blob/main/LICENSE)
- Version Bundled: 1.11.3
安装
- Upload the
mohi-cptfolder to the/wp-content/plugins/directory, or install directly through the WordPress admin panel. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to the newly created ‘MOHI CPT’ dashboard entry to configure single portfolio or testimonial options.
- (Optional) If you face any broken links, use the integrated ‘Flush Permalinks’ feature in the settings screen.
常见问题
-
How do I display the portfolio layout on a specific page?
-
You can easily display your Portfolios in any pages, sections and builders by dropping in the standard
[my_portfolio]shortcode. -
Does this plugin inject massive CSS files sitewide?
-
No. Following our performance-first rule, Bootstrap layout definitions and Bootstrap Icons are strictly limited and conditionally loaded on single CPT items, post-type archives, or explicit shortcode occurrences only.
-
It provides an intuitive micro-control panel over your single layouts. You can easily show or hide the project details section on your single portfolio layout with a single click.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.0
- Initial baseline production release.
- Added strict admin option screen asset boundaries to prevent style overrides.
- Optimized semantic localization templates and fixed local asset fonts fallback routing.



