Title: dotkev's Replies | WordPress.org

---

# dotkev

  [  ](https://wordpress.org/support/users/dotkev/)

 *   [Profile](https://wordpress.org/support/users/dotkev/)
 *   [Topics Started](https://wordpress.org/support/users/dotkev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dotkev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dotkev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dotkev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dotkev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dotkev/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Columns] WooCommerce Product Duplication Bug After Latest Update](https://wordpress.org/support/topic/woocommerce-product-duplication-bug-after-latest-update/)
 *  [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [11 years ago](https://wordpress.org/support/topic/woocommerce-product-duplication-bug-after-latest-update/#post-6281823)
 * I get the same error if I attempt to do any bulk editing, including changing 
   the status or moving items to the trash.
 * I am using the ACF and WooCommerce add-ons. Disabling the add-ons doesn’t fix
   the issue, so it’s definitely an issue with the CAC core.
 * Thanks so much for your indispensable plugin!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Glance That] Automate selected CPT and Taxonomies?](https://wordpress.org/support/topic/automate-selected-cpt-and-taxonomies/)
 *  Thread Starter [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/automate-selected-cpt-and-taxonomies/#post-5457890)
 * The sort order wasn’t working for me, so I dove into the plugin code.
 * Looks like we need _sorted_ instead of _sort_:
 *     ```
       function dmh_set_default_glances( $glances, $user_id ) {
         unset( $glances['post'] );
         unset( $glances['comment'] );
         $glances['products'] = array( 'icon' => 'f174', 'sorted' => 5 );
         $glances['solutions'] = array( 'icon' => 'f507', 'sorted' => 6 );
         $glances['markets'] = array( 'icon' => 'f238', 'sorted' => 7 );
         $glances['press-releases'] = array( 'icon' => 'f157', 'sorted' => 8 );
         return $glances;
       }
       ```
   
 * It possibly needs to be changed as well when setting the standard defaults on
   glance-that.php, line 1078-1080.
 * Do you have a github repo for this? I’d love to contribute.
 * I’ll leave a positive review!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Glance That] Automate selected CPT and Taxonomies?](https://wordpress.org/support/topic/automate-selected-cpt-and-taxonomies/)
 *  Thread Starter [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/automate-selected-cpt-and-taxonomies/#post-5457888)
 * Excellent addition. This is exactly what I needed.
 * Thanks so much for this invaluable plugin!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[301 Redirects - Redirect Manager] Long page titles break redirection select list with &n…](https://wordpress.org/support/topic/long-page-titles-break-redirection-select-list-with-n/)
 *  Thread Starter [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/long-page-titles-break-redirection-select-list-with-n/#post-4751993)
 * Thanks for the update.
 * Excellent plugin!
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Dashboard – At a Glance – Custom Post Types](https://wordpress.org/support/topic/dashboard-at-a-glance-custom-post-types/)
 *  Thread Starter [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/dashboard-at-a-glance-custom-post-types/#post-4404024)
 * Nice work everyone!
 * [@marj](https://wordpress.org/support/users/marj/) Wyatt, I made just a few MINOR
   edits to your code to pull in the cpt singular name and a cpt icon class for 
   styling.
 * @ UaMV Member, I’d love to contribute to your plugin. I need an 8th day. 🙂
 *     ```
       // Add Custom Post Type to WP-ADMIN Right Now Widget
       // Ref Link: http://wpsnipp.com/index.php/functions-php/include-custom-post-types-in-right-now-admin-dashboard-widget/
       // http://wordpress.org/support/topic/dashboard-at-a-glance-custom-post-types
       // http://halfelf.org/2012/my-custom-posttypes-live-in-mu/
       function vm_right_now_content_table_end() {
           $args = array(
               'public' => true ,
               '_builtin' => false
           );
           $output = 'object';
           $operator = 'and';
           $post_types = get_post_types( $args , $output , $operator );
           foreach( $post_types as $post_type ) {
               $num_posts = wp_count_posts( $post_type->name );
               $num = number_format_i18n( $num_posts->publish );
               $text = _n( $post_type->labels->singular_name, $post_type->labels->name , intval( $num_posts->publish ) );
               if ( current_user_can( 'edit_posts' ) ) {
                   $cpt_name = $post_type->name;
               }
               echo '<li class="'.$cpt_name.'-count"><tr><a href="edit.php?post_type='.$cpt_name.'"><td class="first b b-' . $post_type->name . '"></td>' . $num . ' <td class="t ' . $post_type->name . '">' . $text . '</td></a></tr></li>';
           }
           $taxonomies = get_taxonomies( $args , $output , $operator );
           foreach( $taxonomies as $taxonomy ) {
               $num_terms  = wp_count_terms( $taxonomy->name );
               $num = number_format_i18n( $num_terms );
               $text = _n( $taxonomy->labels->name, $taxonomy->labels->name , intval( $num_terms ));
               if ( current_user_can( 'manage_categories' ) ) {
                   $cpt_tax = $taxonomy->name;
               }
               echo '<li class="post-count"><tr><a href="edit-tags.php?taxonomy='.$cpt_tax.'"><td class="first b b-' . $taxonomy->name . '"></td>' . $num . ' <td class="t ' . $taxonomy->name . '">' . $text . '</td></a></tr></li>';
           }
       }
       add_action( 'dashboard_glance_items' , 'vm_right_now_content_table_end' );
       ```
   
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Dashboard – At a Glance – Custom Post Types](https://wordpress.org/support/topic/dashboard-at-a-glance-custom-post-types/)
 *  Thread Starter [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/dashboard-at-a-glance-custom-post-types/#post-4403926)
 * Thanks, great solution!
 * Instead, I’m overriding the css to not display the font icon at all and instead
   put the $post_type->menu_icon inline, since all of my cpts already have defined
   icons.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] How to wpseo_pre_analysis_post_content](https://wordpress.org/support/topic/how-to-wpseo_pre_analysis_post_content/)
 *  [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/how-to-wpseo_pre_analysis_post_content/#post-4221685)
 * I am having the same issue, and it’s not related to the way I retrieve ACF info.
   That’s not a problem.
 * I can even explicitly append my keyword to the wpseo_pre_analysis_post_content
   output and they seem to be ignored.
 *     ```
       function seo_data($post_content){
         $post_content .= ' my exact focus keyword';
         return $post_content;
       }
       add_filter('wpseo_pre_analysis_post_content','seo_data');
       ```
   
 * Any advice?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Columns] cpac_get_column_value_custom_field won't fire](https://wordpress.org/support/topic/cpac_get_column_value_custom_field-wont-fire/)
 *  [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/cpac_get_column_value_custom_field-wont-fire/#post-4035067)
 * Thanks for the code ethanpil!
 * Also, again, thanks for the awesome work on the plugin. We know you’re not slacking
   in the least!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Columns] cpac_get_column_value_custom_field won't fire](https://wordpress.org/support/topic/cpac_get_column_value_custom_field-wont-fire/)
 *  [dotkev](https://wordpress.org/support/users/dotkev/)
 * (@dotkev)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/cpac_get_column_value_custom_field-wont-fire/#post-4035056)
 * I had to revert to version 1.4.9 to use the customization code above.
 * Hopefully, the old filter will work again since it was and still is featured 
   in the documentation. Either way, thank you so much for the quality plugin!

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