Title: missing argument error after adding column classes snippet
Last modified: August 21, 2016

---

# missing argument error after adding column classes snippet

 *  Resolved [ardent.dave](https://wordpress.org/support/users/ardentdave/)
 * (@ardentdave)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/missing-argument-error-after-adding-column-classes-snippet/)
 * On the page with the shortcode we get this error, after adding the code for “
   Add Column Classes to Display Posts Shortcodes”
 * **Here is the shortcode on the page**
    [display-posts columns=”2″ category=”work”
   posts_per_page=”6″ image_size=”medium” include_excerpt=”true”]
 * **Here is the error we get**
    Warning: Missing argument 4 for be_display_post_class()
   in /home/hsd34dg/public_html/wp-content/plugins/display-posts-shortcode/display-
   posts-shortcode.php on line 277
 * [https://wordpress.org/plugins/display-posts-shortcode/](https://wordpress.org/plugins/display-posts-shortcode/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/missing-argument-error-after-adding-column-classes-snippet/#post-4579987)
 * The code you used was for the development version of the plugin, not the currently
   public version. If you’d like to use it, you’ll need to download the development
   version from here: [https://github.com/billerickson/display-posts-shortcode](https://github.com/billerickson/display-posts-shortcode)
 * In a few weeks I’ll be releasing a new version of the plugin here on WordPress.
   org, and then this code will work.

Viewing 1 replies (of 1 total)

The topic ‘missing argument error after adding column classes snippet’ is closed
to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/missing-argument-error-after-adding-column-classes-snippet/#post-4579987)
 * Status: resolved