توضیحات
The Post Story Carousel Block plugin allows you to display a carousel of posts similar to social media “stories.” Each post is shown as a story card with a featured image, title, subtitle, and author avatar, with customizable settings for layout, font styles, spacing, and more.
Key Features:
- Display up to 20 posts in a carousel format.
- Supports different post types, including posts and pages and custom post.
- Customizable font sizes, font families, and colors for titles and subtitles.
- Adjustable image size, including custom dimensions.
- Select posts from specific categories or display the latest posts.
- Option to define the number of posts shown and subtitle length.
- Supports default and fallback images when no featured image is available.
- Complete control over padding, margin, and spacing between story cards.
License
This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.
This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this plugin; if not, see https://www.gnu.org/licenses/gpl-2.0.html.
عکسهای صفحه
بلوکها
این افزونه 1 بلوک ارائه میدهد.
- Post Story Carousel
نصب
- Upload the plugin files to the
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the block editor to add the “Post Story Carousel” block to your posts or pages.
سوالات متداول
-
How can I customize the appearance of the story cards?
-
You can adjust the font size, font family, font color, line height, padding, margin, and other settings in the block editor’s sidebar.
-
Can I choose which posts to display?
-
Yes, you can specify a post category in the block settings or leave it blank to display the latest posts. You can also choose the post type (posts or pages).
-
What happens if a post does not have a featured image?
-
If a post lacks a featured image, the plugin will display a default image from the assets folder (
assets/img/default-story.jpg
). You can change this image by modifying the file path in the block’s JavaScript code.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Post Story Carousel Block” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “Post Story Carousel Block” به زبان شما.
علاقه مند به توسعه هستید؟
کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.
گزارش تغییرات
1.0
- Initial release of the plugin.
- Added options for customizing font styles, image sizes, and spacing.
- Fallback for default images if no featured image is set.
- Added author avatars and basic post meta.