Hi Paul,
Thanks for the updated login details – I can login to your site now.
I had a look around and I’ve found out what the issue is. Your theme doesn’t display post excerpts using the normal the_excerpt()
function provided by WordPress, instead it uses a custom function called webulous_content_limit()
to get what it determines is your excerpt. This means that SSP has no way of distinguishing between the text displayed in the excerpt and text displayed in the full content, so the audio player and episode data is all shown on your excerpt when it shouldn’t. On top of that, the theme also strips out any HTML tags from the excerpt, which is why the player show up as raw text and looks as horrible as it does.
The absolute best solution for this is to get the theme developer to use the correct WordPress function for getting the post excerpt instead of rolling their own excerpt function like they have. To be honest, I have no idea why they’ve done it this way in the first place.
That being said, this helps you work around the issue:
add_filter( 'ssp_episode_meta', 'ssp_custom_episode_excerpt_mod' );
function ssp_custom_episode_excerpt_mod ( $meta = '', $post_id = 0, $context ) {
if( ! is_single() ) {
$meta = '';
}
return $meta;
}
I have added that snippet to your theme’s functions.php file and it has fixed your issue. However, if you update your theme then the change I made will be overwritten. I would advise that you report this to the theme developer and show them this thread as it describes the issue and the solution for them.
If this has helped you then please consider supporting continued development by leaving a review.
Cheers,
Hugh