跳到内容

Obydullah Fashion Store Core

v1.0.2

obydullah · 2026年10月10日 上架

Manage hero sliders, testimonials, and footer settings from the WordPress admin. Works with any theme.

正在使用
10 以下
评分
暂无
累计下载
211
最近更新
2026年10月10日
需要 WordPress 6.2+已测试到 7.1.5PHP 8.0+

贡献者

Obydullah Fashion Store Core is a custom WordPress plugin that powers the backend content management for a fashion e-commerce storefront. It registers dedicated Custom Post Types (CPTs) and meta boxes, allowing store administrators to manage homepage hero slides, customer testimonials, and global footer settings from the WordPress admin dashboard without writing any code.

The plugin is theme-agnostic. It handles content storage and administration only; your theme renders the front-end output.

Features

  • Hero Slider Management — Create and reorder hero slides with custom kicker text (e.g. “Autumn / Winter 2026”) and subtitles. Supports featured images and menu-order sorting.
  • Testimonials — Manage customer testimonials with quote text, star ratings (1–5), role/title, and avatar URL.
  • Footer Settings (Singleton) — A single-instance screen for the site-wide footer: logo tagline, social media URLs (Instagram, Pinterest, YouTube, TikTok), quick links with an add/remove repeater, contact information (address, phone, email), and copyright text.
  • Admin Dashboard — A centralized page under the Fashion Store Core menu linking to each content section.
  • WordPress REST API — All three CPTs are REST-enabled for headless front ends or block-editor integration.

Theme integration

The plugin registers the following post types and meta keys for your templates.

Post types

  • ofsc_hero_slide — public, REST-enabled, supports title / thumbnail / page-attributes
  • ofsc_testimonial — public, REST-enabled, supports title
  • ofsc_footer — admin-only UI, REST-enabled, supports title

Meta keys

  • Hero slide: ofsc_kicker, ofsc_subtitle
  • Testimonial: ofsc_testimonial_quote, ofsc_testimonial_role, ofsc_testimonial_rating, ofsc_testimonial_avatar
  • Footer: ofsc_footer_tagline, ofsc_footer_social (associative array), ofsc_footer_links (array of text / url pairs), ofsc_footer_address, ofsc_footer_phone, ofsc_footer_email, ofsc_footer_copyright

Security

Every save handler verifies a post-specific nonce, rejects autosaves and revisions, confirms the post type, and checks current_user_can( 'edit_post', $post_id ) before writing. All input is unslashed and sanitized on first touch, and all output is escaped.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums