Great that works.
I implemented the shortcode by PHP (because the widgets were not working) and wrapped a div around it for styling reasons (as there is none from the plugin..)
function iw_related_posts() {
echo '<div class="related-posts">' . do_shortcode( '[custom-related-posts title="Beitr?ge aus dem Projekt" none_text=""]' ) . '</div>';
}
add_action('generate_before_right_sidebar_content','iw_related_posts', 10);
It would be perfect to set this into an if query, so that the div-wrap also doesn’t show up.
Any hint for that?