Hi,
I have a site where I post music for download, and license. Using Generatepress and loving it! Great theme.
I have made a child theme, and added the following code to functions.php get it to show shortcodes and HTML in the excerpt. The front page should only show a little card, or excerpt if you will…
//Enable Shortcodes in WordPress Excerpts and Text Widgets. Add to functions.php
add_filter( 'get_the_excerpt', 'my_shortcode_parser' );
function my_shortcode_parser( $excerpt ) {
return do_shortcode($excerpt);
}
So in the excerpt I want to have an audio player, button to the purchase page on sellfy, and a download MP3 button. This works on most of the blog posts. But on some, the link to sellfy is not visible. But if I inspect the code, I think its there. The audio player also looks different on some posts.
Probably me doing something wrong… but any suggestion on what to check why certain elements doesnt show up?
I have disabled caching, etc.