Description
=== Web Story Category Media Upload ===
Contributors: Deepak-vishwakarma
Donate link: https://pmny.in/PAYUMN/qrV1ZKuWdOvK
Tags: web stories, categories, media upload, grid display
Requires at least: 5.0
Tested up to: 6.5
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Adds media upload functionality to Web Story categories and provides a grid display shortcode.
== Description ==
This plugin enhances Web Story categories by:
1. Adding an image upload field to category forms
2. Storing category images in term meta
3. Providing a shortcode to display categories in a responsive grid
4. Supporting custom column layouts and image sizes
Perfect for creating visual category navigation for your Web Stories!
== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/web-story-category-media` directory
2. Activate the plugin through the ‘Plugins’ screen in WordPress
3. Go to Web Stories > Categories to start adding images to your categories
4. Use the [web_story_categories] shortcode to display them on your site
== Frequently Asked Questions ==
= How do I display the categories on my site? =
Use the [web_story_categories] shortcode. You can customize it with attributes:
[web_story_categories columns=”3″ height=”250px”]
= What image sizes should I use? =
The plugin will automatically resize images to fit the grid. For best results, use images with a 16:9 aspect ratio.
= Can I change the grid layout? =
Yes, the grid is fully responsive and adjusts to your specified number of columns.
= What happens if I don’t upload an image? =
The category name will be displayed in a placeholder box.
== Screenshots ==
1. Media upload field in category form
2. Category edit screen with image preview
3. Frontend grid display of categories
== Changelog ==
= 1.0 =
* Initial release
== Upgrade Notice ==
1.0 – First version of the plugin. No upgrade needed.
== Shortcode Reference ==
[web_story_categories] – Displays all Web Story categories in a grid
Attributes:
– columns: Number of columns (default: 4)
– height: Image height with CSS units (default: 200px)
Examples:
[web_story_categories]
[web_story_categories columns=”3″]
[web_story_categories height=”300px”]
[web_story_categories columns=”2″ height=”150px”]
Reviews
There are no reviews yet.