Linux 软件免费装
Banner图

WPYog News

开发者 wpyog
更新时间 2026年8月2日 02:23
PHP版本: 7.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

news news ticker news widget news grid news list

下载

1.4.2 1.0.6 1.1.1 1.1.4 1.1.5 1.0.5

详情介绍:

WPYog News is a modern WordPress news and announcement plugin designed to help businesses, schools, organizations, startups, agencies, and publishers create clean and professional news sections directly inside WordPress. Built from real-world business workflows, the plugin provides a lightweight and flexible way to manage company updates, announcements, featured articles, press releases, and curated external news without relying on bloated magazine themes or complicated page-builder setups. Whether you are publishing company announcements, school notices, cybersecurity updates, healthcare news, product launches, industry articles, curated external news, or digital transformation insights — WPYog News helps you create organized and engaging news sections that are simple to manage and beautiful to browse. Live Demo View Live Demo Key Features Modern News Layouts List Layout — Perfect for company updates, announcements, editorial/news websites, blogs, and industry news feeds. Card Layout — Ideal for featured news sections, homepage highlights, magazine-style displays, and modern content showcases. Carousel Layout — A sliding row of news cards with autoplay, arrows, dot navigation, and a true infinite loop (the last slide slides out and the first slides back in from the right — no reverse jump). Great for homepage highlights, sidebars, and any spot where a full grid would take up too much room. Mix WPYog News with Posts, Products, or any custom post type, or pull in a curated Collection — all in the same sliding carousel. [wpyog_news layout="carousel" slides_to_show="3" autoplay="true" autoplay_speed="4000" infinite="true" arrows="true" dots="true" transition="slide"] [wpyog_news layout="carousel" post_type="post,wpyog_document,wpyog_news" collection="homepage-picks" slides_to_show="3"] News Ticker Display scrolling news headlines at the top of any page with the [wpyog_ticker] shortcode. Three animation styles are included: The ticker supports a custom label chip with configurable background colour and text colour, pause-on-hover, a post counter badge (e.g. 3 / 10), date display, category filtering, and full accessibility support including prefers-reduced-motion. [wpyog_ticker animation="scroll" label="Breaking News" speed="medium" limit="10"] [wpyog_ticker animation="flap" show_count="true" show_date="true" label="Top News" label_bg="#1a1a2e"] Smart Shortcode Generator Generate custom shortcodes directly from the admin panel without coding. The Shortcode Generator has two tabs — one for News List/Card and one for the News Ticker — with a live preview that updates as you change settings. [wpyog_news layout="card" columns="3" limit="9"] External News & Source Attribution WPYog News supports curated external news workflows with external article URLs, source name display, source website links, favicon/logo support, and proper source attribution. Perfect for curated industry news, cybersecurity updates, compliance news, digital transformation articles, and technology feeds. [wpyog_news] — Shortcode Attributes layout — Display style. Options: list or card. Default: list limit — Number of news items to display. Default: 10 category — Filter by category ID. Use comma-separated IDs for multiple categories. Default: all categories show_date — Show or hide the publication date. Options: true or false. Default: true show_excerpt — Show or hide the excerpt. Options: true or false. Default: true excerpt_length — Excerpt length in words. Default: 20 show_source — Show or hide source attribution. Options: true or false. Default: true order — Sort direction. Options: DESC (newest first) or ASC (oldest first). Default: DESC orderby — Sort field. Options: date, title, or rand. Default: date columns — Grid columns (card layout only). Options: 2, 3, or 4. Default: 3 pagination_type — Pagination style (list layout only). Options: numeric or prev-next. Default: numeric extra_class — Add a custom CSS class to the wrapper. Default: none post_type — Mix WPYog News with other post types in the same layout. Comma-separated CPT slugs, e.g. post_type="wpyog_news,post,product". Only shared fields (title, excerpt, featured image, date) are used for mixed items — anything WPYog-News-specific (External URL, Source Details) is simply skipped for items that don't have it. Default: wpyog_news taxonomy — Taxonomy the category attribute filters against. Default: wpyog_news_cat. Only change this if the other post types you're mixing in share a different taxonomy (e.g. category) — WPYog News's own category taxonomy only applies to wpyog_news items. show_type — Show a small badge with each item's post type label (e.g. "News", "Post") — handy for telling sources apart when mixing post types. Options: true or false. Default: false ids — Hand-pick exact posts to display, across any mix of post types — no shared category needed. Comma-separated post IDs, e.g. ids="12,45,78". Overrides limit, category, and pagination; posts appear in the order listed unless orderby is set to something else. Find a post's ID from the URL when editing it (post.php?post=123). collection — Show a repeatable curated group of posts spanning any mix of post types, without editing the shortcode as the group grows. Tick the checkbox for a "Collection" on any post from its normal edit screen (or click "+ Add New Collection" to create one — no shortcode needed), then pull them all in with collection="homepage-picks" (comma-separated slugs for more than one). Combines with category (both must match) but is ignored when ids is set. [wpyog_ticker] — Shortcode Attributes animation — Animation style. Options: scroll, fade, or flap. Default: scroll speed — Animation speed. Options: slow, medium, fast, or any integer (px/s). Default: medium limit — Number of news items to show. Default: 10 category — Filter by category ID, comma-separated. Default: all categories order — Sort direction: DESC or ASC. Default: DESC orderby — Sort field: date, title, or rand. Default: date show_label — Show or hide the label chip. Options: true or false. Default: true label — Label text. Default: Breaking News label_bg — Label background colour (hex). Default: #e74c3c label_color — Label text colour (hex). Default: #ffffff show_date — Show publication date next to each headline. Options: true or false. Default: true show_count — Show a post counter (e.g. 2 / 10). Options: true or false. Applies to fade and flap only. Default: false pause_on_hover — Pause ticker on mouse hover. Options: true or false. Default: true direction — Scroll direction (scroll mode only). Options: left or right. Default: left separator — Character between items (scroll mode only). Default: extra_class — Add a custom CSS class to the wrapper. Default: none Also registered as [wpyog_news_ticker] — both shortcode names work identically. Use Cases More Plugins from WPYog Built by Poppins Digital.

