Gestire le immagini su WordPress: Cleverthumb versione 2

Gestire le immagini su WordPress può essere impegnativo. Spesso si ha la necessità di avere a disposizione le immagini contenute nel testo dell’articolo o semplicemente quelle allegate al post. Ma cosa succede se facciamo uso di immagini esterne o se i nostri autori fanno il copia&incolla di testo da altre fonti contenenti immagini? CleverThumb è una funzione che in questi casi può esservi di aiuto!

cleverthumb2

Continua a leggere

CleverThumb: una funzione WordPress per gestire le immagini

Spesso capita di dover personalizzare il proprio blog inserendo viste di articoli come gli articoli più popolari, gli articoli correlati o i più commentati. Oltre al titolo è sempre consigliato inserire anche un’immagine dell’articolo, magari una miniatura. Oggi vi spiego come estrapolare l’immagine dall’articolo, creare la miniatura, salvarla nella cache, e renderla disponibile sul blog.

CleverThumb for wordpressContinua a leggere

WordPress plugin: Related Post with Thumbnail

related post with thumbnail Related Post with Thumbnail is a new WordPress plugin that returns a list of the related entries based on active/passive keyword matches and show the first available image. It can generate a custom sized thumbnail. Based on an original plugin of Alexander Malov & Mike Lu (v. 2.02)

Download

Download the Related Post with Thumbnail wordpress plugin from the ufficial wordpress repository.

Installation

1) Download the .zip file and extract it
2) Upload the extrated folder (related-post-thumbnail/) to the WordPress plugins folder (wp-content/plugins/)
3) Activate the plugin from the WordPress back office panel
4) Run the SQL script from the plugin option menu
5) Customize the plugin in the option menu

Syntax

The syntax is:

related_posts($limit='', $len='', $before_title = '', $after_title = '', $before_post = '', $after_post = '', $show_pass_post = '', $show_excerpt = '')

where:

1) limit: how many related post to show
2) len: how many word have the excerpt
3) before_title, after_title, before_post, after_post: too simple to comment 😉
4) show_pass_post: show the password protected post
5) show_excerpt: show the post excerpt

Demo

You can see a live demo directly on this page. Just look on the left sidebar.