A simple search in codex and you can set this! Anyway you can do something like :
function remove_shortcode_from_excerpt($content) {
$content = strip_shortcodes( $content );
return $content;//always return $content
}
add_filter('the_excerpt', 'remove_shortcode_from_excerpt');
Related Posts:
- What characters are allowed as a shortcode tag and how should they be sanitized?
- How to modify shortcode attributes with data from current post
- Redirect to another page using contact form 7? [closed]
- Modify page title and subtitle with a plugin
- Filters on the_content with plugins, pages and shortcode
- Find all strings between an enclosing shortcode
- shortcode which is introduced into entry the blog, and appears in side bar
- apply_filters to content but ignore shortcodes
- How to find the origin of a file upload from within wp_handle_upload?
- Snippets: is it better to add them in functions.php or make site-specific plugins?
- Can someone please tell me what is wrong with my plugin?
- Trouble with editing template for “List category posts” plugin
- Modifying the comments section through a plugin regardless of theme
- WordPress Shortcode to get URL Parameters $_GET[‘name’] redirects for no reason at all
- WordPress function not being called from jQuery method
- AddToAny shortcode in the loop
- How to get the element ID from new menu list that added with add_filter()?
- How to add an automatic refresh in WordPress for a Page/Post or an embedded OneDrive/Excel HTML Code?
- How to fix wrong attribute error for Visual Composer Grid Builder?
- White page by using filter template_include
- Making a Template for a CPT created by a plugin
- How to check current user before all actions and filters?
- How do I create a filter feature on WordPress? [closed]
- creating html reusable blocks via shortcodes
- Create a navbar filter that filters by a custom field
- Passing an array from shortcode-function to filter-function
- add_shortcode is not working in plugin where others are working
- Single API call exposed via shortcode with params
- SEO Friendly URL on dynamic product page produced via shortcode
- Get Time Taken By Each Action Hook in WordPress
- Shortcode Plugin to dynamically build a shortcode via `do_shortcode` not working
- Making sure that a plugin’s scripts and stylesheets are included for dynamicaly loaded content
- Nested shortcode functions accessing variable
- Filtering WooCommerce Orders by Category
- Calling an attribute from a plugin shortcode
- Best place for short bio,image and button [closed]
- How to remove plugin metaboxes from edit.php
- Insert content of a post into another
- Plugin developer automated documentation
- qTranslate remove default directory from link
- How to disable a plugin for certain page?
- Output content to the_content before a plugin does
- Is there a hook to Intercept al urls from a webpage and redirect to a page
- How to add tags in Submenu page or Menu page
- accessing wp.media api from a tinymce plugin
- Creating shortcodes in plugin
- Visual Composer shortcode for child theme dir
- get_post_title is not working on homepage
- Some code in shortcode function being ignored
- WordPress user account activation
- How to create a custom shortcode based on the layout?
- External Script Using WP – Hooks / Actions Not Working?
- URL parameters causing 404 on home page, but nowhere else
- Which filter affects the ‘entry-title’ post class
- How to change the name of the “edit my profile” link in the WordPress admin backend
- Filtering get_permalink in Jetpack / ShareDaddy
- Unable to add TAB character to post?
- plugin shortcode output
- how to add text to posts from tags
- WordPress “Categories to tags converter” not working. Pointing to import.php instead
- How to Create a shortcode to this php function
- Inject HTML meta tag inside wordpress tag using add_shortcode
- How do I apply style to each category of a list?
- Create shortcode to echo javascript
- Proper way to replace the_content only for pages created by custom plugin
- add_filter doesn’t work
- What is @Action in WordPress?
- Template filter for custom taxonomy terms
- Is there a way to figure out which action/filter invoked a function?
- Custom Shortcode Broken in WordPress 3.1
- Use $_GET inside a shortcode print empty Array
- Namespaced shortcode?
- the_tags : can we insert a class
- Where are theme codes located for WordPress?
- Add sub menu page in your plugin
- My plugin won’t return anything [closed]
- Using add_action before add_filter on a plugin?
- Anyway to convert a plugin to become a shortcode?
- Check if variable is set in filter
- What exactly happens to function argument availability when using a filter?
- Render Modula Plugin Shortcode On Ajax Request
- Shortcode to update user meta
- Why shortcode always displayed after footer not in body
- How to have sample page for each new register users in a membership website
- How can I run a custom shortcode function on a live site and only run if the viewer is a specific machine?
- using do_shortcode
- Why am I unable to load scripts in head in plugin?
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- Deactivate JS Script in Plugin Shortcode
- Passing stored variables to add_filter
- plugin shortcode not working on ajax request call
- Displayed content disappears when adding attributes to shortcode
- override filter in a plugin
- Check filter defined or not?
- How do I pass custom shortcode-extracted variables (taxonomy) into a query function for WordPress RoyalSlider?
- Where to find the code used to render a page that has a shortcode and a template defined?
- Shortcode not working after move wordpress website files
- Set post tags using tag ID
- remove_action not removing add_action from constructor
- Shortcode not getting replaced