WordPress site needs a news section. News Post allows you add, manage and display news, date archives, widget, vertical news, scrolling news, with thumbnails widget on your website.
- Now you can Display news post with the help of short code :
[wpoh_news]
[wpoh_news grid="2"]
- Also you can Display the news post with Multiple categories wise you can pass multiple ids.
Sports news :
[wpoh_news category="category_id"]
Arts news
[wpoh_news category="category_id"]
- Complete shortcode example:
[wpoh_news limit="10" category="category_id" grid="2" show_content="true" show_full_content="true" show_category_name="true" show_date="false" content_words_limit="30" ]
- Comments for the news
- Added Widget Options like Show News date, Show News Categories, Select News Categories.
- Template code :
<?php echo do_shortcode('[wpoh_news]'); ?>
Following are News Parameters:
- limit : [wpoh_news limit="10"] (Display latest 10 news and then pagination).
- category : [wpoh_news category="category_id"] (Display News categories wise).
- pagination_type: [wpohp_news pagination_type="numeric"] (Select the pagination type for News ie "numeric" OR "next-prev" ).
- grid : [wpoh_news grid="2"] OR [wpoh_news grid="list"] (Display News in Grid formats. To display News in list view, Use grid="list").
- show_date : [wpoh_news show_date="false"] (Display News date OR not. By default value is "True". Options are "ture OR false")
- show_content : [wpoh_news show_content="true" ] (Display News Short content OR not. By default value is "True". Options are "ture OR false").
- show_full_content : [wpoh_news show_full_content="true"] (Display Full news content on main page if you do not want word limit. By default value is "false")
- show_category_name : [wpoh_news show_category_name="true" ] (Display News category name OR not. By default value is "True". Options are "ture OR false").
- content_words_limit : [wpoh_news content_words_limit="30" ] (Control News short content Words limt. By default limit is 20 words).
The plugin adds a News tab to your admin menu, which allows you to enter news items just as you would regular posts.
If you are getting any kind of problum with news page means your are not able to see all news items then please remodify your permalinks Structure like, first select "Default" and save then again select "Custom Structure" and save.
Added New Features :
- Added List view
[wpoh_news grid="list"]
- Category wise News
Sports news [wpoh_news category="category_id"]
- Display News with Grid
[wpoh_news grid="2"]
and List [wpoh_news grid="list"]
- Added pagination [wpoh_news limit="10"]
- Added new shortcode parameters ie show_content, show_category_name and content_words_limit
- Added Widget Options like Show News date, Show News Categories, Select News Categories.
- Added new shortcode parameters show_date
- Added shortcode parameter show_full_content
- Added translation in German, French (France), Polish languages (Beta)
== Installation ==
- Upload the 'wp-news-post-with-scrolling-widgets' folder to the '/wp-content/plugins/' directory.
- Activate the wp-news-post-with-scrolling-widgets plugin through the 'Plugins' menu in WordPress.
- Add and manage news items on your site by clicking on the 'News Post' tab that appears in your admin menu.
- Create a page with the any name and paste this short code
[wpoh_news]
.