Title: Cat Block
Author: cvmh
Published: <strong>February 15, 2016</strong>
Last modified: January 26, 2022

---

Search plugins

![](https://ps.w.org/cat-block/assets/banner-772x250.png?rev=1350826)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/cat-block/assets/icon-256x256.png?rev=1350826)

# Cat Block

 By [cvmh](https://profiles.wordpress.org/cvmh/)

[Download](https://downloads.wordpress.org/plugin/cat-block.zip)

 * [Details](https://wordpress.org/plugins/cat-block/#description)
 * [Reviews](https://wordpress.org/plugins/cat-block/#reviews)
 *  [Installation](https://wordpress.org/plugins/cat-block/#installation)
 * [Development](https://wordpress.org/plugins/cat-block/#developers)

 [Support](https://wordpress.org/support/plugin/cat-block/)

## Description

Adds a block (widget or shortcode), which scrolls through the posts in a category.

#### Current features

 * Easy to use
 * Only fade effect
 * Customizable
 * Shortcode & Widget

#### Shortcode

Use [cvmh-catblock]
 If you want to disable a parameter which is on true by default,
put an empty string. Example: [cvmh-catblock slideshow=””]

#### Shortcode parameters

 * title: widget title (default: Category block)
 * introduction: text before posts list (default: empty)
 * category: array of category ids to use (default: empty, all categories will be
   used)
 * count: number of psts to display (default: 3, set to -1 if you want all posts)
 * buttonall: weither to display a link to the category (default: true, only if 
   category has parameter has only one category id)
 * alltext: text of the “all button” (default: See all)
 * posttype: post type to get (default: post)
 * showimage: weither to display the post thumbnail (default: false)
 * imagesize: size of the post thumbnail (default: thumbnail)
 * showtitle: weither to display the post title (default: true)
 * titletag: html tag for the post title (default: h3)
 * titlelength: max length for the post title in caracters (default: 45)
 * showexcerpt: weither to display the post excerpt (default: false)
 * excerptlength: max length for the excerpt in words (default: 50)
 * showdate: weither to display the post date (default: false)
 * dateformat: post date format (default: j F Y)
 * showreadmore: weither to display a link to the post in addition to the link on
   the post title (default: true)
 * readmoretext: text of the “read more” button (default: Read more)
 * readmoretype: html tag for the “read more” button (default: anchor, use “button”
   if you want a link in javascript)
 * slideshow: display posts in a slideshow (default: true)
 * duration: duration of a slide in ms (default: 7000)
 * shownav: weither to display dots for navigation if slideshow is activated (default:
   true)

Looking for a WordPress agency? Contact us: [agence web WordPress](http://www.agence-web-cvmh.fr)

### How to uninstall Cat Block

To uninstall Cat Block, you just have to de-activate the plugin from the plugins
list.

## Installation

 1. Unzip the plugin and upload the “cat-block” folder to your “/wp-content/plugins/”
    directory
 2. Activate the plugin through the “Plugins” administration page in WordPress
 3. Use the shortcode or the widget
 4. Enjoy.

## Reviews

![](https://secure.gravatar.com/avatar/fd287261296261db4267112aaf1826af99ad78511ff5bdcd951245c79e282772?
s=60&d=retro&r=g)

### 󠀁[Works fine](https://wordpress.org/support/topic/works-fine-552/)󠁿

 [nicolasrenard](https://profiles.wordpress.org/nicolasrenard/) September 3, 2016

Do what it’s made for.

 [ Read all 1 review ](https://wordpress.org/support/plugin/cat-block/reviews/)

## Contributors & Developers

“Cat Block” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ cvmh ](https://profiles.wordpress.org/cvmh/)
 *   [ nicolasrenard ](https://profiles.wordpress.org/nicolasrenard/)

[Translate “Cat Block” into your language.](https://translate.wordpress.org/projects/wp-plugins/cat-block)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cat-block/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/cat-block/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/cat-block/) by [RSS](https://plugins.trac.wordpress.org/log/cat-block/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.6.18

 * Changed: WordPress tested up version

#### 2.6.17

 * Added: Filter cvmh_catblock_item_class with post ID parameter

#### 2.6.16

 * Fixed: Force balance tags in excerpts

#### 2.6.15

 * Fixed: Excerpt resize

#### 2.6.14

 * Added: Offset parameter
 * Changed: tested up version

#### 2.6.13

 * Added: Filters cvmh_catblock_before_img and cvmh_catblock_after_img to wrap image

#### 2.6.12

 * Changed: Widget title is not displayed if empty

#### 2.6.11

 * Fixed: Javascript problem on slide change

#### 2.6.10

 * Added: cvmh_catblock_excerpt_resized_addendum filter

#### 2.6.9

 * Added: widget params in cvmh_cat_block_get_posts_args filter

#### 2.6.8

 * Fixed: admin CSS conflict

#### 2.6.7

 * Added: filter cvmh_catblock_link

#### 2.6.6

 * Added: filter cvmh_catblock_before_title
 * Added: filter cvmh_catblock_widget_title_tag
 * Added: filter cvmh_catblock_after_widget_title

#### 2.6.5

 * Added: filter cvmh_cat_block_get_posts_args

#### 2.6.4

 * Added: 3 filters (cvmh_catblock_item_title, cvmh_catblock_after_title and cvmh_catblock_after_content)

#### 2.6.3

 * Fixed: text domain

#### 2.6.2

 * Changed: variable type for numbers
 * Changed: excerpt function
 * Changed: selected method for widget thumbnail select

#### 2.6.1

 * Fixed: replace text domain constant by real string

#### 2.6

 * Fixed: translate path
 * Changed: widget name

#### 2.5

 * Added: widget introduction

#### 2.4

 * Fixed: Link to all posts of a category

#### 2.3

 * Added: widget title

#### 2.2

 * Fixed: shortcode default arguments function call
 * Changed: tested up version

#### 2.1

 * Changed: tested up version

#### 2.0

**Warning: this update changes some names in plugin options. Be sure to configure
again your widgets and/or shortcodes after update.**

 * Changed: aside tag to div in markup to avoid two aside tags
 * Added: image size selector in widget configuration
 * Added: “Read more” button display selector
 * Changed: widget form

#### 1.0

 * Initial Release.

## Meta

 *  Version **2.6.18**
 *  Last updated **4 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.6 or higher **
 *  Tested up to **5.9.13**
 * Tags
 * [category](https://wordpress.org/plugins/tags/category/)[taxonomy](https://wordpress.org/plugins/tags/taxonomy/)
   [widget](https://wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://wordpress.org/plugins/cat-block/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/cat-block/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cat-block/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cat-block/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cat-block/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cat-block/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cat-block/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cat-block/reviews/)

## Contributors

 *   [ cvmh ](https://profiles.wordpress.org/cvmh/)
 *   [ nicolasrenard ](https://profiles.wordpress.org/nicolasrenard/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cat-block/)