توضیحات
The Category Posts Shortcode plugin allows you to easily display a list of posts within a specified category on your WordPress website. The plugin adds a new shortcode that can be used within your posts, pages, or widgets. The list of posts is styled to be visually appealing and responsive for various screen sizes.
To use the shortcode, simply add the following to your WordPress page or post editor, replacing “your-category-slug” with the desired category slug:
[category_posts category=”your-category-slug”]
For Multiple Categories:
[category_posts category=”uncategorized”]
[category_posts category=”blog”]
نصب
- Download the plugin files and upload the entire
category-posts-shortcodefolder to the/wp-content/plugins/directory of your WordPress installation. - Activate the plugin through the ‘Plugins’ menu in the WordPress admin dashboard.
- Use the
[category_posts category="your-category-slug"]shortcode in your WordPress pages, posts, or widgets, replacing “your-category-slug” with the desired category slug.
سوالات متداول
-
How can I change the styling of the posts list?
-
You can edit the
category-posts-shortcode.cssfile located in thecssfolder of the plugin directory. Make sure to clear your cache after making any changes to see the updated styles. -
Can I display multiple categories at once?
-
Currently, the plugin only supports displaying posts from a single category per shortcode. To display posts from multiple categories, you can add multiple shortcodes with different category slugs.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Category Posts Shortcode” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “Category Posts Shortcode” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
گزارش تغییرات
1.0.0
- Initial release