Latest Content by Anything

描述

This plugin allows you to display any content (posts, products, or custom post types) by any taxonomy using a simple shortcode.

This works with ANY Custom Post Type, Standard Posts or Woo Products.

Shortcode Options

  • num_items: Number of items to display (default: 5).
  • post_type: Type of content to display (default: post).
  • taxonomy: Taxonomy to filter content by (optional).
  • term: Term within taxonomy to filter content by (optional).
  • thumbnail_size: Thumbnail size (default: thumbnail).
  • excerpt_length: Excerpt length in words (default: 100).
  • display_titles: Display titles (default: true).
  • layout: Layout (default: vertical).
  • hide_price : Hide or display price (true | false)

Example :

[latest_content_by_anything post_type="post" num_posts=5]

Complete Example :

[latest_content_by_anything 
    num_items="5" 
    post_type="post" 
    taxonomy="category" 
    term="news" 
    thumbnail_size="thumbnail" 
    excerpt_length="100" 
    display_titles="true" 
    layout="vertical" 
    hide_price="false"
]

Full Documentation

安裝

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the [latest_content_by_anything] shortcode to display the latest content.

常見問題

How do I use this plugin?

Simply use the [latest_content_by_anything] shortcode with appropriate options to display the latest content on your site.

Does this work in Elementor?

Whilst it does not have any specific Elementor functionality, the shortcode has been tested on Elementor & WP Bakery without any issues.

評價

2024年5月21日 1 reply
super easy and straightforward to use! the setup is quick and the interface is simple.. so anyone can use it, even for non tech-savvy… it works smoothly without any problems… highly recommended for its simplicity and efficiency. thank you author! 🙂
閱讀全部1個評價

貢獻者及開發者

“Latest Content by Anything” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Latest Content by Anything 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Initial release.

1.0.12

  • Fixed Error with Woo Categories.
  • Fixed Error with Woo Prices

1.0.13

  • Minor Bug Fixes
  • Improved availability to Docs