Obydullah Fashion Store Core
Manage hero sliders, testimonials, and footer settings from the WordPress admin.
Install in
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-attributesofsc_testimonial— public, REST-enabled, supports titleofsc_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 oftext/urlpairs),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.
Written by Joobi from the project's own listing. See the source page
1.0.2
- Removed the code examples from the readme and simplified the documentation.
1.0.1
- Fixed: activation now registers the post types before flushing rewrite rules, so the hero slide permalink works without a manual Permalinks Save Changes.
- Fixed: activation no longer adds another sample row on every re-activation.
- Fixed: a failed sample insert is reported in the admin instead of passing silently.
- Added a runtime check for the minimum WordPress version, matching the header requirement.
- Hardened the save handlers against array input, and they now reject a forged nonce with a 403 instead of dropping the save silently.
- Ratings are stored as an integer within the 1–5 range.
1.0.0
- Initial release.
- Hero Slide CPT with kicker and subtitle meta fields.
- Testimonial CPT with quote, rating, role, and avatar meta fields.
- Footer Settings singleton CPT with logo/tagline, social links, quick links repeater, contact info, and copyright meta fields.
- Admin dashboard page with navigation cards.
- Nonce, capability, and sanitization guards on all save handlers.
Follow this listing's changes (Atom feed)