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);
Please let me know if you are unable to fix this issue.
Best Regards,
CoolHappy,
Cool Timeline Team.
Related Posts:
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Create a custom archive page for a custom post type in a plugin
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Proper way of making custom post type landing page or archive page
- Custom Post Type Archives by Date with Custom Permalink
- Change title in head on Archive page
- Custom Post Type Archives with 0 Posts Redirects as 404
- Page is defaulting to archive page and not designated template
- Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?
- paginate function in archive for custom-post-type
- Change plugin’s has_archive = true to false?
- Custom post type archive sorted and grouped by date in post meta field
- How to create archive page for taxonomy terms within custom post type
- WordPress custom post type archive with description
- Custom-post-type-archive: posts sorted/filtered by year?
- How to list custom post types?
- Custom post type archive page pagination
- Editable content on a Custom Archive page
- Second Custom Post Type Archive
- is_main_query() not working for WP REST API
- CPT Archive with core Category
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- get the custom post type title/name
- URL of a custom post type’s post format archive?
- Create template for taxonomy results limited by Custom Post Type
- Custom post type archive page blank
- Custom Post Type slug same as page name
- How to display custom post in archive section of the wordpress page?
- Custom Post Archive is not working
- What’s the name of the custom post type yearly archive template?
- How can I use archive-{post_type}.php theme template?
- Return the name of the post type
- Use the custom post type archive for taxonomies?
- Plain links in single-class.php and archive-class.php not working
- Archive page for custom post type and custom taxonomy
- Custom post type archive – error in nav-menu-template.php
- How to have multiple archive pages?
- Create a Custom Path to Archive
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- WordPress sitemap with Custom Post Types
- Is possible register two archive pages for single custom post type?
- Custom Post type page content (archive page)
- Group custom post type posts by month
- Creating an archive page or simple template to list all values of a custom field of specific post type listing
- Do not show child pages within a file page
- Tell wordpress to show a single page instead of an archive page
- Custom Post Type archive page listing a 404 or single post
- I broke it! Custom post type archive gets redirected to home
- Want to display my custom date archive to date.php but dont know how
- Rewriting archive page slug to be different than custom post type slug
- Site loads very slow for archive custom post type page
- Stop Custom post type from being searched via URL
- Custom post type category page not working
- paging is not working properly on news archives page [duplicate]
- How can I set up the URL for a category archive for a custom post type?
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Pagination not working for archive
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query
- Remove date rewrite rule for custom post type archive page
- Editable Meta Data for Custom Post Type Archive Template
- Add CPT as subpage under custom page
- Query var removed after rewrite
- WooCommerce product search titles only
- check if post title in a custom post type exists in page
- Specify a Page as the parent to the CPT Archive
- Custom post types archive redirect
- Custom Post Type with has_archive ignores my custom archive and single template
- Archives for Custom Post Types (without Pages)
- just can’t get date-based archives per post-type to work
- How to hack YARPP plugin to find related posts for custom post type?
- Archive page for taxonomy terms
- Custom template page with custom archives listing by user
- Custom template won’t load for a custom post type (custom permalinks used)
- Show listings from Impress Listing plugin in random order using taxonomy and terms
- Update menu when saving settings
- How can i change the output of posts_nav_link();
- Set up Custom-Post-Type Author Archive
- One-to-many post relationships that are displayed by category (using posts-to-posts plugin)
- custom post type not showing in menu
- Custom posts don’t work
- Custom Post Type Archive Page Filtering
- Root slug of taxonomy returning 404
- How to modify archive query with pre_get_posts to append CPTs?
- How to retain $_POST data when submitting form to custom page
- Unable to get post archive link
- Why get_posts() not returning only selected category posts from Custom Post Type?
- single-{cpt}.php ignored
- If post has custom field then display css-class
- Adding a custom post type taxonomy template in plugin
- CPT custom archive template does not get loaded
- Get archive post type name
- Replace text in post from cvs
- Insert and then update post_type by wp_update_post
- Custom post types and tag archive pages/permalink structure issue
- Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname
- Custom post type templating problem
- Custom post type is showing custom home page, not archive page
- Displaying Page as Custom Post type landing Page