| 开发者 | wpyog |
|---|---|
| 更新时间 | 2026年5月27日 18:42 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[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.
All Shortcode Attributes
| Attribute | Values | Default |
|------------------|--------------------------|-----------|
| layout | list \| card | list |
| limit | any integer | 10 |
| category | category ID(s), comma-sep| (all) |
| show_date | true \| false | true |
| show_excerpt | true \| false | true |
| excerpt_length | integer (words) | 20 |
| show_source | true \| false | true |
| order | DESC \| ASC | DESC |
| orderby | date \| title \| rand | date |
| columns | 2 \| 3 \| 4 | 3 |
| pagination | true \| false | true |
| pagination_type | numeric \| prev-next | numeric |
| extra_class | CSS class string | (none) |
Use Cases
wpyog-news folder to /wp-content/plugins/.Yes. The plugin supports a List layout and a Card layout.
Yes. WPYog News supports external article URLs and source attribution.
Yes. You can display the source name, source URL, and source favicon/logo for curated news articles.
Yes. WPYog News includes a built-in shortcode generator for easy layout customization without coding.
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.
Yes. All layouts are optimized for desktop, tablet, and mobile devices.
Yes. WPYog News works with Elementor and most modern WordPress themes. A native Gutenberg block is also included.
No. The plugin is designed for easy management directly from the WordPress dashboard.
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.
The card layout uses a Load More button via AJAX instead of traditional pagination.
.wpyog-single-wrap max-width set to 900px — content column no longer stretches edge-to-edge on wide screens.