MOHI CPT

描述

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

屏幕截图

安装

  1. Upload the mohi-cpt folder to the /wp-content/plugins/ directory, or install directly through the WordPress admin panel.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to the newly created ‘MOHI CPT’ dashboard entry to configure single portfolio or testimonial options.
  4. (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.

What does the Meta Box Toggle button do?

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.

评价

此插件暂无评价。

贡献者及开发者

「MOHI CPT」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「MOHI CPT」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.