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.