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
- Archive page with multiple taxonomies rewrite
- Date archives for custom post type
- Custom comment status possible?
- How to get_queried_object on multiple objects?
- Assign Page Template Within A Custom Post Type
- Getting taxonomy terms used by custom post type
- Call different archive page based on post type
- I am facing problem in my archive page , it is partially working
- Custom Post Type | Fatal Error on register_post_type()
- taxonomy template for custom post type the same as the archive
- Conditional tags don’t work
- custom post type not showing in menu
- How can I make a custom post type sticky?
- Use Custom Post Type archive page for the taxonomies term archive page
- limit value taxonomy based on previous taxonomy value wordpress
- How to change wp prefix for custom post type only?
- posttype/taxonomy/term archive page 404 error
- How can I get this request to use the Custom Post Type page template instead?
- Set featured image to archive.php
- Create metaboxes based on custom post type
- Custom Post type date archive for custom taxonomy
- Custom Post Type setup
- CMB2 metabox create select with list of post from CPT
- Custom post types, disable fields
- Types plugin custom post add_action hooks
- Custom Post Type Custom Archive Page Not Working
- pre_get_posts works in post type archive but not in single post
- Pages not appearing?
- CPT UI: Connect a custom post type to a custom post type
- Custom post type pagination problem – page 1 and 2 show same content
- Unsure what page hierarchy to use with CPT UI to show on front end
- get first limited words from a custom post in the archive page
- Post that populates itself (almost) automatically using data from imported excel file
- How to Show all Values in category.php page using post_type
- Show index and not the archive for “Dog Custom Post” with default slug
- why custom post archive gives always no more than 10 posts despite of paging settings?
- Query Custom Post Type and sort by year
- Extending a CPT by Created by another plugin
- Custom post types not using archive structure
- How to delete unnecessary custom post types in the UI