Este plugin non se actualizou en máis de 2 anos. É posible que xa non sexa compatible ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con novas versións de WordPress.

Latest Content by Anything

Descrición

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

Instalación

  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.

Preguntas frecuentes

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.

Comentarios

21 de Maio, 2024 1 resposta
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! 🙂
Ler a 1 opinión

Colaboradores e desenvolvedores

“Latest Content by Anything” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores

Traduce “Latest Content by Anything” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

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