Create a fully functional WordPress plugin called "Story Cards" with these specifications: Plugin Structure: Main plugin file: story-cards.php includes/ folder with: class-sc-admin.php → admin settings page class-sc-public.php → frontend display logic assets/ folder with: css/story-cards.css → card design, layout, animations js/story-cards.js → navigation, transitions, swipe support uninstall.php for clean removal Core Features: Automatically convert latest posts into interactive "Story Cards" Each card displays: title, featured image, excerpt, and "Read More" link Navigation: next/previous buttons + swipe for mobile Animations: slide, fade, zoom transitions Shortcode to display cards anywhere Admin settings page for: Number of cards to display Card width, height, and style Default animation effect Optional Advanced Features: Load more cards via AJAX without page reload Custom colors and fonts per card Integration with popular page builders (Elementor, Gutenberg) Technical Requirements: Use WordPress hooks: wp_enqueue_scripts, add_shortcode, etc. Object-oriented structure for admin and public classes Fully responsive design for desktop and mobile Secure coding: sanitize inputs, escape outputs, use nonces Deliverable: Fully functional plugin ready for installation Proper folder structure and enqueued scripts/styles Code commented with explanations for key parts
Create a fully functional WordPress plugin called “Story Cards” with these specifications:
- Plugin Structure:
- Main plugin file:
story-cards.php includes/folder with:class-sc-admin.php→ admin settings pageclass-sc-public.php→ frontend display logic
assets/folder with:css/story-cards.css→ card design, layout, animationsjs/story-cards.js→ navigation, transitions, swipe support
uninstall.phpfor clean removal
- Core Features:
- Automatically convert latest posts into interactive “Story Cards”
- Each card displays: title, featured image, excerpt, and “Read More” link
- Navigation: next/previous buttons + swipe for mobile
- Animations: slide, fade, zoom transitions
- Shortcode
to display cards anywheretest
Create a fully functional WordPress plugin called "Story Cards" with these specifications: Plugin Structure: Main plugin file: story-cards.php includes/ folder…
Read More →Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
Read More →1 / 2 - Admin settings page for:
- Number of cards to display
- Card width, height, and style
- Default animation effect
- Optional Advanced Features:
- Load more cards via AJAX without page reload
- Custom colors and fonts per card
- Integration with popular page builders (Elementor, Gutenberg)
- Technical Requirements:
- Use WordPress hooks:
wp_enqueue_scripts,add_shortcode, etc. - Object-oriented structure for admin and public classes
- Fully responsive design for desktop and mobile
- Secure coding: sanitize inputs, escape outputs, use nonces
- Deliverable:
- Fully functional plugin ready for installation
- Proper folder structure and enqueued scripts/styles
- Code commented with explanations for key parts
Leave a Reply