Title: Row/post actions
Last modified: August 31, 2016

---

# Row/post actions

 *  Resolved [M3](https://wordpress.org/support/users/emmtre/)
 * (@emmtre)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/rowpost-actions/)
 * I don’t know if this is a bug or feature with the new 2.5.5 version. All row/
   post actions (edit, quick edit, trash, preview, purge from cache, etc) used to
   be displayed under the post title in the title column. But now they are always
   displayed in the first column. So if you display a thumbnail of the featured 
   image as the first column the row height for each post will be very big since
   there is no space for the row/post actions.
 * [https://wordpress.org/plugins/codepress-admin-columns/](https://wordpress.org/plugins/codepress-admin-columns/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Tobias Schutter](https://wordpress.org/support/users/tschutter/)
 * (@tschutter)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/rowpost-actions/#post-7249502)
 * The actions rows are being added to the first row it finds. But we forgot to 
   build in a check in the case that the primary column still exists, but in a different
   place. Like you have in your setup.
 * We’ll make sure to fix this in the next patch by checking for the primary column
   first.
 * If you like to fix it yourself you can replace the following code in codepress-
   admin-columns.php (for v2.5.5 only):
 *     ```
       public function set_primary_column( $default ) {
       	if ( $storage_model = $this->get_current_storage_model() ) {
       		$default = key( $storage_model->get_columns() );
       	}
   
       	return $default;
       }
       ```
   
 * with
 *     ```
       public function set_primary_column( $default ) {
       	if ( $storage_model = $this->get_current_storage_model() ) {
       		if ( ! $storage_model->get_column_by_name( $default ) ) {
       			$default = key( $storage_model->get_columns() );
       		}
       	}
   
       	return $default;
       }
       ```
   
 * That should do the trick!
 *  Thread Starter [M3](https://wordpress.org/support/users/emmtre/)
 * (@emmtre)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/rowpost-actions/#post-7249504)
 * Many thanx! Superb support and quick respons as always!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Row/post actions’ is closed to new replies.

 * ![](https://ps.w.org/codepress-admin-columns/assets/icon.svg?rev=1521754)
 * [Admin Columns](https://wordpress.org/plugins/codepress-admin-columns/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/codepress-admin-columns/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/codepress-admin-columns/)
 * [Active Topics](https://wordpress.org/support/plugin/codepress-admin-columns/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codepress-admin-columns/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codepress-admin-columns/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [M3](https://wordpress.org/support/users/emmtre/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/rowpost-actions/#post-7249504)
 * Status: resolved