the_excerpt strips away html tags. You will need to switch to the_content and use quick tag instead.
view the docs on this
Basic Example:
<?php the_content( 'Read more ...' ); ?>
Related Posts:
- How to add stylesheets only to pages with specific shortcode?
- the_excerpt and shortcodes
- Hide/show content starting in the middle of a paragraph
- How to add ‘class’ attribute into shortcode [audio]?
- Stop strip_shortcodes() stripping content inside shortcodes
- Shortcode content does not show in feed discription/excerpt
- How to link to a alternative page in CSS
- Global, network-wide shortcodes or text replace functions
- Video size and border radius using a shortcode
- Searching in shortcode contents
- Easy way to show excerpts of specific posts on a page
- Is it possible to ignore the first Line Break in a preformatted Div from a shortcode?
- How can I included CSS to a page or a shortcode? [closed]
- Two different inner shortcode under shortcodes or multiple nesting of inner shortcodes
- Make shortcode’s Bootstrap CSS override the theme’s CSS, how?
- Include tags in the body of a post
- Shortcodes in excerpts returning empty string
- Retrieving post excerpt as a shortcode
- Shortcodes in RSS excerpts
- shortcode issue in the_excerpt
- How to Get Shortcode in Excerpt to follow Document Flow
- Excerpt Length & List Category Posts Plugin
- Shortcode not displaying video as expected
- How to add site tags in alphabetical order to shortcode?
- Return all Tags and Categories in Separate List
- How to display html element and php string in the same line?
- How to include shortcodes and pdfs in WordPress search without plugin?
- shortcode doesnt work on excerpt
- Remove figcation from excerpt
- How to strip header tags & shortcodes from the_excerpt()
- Display tags cloud from a specific category ID with a shortcode
- Term Description Echo or Return – display problems
- How to fix transparency in product sliders / featured products on home page?
- Running Filter or Shortcode Before Query Prevents Excerpt from Showing
- Pull in excerpt with shortcode
- Shortcode tags appear on mobile themes
- Woocommerce Filter Main Loop by Tag [closed]
- Loading shortcode stylesheet only when shortcode is in text widget [closed]
- How to stop unwanted splits in excerpts when using shortcodes for sliders or players
- Inserting shortcode is blanking excerpt – any ideas?
- How to Convert Shortcode into a link?
- Wpautop stops working after get_the_excerpt
- Hiding Widget On Mobile Devices Removes Our Product Search Box On Mobiles
- shortcode appears as text in the search result
- How to show tags in my tumblr theme?
- convert it into short code & explan how? [closed]
- Enqueue Scripts / Styles when shortcode is present
- Conditionally Loading JavaScript/CSS for Shortcodes
- What does extract( shortcode_atts( array( do?
- How do I escape a ‘]’ in a short code?
- Pass boolean value in shortcode
- Show shortcode without executing it
- Shortcode always displaying at the top of the page
- Redirect function inside a Shortcode
- How to create a shortcode with 1 parameter (atts)
- how to show the syntax of a shortcode
- Custom shortcode being executed when saving page in wp-admin
- Change appearance of shortcode text inside editor
- current_shortcode() – detect currently used shortcode
- shortcodes output before content [duplicate]
- WordPress plugin shortcode not working
- Using get_option() in JavaScript
- Shortcode empty attribute
- How does a shortcode work?
- Shortcode outputs at the top of the_content
- Using wp_editor in shortcode
- Remove wpautop from shortcode content / remove whitespace in buffering
- Get current post id witout passing in shortcode
- How do I add a search bar to my header?
- Why are you using add_action for shortcode?
- How to get URL param to shortcode?
- WordPress removing tags?
- How to add multiple buttons to TinyMCE?
- Assign a Class to the Current “Tag” for Formatting
- Check if post/page has gallery?
- Get first video from the post (both embed and video shortcodes)
- Get shortcode name from within it’s callback function? [duplicate]
- Exclude Specific Term from Search
- Wordspress add into my javascripts
- Making a Shortcode [NEXT] and [PREVIOUS] to place into specific posts for post navigation
- How do I create a Shortcode that returns text if domain is .com, not .co.uk
- Using preg_replace to separate gallery from the_content?
- Remove specific shortcode from get_the_content()
- How to display the site name in a WordPress page, or post
- Combining shortcode and get_template_part
- How can I put a wp_redirect into a shortcode?
- Escaping quotes from shortcode attributes
- Run visual composer code in php page
- how to include other plugins css files in a shortcode?
- short code output too early
- Shortcode in shortcode: How to append variable?
- Remove wptexturize from a shortcode?
- How can i put an array as variable in shortcode_atts?
- Autoembeds don’t work with paragraphs
- Table of Contents with a shortcode
- Create custom [sourcecode] shortcode, the right way?
- TED talks shortcode not working
- Allowing shortcodes inside attributes
- What is the best way to enable nested shortcodes?
- Tinymce – How to hook before or after live shortcodes rendering?