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.

Отзывы

21.05.2024 1 ответ
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