Reply To: Masonry block incorrectly showing shortcodes in excerpt content | WP Masonry Layout

Reply To: Masonry block incorrectly showing shortcodes in excerpt content

Home Forums Pro Version Masonry block incorrectly showing shortcodes in excerpt content Reply To: Masonry block incorrectly showing shortcodes in excerpt content

#14084
Masonry Guy
Keymaster

Hi Deborah,

Our plugin uses the default wordpress excerpt. So technically the excerpt we use uses the same functionality as wordpress. WordPress doesn’t allow shortcode in excerpt. You need to enable the shortcode. For that you need to place this code in your functions.php

add_filter('the_excerpt', 'do_shortcode');

Or you can hide the excerpt if you don’t want to show it.

Thanks