विवरण
A simple plugin for rendering random post previews in a list view using shortcode.
Supports various options to customize output to your needs.
Supported shortcode options
- header: , whether to output header text (default=)
- show_featured_image: , whether to output featured post image (default=TRUE)
- featured_image_height: , height of featured image in px (default=100)
- preview_text_chars: , amount of chars to be displayed for preview text (default=200)
- container_css_class: , CSS class of outer container (default=articles-preview-container)
- container_article_css_class: , CSS class of article containe (default=article-preview)
- append_css_clear: , whether to append a CSS clear container (default=TRUE)
- container_left_width: , px or % (default=65%)
- container_right_width: , px or % (default=30%)
स्थापना
- Upload and extract simple-random-posts-shortcode.zip to your plugins directory
- Activate the plugin through the Plugins menu in WordPress
समीक्षाहरू
फेब्रुअरी 8, 2017
works as described. please add additional options to specify how list is rendered. Thanks!
योगदानकर्ता र डेभलपरहरू
“Simple Random Posts Shortcode” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Simple Random Posts Shortcode” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
0.1
- Initial public release.
0.2
- added option to show featured image for posts, [‘show_featured_image’]
- added option to specify featured image height, [‘featured_image_height’]
- added option to specify char count for preview text, [‘preview_text_chars’]
- changed HTML to floating divs for better alignment
- added option to specify CSS class for outer div container, [‘container_css_class’]
0.3
- added option to append CSS clear container, [‘append_css_clear’]
- added option to specify width of left container, [‘container_left_width’]
- added option to specify width of right container, [‘container_right_width’]
- added option to specify CSS class for article container, [‘container_article_css_class’]