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
- Get post content from outside the loop
- How to Change Loop to Order Posts by Views (using wp-postviews plugin)
- Is `query_posts` really slower than secondary query?
- Are there any scenarios where the query_posts may be used?
- Display subpages under parent page as a list within a loop
- When to use wp_reset_postdata();
- Related Posts loop – offset
- Showing current subcategory
- Buddypress: Edit activity when new blog post [closed]
- single page site with subpages
- Different Queries Return Same Results [closed]
- wordpress simple loop, huge issues
- How to make a button?
- Pagination gives extra page with no results
- How to filter posts that belong to a specific category only if that is the only category
- Exclude posts from main loop based on meta value
- Blog page Server error 500 with stick post loop in query.php
- Show all posts using the template page and the loop?
- Custom loop not working
- Escape current post from loop
- Why isn’t my multiple loops working?
- How can I display other user avatars on an author profile page?
- something strange is happening to my code
- facebook like, tweet and google+1 buttons inside the loop on home, archive and search pages and missing facebook like buttons
- Loop Offset for tag based “Related Posts”
- How do I put my frontpage featured image in a page template for home.php?
- Randomly display post based on meta value. (Kind of Priority/Weight)
- How to print redux gallery feilds id? [closed]
- How do I show a link or ‘Read More’ button on a custom field excerpt when it is less than the word limit
- relation OR instead of AND – Filtered term ID’s in loop
- How to filter posts by category INSIDE the loop
- static page with multiple loops breaks post pagination
- WordPress truncate posts question (plugin related)
- Remove ‘read more’ link when post is shorter than excerpt
- Help with if and else statement
- Filtered content appears in the excerpt
- How to use limit post content on archive page in WordPress?
- is it bad to copy the loop for a template?
- I want to load post in bootstrap Modal dynamically
- Why my loop is repeat?
- How to display just video post format?
- Is it possible to get a post ID of a 2 different custom post types loop embedded in the same post to perform update_post_meta from the frontend?
- How to execute custom loop before loop content?
- Sorting posts to make those with post thumbnail show up first
- Best way to check if a post with specific meta exists
- Default Template infinite loop of Title
- Trouble preventing duplicate posts between 2 loops on homepage
- how to use the_excerpt for two post queries?
- Error in Wordprewss loop for page template [closed]
- Tags outside the loop
- How to get files from loop for zip
- Woocommerce set loop_shop_columns to be 3 in the main shop page loop only and 4 otherwise