Title: Configuring the custom post type
Last modified: November 4, 2017

---

# Configuring the custom post type

 *  [vertigoooo](https://wordpress.org/support/users/vertigoooo/)
 * (@vertigoooo)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/configuring-the-custom-post-type/)
 * [@kiranpreet](https://wordpress.org/support/users/kiranpreet/)
    Hi I have a problem
   with the custom post type declared in the plugin, please look for further description
   of my problem here:
 * [https://wordpress.stackexchange.com/questions/284795/remove-excerpt-more-from-plugin-post-type-and-remove-archive-page-plugin-proc](https://wordpress.stackexchange.com/questions/284795/remove-excerpt-more-from-plugin-post-type-and-remove-archive-page-plugin-proc)

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

 *  Thread Starter [vertigoooo](https://wordpress.org/support/users/vertigoooo/)
 * (@vertigoooo)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/configuring-the-custom-post-type/#post-9652043)
 * I Saw version 1.1.2 released and in the changelog the content length issue was
   fixed, but it is not fixed on my end. I have the latest wordpress version installed
   and so the latest plugin version
 *  Plugin Support [kiranpreet](https://wordpress.org/support/users/kiranpreet/)
 * (@kiranpreet)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/configuring-the-custom-post-type/#post-9654132)
 * Hello [@vertigoooo](https://wordpress.org/support/users/vertigoooo/)
 * Actually,this excerpt more with link settings automatically applies from your
   active theme.
 * In order to fix this problem,Please add the below mentioned filter hook and callback
   function in your active child theme .
 *     ```
       function pp_custom_excerpt_length($length) {
               global $post;
               // Set content length only of process posts 
               if ($post->post_type == 'process_posts' && !is_single()) {
                   //change it according to your requirement 
                   return 100;
               }
               return $length;
   
           }
   
         add_filter('excerpt_length', 'pp_custom_excerpt_length', 999);
       ```
   
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 8 years, 6 months ago by [kiranpreet](https://wordpress.org/support/users/kiranpreet/).
    -  This reply was modified 8 years, 6 months ago by [kiranpreet](https://wordpress.org/support/users/kiranpreet/).
      Reason: tag added
    -  This reply was modified 8 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Thread Starter [vertigoooo](https://wordpress.org/support/users/vertigoooo/)
 * (@vertigoooo)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/configuring-the-custom-post-type/#post-9656691)
 * [@kiranpreet](https://wordpress.org/support/users/kiranpreet/) Hi the excerpt
   solution seems reasonable, thanks for that, but onto my next question is how 
   can I disable the archive pages and the single pages generated for this post 
   type?

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

The topic ‘Configuring the custom post type’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/process-steps-template-designer_96a89d.
   svg)
 * [Process Steps Template Designer](https://wordpress.org/plugins/process-steps-template-designer/)
 * [Support Threads](https://wordpress.org/support/plugin/process-steps-template-designer/)
 * [Active Topics](https://wordpress.org/support/plugin/process-steps-template-designer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/process-steps-template-designer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/process-steps-template-designer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [vertigoooo](https://wordpress.org/support/users/vertigoooo/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/configuring-the-custom-post-type/#post-9656691)
 * Status: not resolved