WP News and Scrolling Widgets Pro

Getting Started

WP News and Scrolling Widgets Pro adds a Menu tab in WP Admin side with the name “News Pro” where you can add new News post, edit and delete. You can also add categories for News.

Bellow screen shows how to add a News post. You just click on “Add News” and insert News title and contents as you add for WordPress post.

Shortcode Builder

Check the Result of any Shortcode with Preview using “Shortcode Builder
Please Go To Admin Menu -> News and Scrolling Widgets Pro -> Shortcode Builder.

Gutenberg Blocks

Please go to page or post and add “Gutenberg Blocks“.

News Slug Setting

Please go to the news plugin setting page. You can change Post Type slug and Category Archive slug with your desired text.

How to Display and Shortcodes

Display a News page is very simple. Just go to Pages > Add New and add page title ie Our News and add below shortcode as per your need.

WP News and Scrolling Widgets Pro contains 6 shortcodes.

News Grid

[sp_news]

News Slider

[sp_news_slider]

News Grid Box

[wpnw_gridbox]

News Grid Box Slider

[wpnw_gridbox_slider]

News List

[wpnw_news_list]

News Ticker

[wpnw_news_ticker]

News Masonry Layout

[sp_news_masonry]

Note: 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”

Parameters for News Grid

[sp_news]

  • Design
    [sp_news design="design-1"]
    Select design for News. Designs are design-1 to design-50.
  • Grid / Column
    [sp_news grid="1"]
    Display News in a column/grid on your website. Values are 1,2,3 and 4.
  • Limit
    [sp_news limit="15"]
    Display number of posts. You can see all post by limit=”-1″.
  • Link Target
    [sp_news link_target="self"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab) .
  • Media Size
    [sp_news media_size="large"]
    Select image size for Display. Option are “full, large, medium OR thumbnail”.
  • Image Fit
    [sp_news image_fit="true"]
    Set image fit to box. By default value is “true”. Option are “true OR false”.
  • Image Height
    [sp_news image_height="400"]
    Control featured post image height. Enter numeric value.
  • Show Date
    [sp_news show_date="true"]
    Display News date OR not. By default value is “true”. Options are “true OR false”.
  • Show Author
    [sp_news show_author="true"]
    Display News author OR not. By default value is “true”. Options are “true OR false”.
  • Show Content
    [sp_news show_content="true"]
    Display News Post Short content OR not. By default value is “true”. Options are “true OR false”.
  • Show Full Content
    [sp_news show_full_content="false"]
    Display Full News content on main page if you do not want word limit. By default value is “false”.
  • Content Words Limit
    [sp_news content_words_limit="20"]
    Control News post short content words limit. By default limit is 20 words.
  • For Continue Reading
    [sp_news content_tail="..."]
    Display dots after the news content for continue reading.
  • Show Read More
    [sp_news show_read_more="true"]
    Show/Hide read more links. By default value is “true”. Values are “true” and “false”.
  • Read More Text
    [sp_news read_more_text=""]
    Change ‘Read More’ button text to your desired text.
  • Display Posts
    [sp_news posts="40,50,60"]
    Display specific News Posts. You can pass multiple post ids by comma separated.
  • Category
    [sp_news category="40,50,60"]
    Display News post categories wise. You can enter multiple category id with comma separated.
  • Category Name
    [sp_news category_name="Sports"]
    Display News category name.
  • Show Category Name
    [sp_news show_category_name="true"]
    Display News Post category name OR not. By default value is “true”. Options are “true OR false”.
  • Display Child Category
    [sp_news include_cat_child="true"]
    Display child category. Values are “true” and “false”.
  • Exclude Post
    [sp_news exclude_post="40,50,60"]
    Exclude some News post which you do not want to display. You can pass multiple ids by comma separated.
  • Exclude Category
    [sp_news exclude_cat="40,50,60"]
    Exclude News category which you do not want to display. You can pass multiple category ids by comma separated.
  • Include Author:
    [sp_news include_author="6,5,8"]
    Include some news author which you want to display. You can pass multiple ids by comma separated.
  • Exclude Author:
    [sp_news exclude_author="6,5,8"]
    Exclude some news author which you do not want to display. You can pass multiple ids by comma separated.
  • Order
    [sp_news order="DESC"]
    Set News post order. Values are “ASC” OR “DESC”.
  • Orderby
    [sp_news orderby="date"]
    Display news post in your order. Values are “date” (News Published Date), “modified” (News updated date), “title”, “name” (Post Slug, “ID”, “rand” (Random), “menu_order” (Sort Order), “comment_count”.
  • Pagination
    [sp_news pagination="true"]
    Show/Hide pagination links. By default value is “true”. Values are “true” and “false”.
  • Pagination Type
    [sp_news pagination_type="numeric"]
    Pagination type works when pagination set to true.Two types can be used for pagination “Numeric” and “Previous-next”.
  • Query Offset
    [sp_news query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with limit=-1.
  • Extra Class
    [sp_news extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Parameters for News Grid-Box

[wpnw_gridbox]

  • Design
    [wpnw_gridbox design="design-1"]
    Select design for News. Designs are design-1 to design-13.
  • Limit
    [wpnw_gridbox limit="6"]
    Display latest 6 post of news gridbox. Display all gridbox post to set limit=”-1″.
  • Link Target
    [wpnw_gridbox link_target="self"]
    Open link in same window OR in new tab .Values are “self ” OR “Blank”.
  • Image fit
    [wpnw_gridbox image_fit="false"]
    Show image in box size. Values are “true” and “false”
  • Image Height
    [wpnw_gridbox image_height="400"]
    Control news post image height. Enter numeric value.
  • Show Date
    [wpnw_gridbox show_date="true"]
    Display News date OR not. By default value is “true”. Options are “true OR false”.
  • Show Author
    [wpnw_gridbox show_author="true"]
    Display News author OR not. By default value is “true”. Options are “true OR false”.
  • Show Content
    [wpnw_gridbox show_content="true"]
    Display News Post Short content OR not. By default value is “true”. Options are “true OR false”.
  • Content Words Limit
    [wpnw_gridbox content_words_limit="20"]
    Control News post short content words limit. By default limit is 20 words.
  • Continue Reading
    [wpnw_gridbox content_tail="..."]
    Display dots after the news content for continue reading.
  • Show Read More
    [wpnw_gridbox show_read_more="true"]
    Show/Hide read more links. By default value is “true”. Values are “true” and “false”.
  • Change Read More Text
    [wpnw_gridbox read_more_text="View More"]
    Change ‘Read More’ button text to your desired text.
  • Display Posts
    [wpnw_gridbox posts="40,50,60"]
    Display specific News Posts.You can pass multiple post ids by comma separated.
  • Category
    [wpnw_gridbox category="40,50,60"]
    Display News post categories wise. You can enter multiple category id with comma separated.
  • Category Name
    [wpnw_gridbox category_name="Sports"]
    Display News category name.
  • Show Category Name
    [wpnw_gridbox show_category_name="true"]
    Display News Post category name OR not. By default value is “true”. Options are “true OR false”.
  • Display Child Category
    [wpnw_gridbox include_cat_child="true"]
    Display child category. Values are “true” and “false”.
  • Exclude Post
    [wpnw_gridbox exclude_post="40,50,60"]
    Exclude some News post which you do not want to display. You can pass multiple ids by comma separated.
  • Exclude Category
    [wpnw_gridbox exclude_cat="40,50,60"]
    Exclude category which you do not want to display. You can pass multiple category ids by comma separated.
  • Include Author:
    [wpnw_gridbox include_author="6,5,8"]
    Include some news author which you want to display. You can pass multiple ids by comma separated.
  • Exclude Author:
    [wpnw_gridbox exclude_author="6,5,8"]
    Exclude some news author which you do not want to display. You can pass multiple ids by comma separated.
  • Order
    [wpnw_gridbox order="DESC"]
    Set News post order. Values are “ASC” OR “DESC”.
  • Orderby
    [wpnw_gridbox orderby="date"]
    Set orderby for news. You can set “date” (News Published Date), “Modified” (News updated date), “Title” (News title), “Rand” (Random), “Menu_order” (Sort Order), “ID” (News Post ID).
  • Pagination
    [wpnw_gridbox pagination="true"]
    Show/Hide pagination links. By default value is “true”. Values are “true” and “false”.
  • Pagination Type
    [wpnw_gridbox pagination_type="numeric"]
    Pagination type works when pagination set to true.Two types can be used for pagination “Numeric” and “Previous-next”.
  • Query Offset
    [wpnw_gridbox query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with limit=-1.
  • Extra Class:
    [wpnw_gridbox extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Parameters for News Grid-Box Slider

[wpnw_gridbox_slider]

  • Design
    [wpnw_gridbox_slider design="design-1"]
    Select design for News. Designs are design-1 to design-8.
  • Limit
    [wpnw_gridbox_slider limit="15"]
    Display latest 15 News post and then pagination. Display all post to set limit=”-1″.
  • Link Target
    [wpnw_gridbox_slider link_target="blank"]
    Open link in same window OR in new tab .Values are “self ” (same window) OR “Blank” (new tab).
  • Image fit
    [wpnw_gridbox_slider image_fit="true"]
    Show image in box size. Values are “true” and “false”.
  • Image Height
    [wpnw_gridbox_slider image_height="400"]
    You can set News post images height.
  • Show Date
    [wpnw_gridbox_slider show_date="true"]
    Display News date OR not. By default value is “true”. Options are “true OR false”.
  • Show Author
    [wpnw_gridbox_slider show_author="true"]
    Display News author OR not. By default value is “true”. Options are “true OR false”.
  • Show Content
    [wpnw_gridbox_slider show_content="true"]
    Display News post short content OR not. By default value is “true”. Options are “true OR false”.
  • Content Words Limit
    [wpnw_gridbox_slider content_words_limit="20"]
    Control news post short content Words limit. By default limit is 20 words.
  • Continue Reading
    [wpnw_gridbox_slider content_tail="..."]
    Display dots after the news content for continue reading.
  • Show Read More
    [wpnw_gridbox_slider show_read_more="true"] Show/Hide read more links. By default value is “true”. Values are “true” and “false”.
  • Change Read More Text
    [wpnw_gridbox_slider read_more_text="View More"]
    Change ‘Read More’ button text to your desired text.
  • Dots
    [wpnw_gridbox_slider dots="true"]
    Display slider navigation dots. Values are “true” and “false”.
  • Arrows
    [wpnw_gridbox_slider arrows="true"]
    Display slider navigation arrows.Values are “true” and “false”.
  • Autoplay
    [wpnw_gridbox_slider autoplay="true"]
    Enable slider autoplay. Values are “true” and “false”.
  • Autoplay Interval
    [wpnw_gridbox_slider autoplay_interval="2000"]
    Set slider slide interval time.
  • Speed
    [wpnw_gridbox_slider speed="300"]
    Set slider speed .
  • Loop
    [wpnw_gridbox_slider loop="false"]
    Enable continuous sliding. Values are “true” OR “false”.
  • Hover Pause
    [wpnw_gridbox_slider hover_pause="true"]
    Pause slider autoplay on hover. By default value is “true”. Options are “true” OR “false”.
  • Focus Pause
    [wpnw_gridbox_slider focus_pause="false"]
    Pause slider autoplay when slider element is focused. By default value is “false”. Options are “true” OR “false”.
  • Display Posts
    [wpnw_gridbox_slider posts="40,50,60"]
    Display specific News posts. You can pass multiple post ids by comma separated.
  • Category
    [wpnw_gridbox_slider category="40,50,60"]
    Display News post categories wise. You can enter multiple category id with comma separated.
  • Category Name
    [wpnw_gridbox_slider category_name="Sports"]
    Display news category name.
  • Show Category Name
    [wpnw_gridbox_slider show_category_name="true"]
    Display News post category name OR not. By default value is “true”. Options are “true OR false”.
  • Display Child Category
    [wpnw_gridbox_slider include_cat_child="true"]
    Display child category.Values are “true” and “false”.
  • Exclude Post
    [wpnw_gridbox_slider exclude_post="40,50,60"]
    Exclude some News Post which you do not want to display. You can pass multiple ids by comma separated.
  • Exclude Category
    [wpnw_gridbox_slider exclude_cat="40,50,60"]
    Exclude category which you don’t want to display. You can pass multiple category ids by comma separated.
  • Include Author:
    [wpnw_gridbox_slider include_author="6,5,8"]
    Include some news author which you want to display. You can pass multiple ids by comma separated.
  • Exclude Author:
    [wpnw_gridbox_slider exclude_author="6,5,8"]
    Exclude some news author which you do not want to display. You can pass multiple ids by comma separated.
  • Order
    [wpnw_gridbox_slider order="DESC"]
    Set news post order. Values are “ASC” OR “DESC”.
  • Orderby
    [wpnw_gridbox_slider orderby="date"]
    Set orderby for news. You can set “date” (News Published Date), “modified” (News Updated Date), “title” (News Title), “rand” (Random), “menu_order” (Sort Order), “ID” (News Post ID).
  • Query Offset
    [wpnw_gridbox_slider query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with limit=-1.
  • Extra Class
    [wpnw_gridbox_slider extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Parameters for News Slider

[sp_news_slider]

  • Limit
    [sp_news_slider limit="15"]
    Display latest 15 News post and then pagination. Display all news post to set limit=”-1″.
  • Design
    [sp_news_slider design="design-1"]
    Select design for News. Designs are design-1 to design-45.
  • Link Target
    [sp_news_slider link_target="self"]
    Open link in same window OR in new tab . Values are “self ” OR “Blank”.
  • Image Size
    [sp_news_slider media_size="large"]
    Set image size for display. Values are “full, large, medium OR thumbnail”.
  • Image Fit
    [sp_news_slider image_fit="true"]
    Set image fit to box. By default value is “true”. Options are “true OR false”.
  • Image Height
    [sp_news_slider image_height="400"]
    You can set News post images height.
  • Show Date
    [sp_news_slider show_date="true"]
    Display News date OR not. By default value is “True”. Options are “true OR false”.
  • Show Author
    [sp_news_slider show_author="true"]
    Display News author OR not. By default value is “true”. Options are “true OR false”.
  • Show Content
    [sp_news_slider show_content="true"]
    Display News post short content OR not. By default value is “true”. Options are “true OR false”.
  • Content Words Limit
    [sp_news_slider content_words_limit="20"]
    Control news post short content Words limit. By default limit is 20 words.
  • For Continue Reading
    [sp_news_slider content_tail="..."]
    Display dots after the news content for continue reading.
  • Show Read More
    [sp_news_slider show_read_more="true"]
    Show/Hide read more links. By default value is “true”. Values are “true” and “false”.
  • Change Read More Text
    [sp_news_slider read_more_text="View More"]
    Change ‘Read More’ button text to your desired text.
  • Slides Column
    [sp_news_slider slides_column="3"]
    Display number of News post at a time in slider.
    Note: This will not work with Design=”1″ to Design=”5″.
  • Slides Scroll
    [sp_news_slider slides_scroll="1"]
    Scroll number of news post at a time.
  • Dots
    [sp_news_slider dots="true"]
    Display slider navigation dots. Values are “true” and “false”.
  • Arrows
    [sp_news_slider arrows="true"]
    Display slider navigation arrows.Values are “true” and “false”.
  • Autoplay
    [sp_news_slider autoplay="true"]
    Enable slider autoplay. Values are “true” and “false”.
  • Autoplay Interval
    [sp_news_slider autoplay_interval="2000"]
    Set slider slide interval time.
  • Speed
    [sp_news_slider speed="2000"]
    Set slider speed .
  • Loop
    [sp_news_slider loop="true"]
    Enable continuous sliding. Values are “true” OR “false”.
  • Centermode
    [sp_news_slider centermode="false"]
    Center mode effect for slider. Values are “true” or “false”. Default value is false.
  • Hover Pause
    [sp_news_slider hover_pause="true"]
    Pause slider autoplay on hover. By default value is “true”. Options are “true” OR “false”.
  • Focus Pause
    [sp_news_slider focus_pause="false"]
    Pause slider autoplay when slider element is focused. By default value is “false”. Options are “true” OR “false”.
  • Display Posts
    [sp_news_slider posts="40,50,60"]
    Display specific News posts.You can pass multiple post ids by comma separated.
  • Category
    [sp_news_slider category="40,50,60"]
    Display News post categories wise. You can enter multiple category id with comma separated.
  • Category Name
    [sp_news_slider category_name="Sports"]
    Display news category name.
  • Show Category Name
    [sp_news_slider show_category_name="true"]
    Display News post category name OR not. By default value is “true”. Options are “true OR false”.
  • Display Child Category
    [sp_news_slider include_cat_child="true"]
    Display child category or not. Values are “true” and “false”.
  • Exclude Post
    [sp_news_slider exclude_post="40,50,60"]
    Exclude some News Post which you do not want to display. You can pass multiple ids by comma separated.
  • Exclude Category
    [sp_news_slider exclude_cat="40,50,60"]
    Don’t show post of only specific category. You can pass multiple category ids by comma separated.
  • Include Author:
    [sp_news_slider include_author="6,5,8"]
    Include some news author which you want to display. You can pass multiple ids by comma separated.
  • Exclude Author:
    [sp_news_slider exclude_author="6,5,8"]
    Exclude some news author which you do not want to display. You can pass multiple ids by comma separated.
  • Order
    [sp_news_slider order="DESC"]
    Set news post order. Values are “ASC” OR “DESC”.
  • Orderby
    [sp_news_slider orderby="date"]
    Set orderby for news. You can set “date” (News Published Date), “modified” (News Updated Date), “title” (News Title), “rand” (Random), “menu_order” (Sort Order), “ID” (News Post ID).
  • Query Offset
    [sp_news_slider query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with limit=-1.
  • Extra Class
    [sp_news_slider extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Parameters for News List

[wpnw_news_list]

  • Design
    [wpnw_news_list design="design-1"]
    Select design for News. Designs are design-1 to design-8.
  • Limit
    [wpnw_news_list limit="15"]
    Display latest 15 news of posts then pagination. Display all post to set limit=”-1″.
  • Link Target
    [wpnw_news_list link_target="self"]
    Open link in same window OR in new tab .Values are “self ” OR “Blank”.
  • Media Size
    [wpnw_news_list media_size="large"]
    Select image size for display. Size are “full”, “medium”, “large” or “thumbnail”.
  • Image Height
    [wpnw_news_list image_height="400"]
    Control featured post image height. Enter numeric value.
  • Image fit
    [wpnw_news_list image_fit="true"]
    Show image in box size. Values are “true” and “false”.
  • Show Date
    [wpnw_news_list show_date="true"]
    Display news date OR not. By default value is “true”. Options are “true OR false”.
  • Show Author
    [wpnw_news_list show_author="true"]
    Display News author OR not. By default value is “true”. Options are “true OR false”.
  • Show Content
    [wpnw_news_list show_content="true"]
    Display News Post Short content OR not. By default value is “true”. Options are “true OR false”.
  • Show Full Content
    [wpnw_news_list show_full_content="false"]
    Display News Post Short content OR not. By default value is “false”. Options are “true OR false”.
  • Content Words Limit
    [wpnw_news_list content_words_limit="20"]
    Control News post short content words limit. By default limit is 20 words.
  • Continue Reading
    [wpnw_news_list content_tail="..."]
    Display dots aft8er the news content for continue reading.
  • Show Read More
    [wpnw_news_list show_read_more="true"]
    Show/Hide read more links. By default value is “true”. Values are “true” and “false”.
  • Read More Text
    [wpnw_news_list read_more_text=""]
    Change ‘Read More’ button text to your desired text.
  • Display Posts
    [wpnw_news_list posts="40,50,60"]
    Display specific News Posts. You can pass multiple post ids by comma separated.
  • Category
    [wpnw_news_list category="40,50,60"]
    Display News post categories wise. You can enter multiple category id with comma separated.
  • Category Name
    [wpnw_news_list category_name="Sports"]
    Display News category name.
  • Show Category Name
    [wpnw_news_list show_category_name="true"]
    Display News Post category name OR not. By default value is “true”. Options are “true OR false”.
  • Display Child Category
    [wpnw_news_list include_cat_child="true"]
    Display child category.Values are “true” and “false”.
  • Exclude Post
    [wpnw_news_list exclude_post="40,50,60"]
    Exclude some News post which you do not want to display. You can pass multiple ids by comma separated.
  • Exclude Category
    [wpnw_news_list exclude_cat="40,50,60"]
    Exclude category which you don’t want to display. You can pass multiple category ids by comma separated.
  • Include Author:
    [wpnw_news_list include_author="6,5,8"]
    Include some news author which you want to display. You can pass multiple ids by comma separated.
  • Exclude Author:
    [wpnw_news_list exclude_author="6,5,8"]
    Exclude some news author which you do not want to display. You can pass multiple ids by comma separated.
  • Order
    [wpnw_news_list order="DESC"]
    Set News post order. Values are “ASC” OR “DESC”.
  • Orderby
    [wpnw_news_list orderby="date"]
    Set orderby for news. You can set “date” (News Published Date), “Modified” (News updated date), “Title” (News title), “Rand” (Random), “Menu_order” (Sort Order), “ID” (News Post ID).
  • Pagination
    [wpnw_news_list pagination="true"]
    Show/Hide pagination links. By default value is “true”. Values are “true” and “false”.
  • Pagination Type
    [wpnw_news_list pagination_type="numeric"]
    Pagination type works when pagination set to true. Two types can be used for pagination “numeric” and “Previous-next”.
  • Query Offset
    [wpnw_news_list query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with limit=-1.
  • Extra Class
    [wpnw_news_list extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Parameters for News Ticker

[wpnw_news_ticker]

  • Limit
    [wpnw_news_ticker limit="20"]
    Display latest 20 News post in ticker. Display all post to set limit=”-1″.
  • Link Target
    [wpnw_news_ticker link_target="self"]
    Open Link in same window OR in New tab . Values are “self ” OR “Blank”.
  • Ticker Title
    [wpnw_news_ticker ticker_title="Latest News"]
    Set your desire ticker title.
  • Theme Color
    [wpnw_news_ticker theme_color="#2096cd"]
    Set your desire theme color.
  • Heading Font Color
    [wpnw_news_ticker heading_font_color="#fff"]
    Set Heading font color.
  • Font Color
    [wpnw_news_ticker font_color="#2096cd"]
    Set ticker font color.
  • Font Style
    [wpnw_news_ticker font_style="normal"]
    Set ticker font style.
  • Ticker Effect
    [wpnw_news_ticker ticker_effect="fade"]
    Set ticker effect by this parameter. Option are “fade, typography, scroll, slide-down, slide-up, slide-right, OR slide-left”.
  • Autoplay
    [wpnw_news_ticker autoplay="true"]
    Enable slider autoplay. Values are “true” and “false”.
  • Speed
    [wpnw_news_ticker speed="3000"]
    Set slider Speed.
  • Display Posts
    [wpnw_news_ticker posts="40,50,60"]
    Display specific News posts.You can pass multiple post ids by comma separated.
  • Category
    [wpnw_news_ticker category="40,50,60"]
    Display News post categories wise. You can enter multiple category id with comma separated.
  • Display Child Category
    [wpnw_news_ticker include_cat_child="true"]
    Display Child category. Values are “true” and “false”.
  • Exclude Post
    [wpnw_news_ticker exclude_post="40,50,60"]
    Exclude some news ticker which you do not want to display.
  • Exclude Category
    [wpnw_news_ticker exclude_cat="40,50,60"]
    Exclude category which you don’t want to display. You can pass multiple category ids by comma separated.
  • Include Author:
    [wpnw_news_ticker include_author="6,5,8"]
    Include some news author which you want to display. You can pass multiple ids by comma separated.
  • Exclude Author:
    [wpnw_news_ticker exclude_author="6,5,8"]
    Exclude some news author which you do not want to display. You can pass multiple ids by comma separated.
  • Order
    [wpnw_news_ticker order="DESC"]
    Set News Post Order. Values are “ASC” OR “DESC”.
  • Orderby
    [wpnw_news_ticker orderby="date"]
    Set orderby for news tickers. You can set “date” (News Published Date), “modified” (News updated date), “title” (News Title), “rand” (Random), “menu_order” (Sort Order), “ID” (News Post ID).
  • Query Offset
    [wpnw_news_ticker query_offset="5"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with limit=-1.
  • Pause Button
    [wpnw_news_ticker scroll_speed="1"]
    Enter scroll speed for scroll effect. Enter numeric value.
    Note: This will work with ticker effect scroll.
  • Pause Button
    [wpnw_news_ticker pause_button="true"]
    Enable/disable pause button in slider. Values are “true” OR “false”.
  • Arrow Button
    [wpnw_news_ticker arrow_button="true"]
    Enable/disable arrow button in slider. Values are “true” OR “false”.
  • Icon BG Color
    [wpnw_news_ticker icon_bg_color="#f6f6f6"]
    Set icon button background color.
  • Icon Color
    [wpnw_news_ticker icon_color="#999999"]
    Set icon button icon color.
  • Icon Hover BG Color
    [wpnw_news_ticker icon_hover_bg_color="#eeeeee"]
    Set icon button hover background color.
  • Icon Hover Color
    [wpnw_news_ticker icon_hover_color="#999999"]
    Set icon button hover icon color.
  • Extra Class
    [wpnw_news_ticker extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Parameters for News Masonry

[sp_news_masonry]

  • Limit
    [sp_news_masonry limit="10"]
    Display number of posts. You can see all post by limit=”-1″..
  • Design
    [sp_news_masonry design="design-1"]
    Select the designs for news post. There are 50 designs. Designs are design-1 to design-50.
  • Post Load Effects
    [sp_news_masonry effect="effect-1"]
    News post load with effects.  We have 7 effects.
  • Grid
    [sp_news_masonry grid="2"]
    Display News in a grid on your website.
  • Media Size
    [sp_news_masonry media_size="true"]
    Set image size for display. Values are “full. large, medium OR thumbnail”
  • Image Fit
    [sp_news_masonry image_fit="true"]
    Set image fit
  • Image Height
    [sp_news_masonry image_height=""]
    Set image Height
  • Link Target
    [sp_news_masonry link_target="self"]
    Open Link in same window OR in New tab . Values are “self ” OR “Blank”.
  • Show Date
    [sp_news_masonry show_date="false"]
    Display News date OR not. By default value is “true”. Options are “true OR false”.
  • Show Author
    [sp_news_masonry show_author="true"]
    Display Show Author. Values are “true” and “false”.
  • Show Content
    [sp_news_masonry show_content="true"]
    Display News post Short content OR not. By default value is “true”. Options are “true” OR “false”.
  • Content Words Limit
    [sp_news_masonry content_words_limit="20"]
    Control News post short content Words limit. By default limit is 20 words.
  • Show Full Content
    [sp_news_masonry show_full_content="false"]
    Display Show Full Content.Values are “true” and “false”.
  • Content Tail
    [sp_news_masonry content_tail="..."]
    Display three dots after short content for continue reading.
  • Show Read More
    [sp_news_masonry show_read_more="false"]
    Show/Hide read more links. By default value is “true”. Values are “true” and “false”.
  • Read More Text
    [sp_news_masonry read_more_text="true"]
    Change ‘Read More’ button text to your desired text.
  • Pagination
    [sp_news_masonry pagination="false"]
    Show/Hide pagination links. By default value is “false”. Values are “true” and “false”.
  • Pagination Type
    [sp_news_masonry pagination_type="numeric"]
    Pagination type works when pagination set to true. Three types can be used for pagination “numeric”, “prev-next” and “loadmore”.
  • Load More Text
    [sp_news_masonry load_more_text="Load More Post"]
    Display load more button text. You can set desires text.
  • Taxonomy
    [sp_news_masonry taxonomy=""]
    You can display posts custom taxonomy wise.
  • Category
    [sp_news_masonry category="40,50,60"]
    Display News post categories wise. You can enter multiple category id with comma separated.
  • Category Name
    [sp_news_masonry show_category_name="true"]
    Display News post category name OR not. By default value is “true”. Options are “true” OR “false”.
  • Display Child Category
    [sp_news_masonry include_cat_child="true"]
    Display child category. Values are “true” and “false”.
  • Exclude Category
    [sp_news_masonry exclude_cat="40,50,60"]
    Exclude category which you do not want to display. You can pass multiple category ids by comma separated.
  • Posts
    [sp_news_masonry posts="1,5,6"]
    Display only specific News posts with Post ID. You can pass multiple ids by comma separated.
  • Exclude Post
    [sp_news_masonry exclude_post="1,5,6"]
    Exclude some news post with Post ID which you do not want to display. You can pass multiple ids by comma separated
  • Include Author
    [sp_news_masonry include_author="6,5,8"]
    Include some news author which you want to display. You can pass multiple ids by comma separated.
  • Exclude Author
    [sp_news_masonry exclude_author="6,5,8"]
    Exclude some news author which you do not want to display. You can pass multiple ids by comma separated.
  • Order
    [sp_news_masonry order="DESC"]
    Controls News post order. Values are “ASC” OR “DESC”.
  • Orderby
    [sp_news_masonry orderby="post_date"]
    Display news post in your order. Values are “date” (News Published Date), “modified” (News updated date), “title”, “name” (Post Slug, “ID”, “rand” (Random), “menu_order” (Sort Order), “comment_count”.
  • Query Offset
    [sp_news_masonry query_offset="true"]
    This will hide first five post. E.g I have set offset 5 then it will skip first five post.
    Note: This will not work with pagination and limit=”-1″ parameter.
  • Extra Class
    [sp_news_masonry extra_class=""]
    Enter extra class.
    Note: Extra class added as parent so using extra class you customize your design.

Template Structure + Overriding Templates via a Theme

The template files of wp news and scrolling widget contain the markup and template structure for the front-end of your site. If you open these files you’ll notice they all contain many hooks which will allow you to add / move content without having to edit the template files themselves. This method protects even further against any upgrade issues as the template files can be left completely untouched.

Alternatively, you can edit these files in an upgrade safe way through overrides. Simply copy it into a directory within your theme named /wp-news-and-widget-pro, keeping the same file structure.

Example To override the wp news and scrolling widget design file simply copy file from /wp-news-and-widget-pro/templates/grid/design-1.php to yourtheme/wp-news-and-widget-pro/grid/design-1.php

The copied file will now override the wp news and scrolling widget default template file. Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.

The following template files can be found within the /wp-news-and-widget-pro/templates/directory:

  • Click Here To See Template Hierarchy
      grid
    • design-1.php to design-50.php
    • loop-start.php
    • loop-end.php
      grid-box
    • design-1.php to design-13.php
    • loop-start.php
    • loop-end.php
      grid-box-slider
    • design-1.php to design-8.php
    • loop-start.php
    • loop-end.php
      list
    • design-1.php to design-8.php
    • loop-start.php
    • loop-end.php
      masonry
    • loop-start.php
    • loop-end.php
      slider
    • design-1.php to design-45.php
    • loop-start.php
    • loop-end.php
      ticker
    • content.php
    • loop-start.php
    • loop-end.php
      widgets
          news-list
        • content.php
        • loop-start.php
        • loop-end.php
          news-list-slider
        • content.php
        • loop-start.php
        • loop-end.php
          news-list-slider-2
        • content.php
        • loop-start.php
        • loop-end.php
          news-scrolling
        • content.php
        • loop-start.php
        • loop-end.php
          news-slider
        • content.php
        • loop-start.php
        • loop-end.php

News with Custom Order

You can display News in custom order with Drag & Drop interface. Click on ‘Sort News’ link on News listing page, Drag News row and click the ‘Save Sort Order’ button to save.

Note: Put orderby='menu_order' order="ASC" parameter in News shortcode for custom ordering.

Frequently Asked Questions

Q: How can I change news post type slug?
A: You need to add below code in your theme’s functions.php file.
Note: After adding below code please update your site permalink structure from admin panel Settings >> Permalinks
Q: How can I change news post type category
slug? A: You need to add below code in your theme’s functions.php file.
Note: After adding below code please update your site permalink structure from admin panel Settings >> Permalinks
Q: How to add Gutenberg editor register custom post type?
A: You need to add below code in your theme’s functions.php file.
/* custom post type add new post Gutenberg editor */
function wpnw_pro_gutenberg_editor_support($news_args){ $news_args[‘show_in_rest’] = true; return $news_args; } /* register post type filter */ add_filter( ‘wpnw_pro_register_post_type_news’, ‘wpnw_pro_gutenberg_editor_support’ ); /* category support add new post Gutenberg editor */ function wpnw_pro_gutenberg_cat_support($cat_args){ $cat_args[‘show_in_rest’] = true; return $cat_args; } /* support category filter */ add_filter( ‘wpnw_pro_register_category_news’, ‘wpnw_pro_gutenberg_cat_support’ );
  1. Plugin Installation
  2. How to Activate License Key and Update
  3. Plugin not Updating – Getting an Error Unauthorized