You can just remove the filter before calling the_excerpt
and then add it back afterwards…
remove_filter('excerpt_more','new_excerpt_more');
the_excerpt();
add_filter('excerpt_more', 'new_excerpt_more');
Related Posts:
- Get excerpt using get_the_excerpt outside a loop
- How can i display the content in plaintext
- AJAX with loop filtering categories
- How to force excerpts / teasers in the loop
- the_excerpt(), get_the_excerpt() and the_content() all killing “the Loop”
- Content/Excerpt length control for a specific loop?
- Can I use both a custom excerpt and a trimmed excerpt?
- Combining the_excerpt with the_content
- Filtering The Loop For Single Page and Blog Page
- Sort Posts By Category?
- Custom search form to display users only
- the_excerpt not showing posts
- How to get an array of years from all of the search results, and use it to filter by year the paginated loop?
- Using get_the_excerpt() Before The Loop
- Query posts if meta key starts with
- How to return only one instance of each, from the entire loop
- Query reset problem or flawed code to enable custom post type query
- Combining action and filter?
- Filter the loop by categories using checkbox form
- Filter the_posts doesn’t work on search page
- Give “Read More” precedence over excerpt() word count
- How to get the post excerpt using post object?
- Unable to change the “Read more” text inside the_excerpt
- How to get the excerpt for is_home() outside of the loop isn’t working
- Trying to get property of non-object in shortocde
- Make a loop to return x number of posts, but only if they have content or excerpt
- Filter existing hook using parameter and foreach loop
- “the_excerpt” in loop just keeps repeating first post?
- Loop order issue with Ajax filter
- Filter Post Title without affecting screen-reader-text
- Add Search and Filter functionality to custom loop
- Only Show Excerpt After First 3 Posts
- Excerpts not showing on main page
- Reorder posts in a loop: have the posts by one particular author below the others
- Excerpt isn’t working or am I missing something?
- How to filter get previous post function by meta value DESC and post date DESC?
- WordPress redundant posts based on meta field
- Read More in the actual excerpt
- to get a little more content after ‘read more’ inside loop
- Remove posts_orderby filter then add it back in
- Limit article to 100 characters. Can’t use the_excerpt…
- Return only content in excerpt field in loop
- Buddypress Group Activity Loop Filter activity type [closed]
- get_posts and wp_autop (remove filter)
- Can’t change excerpt length and more tag
- How to add excerpt in loop in Twenty Eleven theme?
- Help with add_filter(‘the_content’, ‘some_function’) and multiple matches
- Applying a filter to multiple loops for days ago
- Only show read more text when when wp:post-excerpt meets excerptLength
- How to fix pagination for custom loops?
- Jquery Slider for profile template
- Counting the posts of a custom WordPress loop (WP_Query)?
- if ( is_home() && ! is_front_page() )
- How to display Yoast SEO meta description in archive template for each post instead of the_excerpt()? [closed]
- Get post content from outside the loop
- Why should I put if(have_posts()), is while(have_posts()) not enough?
- Display featured products through custom loop in woocommerce on template page
- Split Content and Gallery
- How to get Author ID outside the loop
- How to end the excerpt with a sentence rather than a word?
- Redirect loop when trying to login to /wp-admin/ [duplicate]
- How to split a loop into multiple columns
- Is it necessary to reset the query after using get_posts()?
- apply_filters() and the_excerpt are giving unexpected results
- Is there any difference between the_title() and echo get_the_title()?
- How to remove “read more” link from custom post type excerpt
- Do I need to use The Loop on pages?
- Remove the Homepage Query
- remove tags from the_content
- the_title() shows title of the first post instead of the page title?
- Retrieve each widget separately from a sidebar
- Why am I being limited to ten posts on a custom loop?
- How to list some posts first in the loop based on post id
- Should I use loop in the single.php file?
- A search for ‘0’ returns results
- Why do themes rely on “The Loop”?
- How to return loop contents
- Using the Loop to show all levels of subpages under a parent page? Halfway there
- Cleanest Way to Select Every Second Element in a Loop?
- How do I filter the excerpt metabox description in admin?
- Insert image or ad script after 3 posts using the loop
- Get date of last update outside of loop
- Modify ‘Read more’ link adding a new class
- Pagination not working on home page
- Child Pages Loop
- How to place comments_template(); outside the loop?
- Get excerpt from $post->post_content
- Read more tag shows up on EVERY post
- Multiple Loops Homepage?
- How to Change Loop to Order Posts by Views (using wp-postviews plugin)
- how to upload image using wp_handle_upload
- Avoiding using a loop to access a single post
- How to get the first image gallery of a product in woocommerce in a loop
- Get post by page name or slug
- save_post + insert_post = infinite loop
- How to order posts tag by tag?
- Loop.php vs looping inside template file
- Get ID of a page containing secondary loop in content
- Custom Loop and Infinite Scroll
- Loop that displays PARENT PAGE & CHILD PAGE & outputs GRANDCHILD PAGE title and content