A quick, easy way to add an News custom post type, News widget, vertical scrolling news widget to WordPress. Also work with Gutenberg shortcode block.
✅ Now that you have your website ready then why don’t you download and try out this News and widget plugin to give it better functionality.
By downloading our WordPress news and scrolling widget plugin on your website, you are in a way giving a very professional touch to it. It’s a way to news your company’s standards and position. It not only has news but you can also design and customize it with a brief description as well. Download and try this news and scrolling widget plugin which comes with many other features.
Your customer might like the professional and fancy vibe of your site with news and scrolling widgets.
✅ This plugin displays your news posts using :
Download Now it today and explore all the features.
When you want to makeover your WordPress website theme with something extraordinary and creative, you must consider the news and scrolling widget plugin.
Website’s performance is the most significant thing for any online business owner. WP News and Scrolling Widget is one of the ways to effectively increase the dynamics of the online web space with news archives, scrolling news widgets and thumbnails. Add, manage and remove the news section on your CMS website.
The plugin work with shortcode so you can easily display the news anywhere on your site.
Also added Gutenberg block support.
News
[sp_news]
To display only News 4 post:
[sp_news limit="4"]
Where limit define the number of posts to display.
If you want to display News by category then use this short code:
[sp_news category="category_ID"]
Enter category id to display categories wise.
Complete shortcode example:
[sp_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" ]
<?php echo do_shortcode('[sp_news]'); ?>
[sp_news]
Please make sure that Permalink link should not be “/news” Otherwise all your news will go to archive page. You can give it other name like “/ournews, /latestnews etc”**
As this plugin is created with custom post type, you can now add Gutenberg editor support for the plugin for writing the news post. For that we have added apply_filters. For more details please check plugin FAQ section.
apply_filters( 'sp_news_registered_post_type_args', $news_args );
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 problem with news page means your are not able to see all news items then please save your Permalinks Structure for example
first select “Default” and save then again select “Custom Structure” and save.
✅ Checkout demo for better understanding
✅ Essential Plugin Bundle Deal
Annual or Lifetime Bundle Deal
[sp_news]
.Just add this code in your theme function.php file to enable/disable Gutenberg editor support for News Posts :
function prefix_gutenberg_editor_support($news_args){ $news_args['show_in_rest'] = false; return $news_args; } add_filter( 'sp_news_registered_post_type_args', 'prefix_gutenberg_editor_support' );
No, not usually. But if you are getting “/news” page OR 404 error on single news then please update your permalinks to Custom Structure.
If you are getting this error, please go to Setting –> Permalinks and under Permalinks Setting select “Plain” radio button and save. Now again go to “Post name” radio button and save again. This will fix your issue.
Use [sp_news]
show_in_rest=> true
to enable the Gutenberg Editor support for News Posts or Not. For more details please check plugin FAQ section.