Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Simple News and Slider

Description

Simple News List and Slider for show news archives, news slider and thumbnails.

Its work with Gutenberg shortcode block also.

Important Note For How to Install

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 pluign 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( 'nwowls_news_registered_post_type_args', $news_args ); 

Now you can Display news post with the help of short code :

 [news_slider ] 

Display News with Grid:

[news_slider type="list"] 

Display News with Slider:

[news_slider type="slider"] 

Also you can Display the news post with Multiple categories wise

Demo news : 
[news_slider category="category_id"]
Test news 
[news_slider category="category_id"]

Setting for slider and news list

Comments for the news

Template code :

 <?php echo do_shortcode('[news_slider]'); ?>

Following are News Parameters:

  • category : [news_slider category= »category_id »] (Display News categories wise).
  • pagination_type: [news_slider pagination_type= »numeric »] (Select the pagination type for News ie « numeric » OR « next-prev » ).

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 for example
first select « Default » and save then again select « Custom Structure  » and save.

The Plugin Features (latest added) :

  • Display News with Grid [news_slider] or [news_slider type="list"] and Slider [news_slider type="slider"]
  • Category wise News Sports news [news_slider category="category_id"]

Privacy & Policy

  • We have also opt-in e-mail selection , once you download the plugin , so that we can inform you and nurture you about products and its features.

Captures d’écrans

  • Listing all news in admin
  • Add new news
  • News and slider settings
  • Display News with grid view
  • Display News with List view

Installation

  1. Upload the ‘simple-news-list-and-slider’ folder to the ‘/wp-content/plugins/’ directory.
  2. Activate the Simple News List and Slider plugin through the ‘Plugins’ menu in WordPress.
  3. Add and manage news items on your site by clicking on the ‘News’ tab that appears in your admin menu.
  4. Create a page with the any name and paste this short code [news_slider].

FAQ

How to enable/disable Gutenberg editor support for News Posts?

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( 'nwowls_news_registered_post_type_args', 'prefix_gutenberg_editor_support' );

Do I need to update my permalinks after I activate this plugin?

No, not usually. But if you are geting « /news » page OR 404 error on single news then please update your permalinks to Custom Structure.

I am getting 404 page in news detail page?

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.

Are there shortcodes for news items?

Yse [news_slider]

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Simple News and Slider » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Simple News and Slider » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

1.1.0

  • Initial release.