安装:

  1. Upload the wpyog-news folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to WPYog News → Add News to add your first news item.
  4. Use WPYog News → Shortcode Generator to build and copy your shortcode.
  5. Paste the shortcode into any page or post.

屏幕截图:

  • Front-end card layout with Load More button.
  • News Ticker — scroll animation with label chip and counter badge.
  • News item editor — External Link and Source Details metaboxes.
  • Shortcode Generator — News List tab with all options.
  • Shortcode Generator — mix WPYog News with any post type (Posts, Pages, Products, custom CPTs), pick a Collection, and see every shortcode attribute at a glance.
  • Getting Started — the 4-step setup guide, including building a repeatable curated Collection.
  • Carousel layout mixing WPYog News with other post types — type badges, arrows, and dot navigation.
  • Card layout combining a Collection with mixed post types (Posts, Documents, and WPYog News) in one grid.

升级注意事项:

1.4.2 Fixes the carousel's infinite loop so it always slides forward (the first slide enters from the right after the last one) instead of reversing back to slide 1. Recommended update for anyone using the carousel layout with infinite loop enabled. 1.4.1 Collections now use a checkbox-list (like Categories) instead of a type-to-search tag box — tick a box to add a post to a collection, or click "+ Add New Collection" to create one. Recommended update for anyone using Collections. 1.4.0 Adds Collections — a repeatable way to build a curated group of posts across any mix of post types by tagging them from their edit screen, then pulling them in with the new collection attribute. No shortcode edits needed as the collection grows. Recommended update for all users mixing post types. 1.3.0 Adds the post_type attribute to mix WPYog News with other post types (Posts, Products, custom CPTs) in one List, Card, or Carousel layout, plus a Post Types checklist in the Shortcode Generator and Gutenberg block. Recommended update for all users. 1.1.4 Improves the Flap ticker animation (push-up slide replacing experimental split-flap), fixes admin table header colour, and updates category pill padding. Recommended update for all 1.1.x users. 1.1.3 Adds label show/hide, post counter badge, [wpyog_news_ticker] alias, and a dedicated Ticker tab in the Shortcode Generator with live preview. Recommended update for all users. 1.1.2 Adds the News Ticker ([wpyog_ticker]) with scroll, fade, and flap animations, pause-on-hover, and full accessibility support. Recommended update for all users. 1.1.1 Adds full Elementor Theme Builder support and fixes a critical PHP error introduced in 1.0.7. Recommended update for all Elementor Pro users. 1.0.0 Initial release of WPYog News.

