• Resolved tatami3lri

    (@tatami3lri)


    I am redeveloping my website and I need to configure the heading for the Custom Related Posts block. Currently it’s displaying as an H3. How can I change it to display as an H2? Advice/suggestions much appreciated. Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brecht

    (@brechtvds)

    Hi there,

    We don’t have a setting for that at the moment, but do have some plugin hooks available to alter things. Try adding the following code to your (child) theme’s functions.php file, for example:

    function crp_change_title_header( $title ) {
    $title = str_replace( '<h3', '<h2', $title );
    $title = str_replace( '</h3>', '</h2>', $title );
    return $title;
    }
    add_filter( 'crp_output_list_title', 'crp_change_title_header' );

    Kind regards,
    Brecht

    Thread Starter tatami3lri

    (@tatami3lri)

    Thank you so much for your help, Brecht. All now working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.