常见问题:

Does WPYog News support multiple layouts?

Yes. The plugin includes a List layout, a Card layout, and a News Ticker.

What is the News Ticker and how do I add it?

The News Ticker displays animated news headlines in a bar that you can place anywhere on your site using the [wpyog_ticker] shortcode. Three animation styles are available: scroll (continuous horizontal), fade (cross-fade), and flap (push-up slide). Use WPYog News → Shortcode Generator → News Ticker tab to configure it.

Can I display external news articles?

Yes. WPYog News supports external article URLs and source attribution.

Can I display source names and favicons?

Yes. You can display the source name, source URL, and source favicon/logo for curated news articles.

Does the plugin include a shortcode generator?

Yes. WPYog News includes a built-in shortcode generator with two tabs — one for News List/Card and one for the News Ticker — with a live preview.

Can I filter news by category?

Yes. News posts can be grouped and filtered using categories. Use the category attribute with the category ID: [wpyog_news category="5"]. Category IDs are shown in WPYog News → Categories.

Can I mix WPYog News with other post types (like Posts or WooCommerce Products) in one layout?

Yes. Add the post_type attribute with a comma-separated list of post type slugs, e.g. [wpyog_news post_type="wpyog_news,post,product" layout="carousel"]. Only the fields shared across all post types — title, excerpt, featured image, and date — are shown. External URL and Source Details still display for wpyog_news items but are simply skipped for other post types. The Shortcode Generator and Gutenberg block both include a Post Types checklist for this.

I want to mix content from different post types but only show a hand-picked selection, not everything in a category — how?

Two ways, depending on whether the selection is a one-off or something you'll keep adding to: For a one-off selection, use the ids attribute. It takes a comma-separated list of post IDs and works across any mix of post types since it doesn't rely on a shared taxonomy: [wpyog_news post_type="wpyog_news,post,product" ids="12,45,78"]. Posts show in the exact order you list the IDs. Find a post's ID from its edit-screen URL (post.php?post=123). For a selection you'll keep adding to over time, use a Collection instead — it's repeatable, so you never have to edit the shortcode again. Open any post (News, a Blog Post, a Product, any post type) and in its Collections box, tick the checkbox for the collection you want (or click "+ Add New Collection" to create one, e.g. "Homepage Picks"). Tick the same collection on posts from other post types too, then show them all with [wpyog_news post_type="wpyog_news,post,product" collection="homepage-picks"]. New posts checked into the collection later appear automatically — no shortcode edits. Both the Shortcode Generator and the Gutenberg block have fields for ids and collection.

Is the plugin mobile responsive?

Yes. All layouts are optimized for desktop, tablet, and mobile devices. The News Ticker automatically adjusts its label and font size on small screens.

Does WPYog News work with Elementor?

Yes. WPYog News includes full Elementor Theme Builder support — News posts appear as conditions in the Theme Builder so you can build custom single post templates. A native Gutenberg block is also included.

Is coding knowledge required?

No. The plugin is designed for easy management directly from the WordPress dashboard.

How do external links work?

When editing a news item, add a URL in the External Link field. The news title and Read More button will then link to that external URL (opens in a new tab) instead of the internal news page. External links also work in the News Ticker.

Does the card layout support pagination?

The card layout uses a Load More button via AJAX instead of traditional pagination.

Can I show a counter in the News Ticker?

Yes. Add show_count="true" to [wpyog_ticker] to display a "3 / 10" badge on the right side of the ticker. This works with fade and flap animation modes.

更新日志:

1.4.2 1.4.1 1.4.0 1.3.1 1.3.0 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0