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

    (@dpowney)

    Hi there,

    Yes there are a couple of options. I’ll assume you’d like to change from h4 to h3.

    The rating form widget allows you to change the header h1, h2, h3, h4, h5 or h6.

    If you’re displaying the rating form via a shortcode, you can try [mr_rating_form before_title=”<h3>” after_title=”</h3>”].

    There’s also a couple of filters in the rating form template file as follows:

    $before_title = apply_filters( 'mr_rating_form_before_title', $before_title, $post_id );
    $after_title = apply_filters( 'mr_rating_form_after_title', $after_title, $post_id );
    
    echo "$before_title" . esc_html( $title ) . "$after_title";

    And your last resort is to modify the rating-form.php template file. You can follow similar instructions to the Pro version to do this. See the template system.

    For example, change the last line above to
    echo "<h3>" . esc_html( $title ) . </h3>";

    I hope this helps,
    Daniel

    • This reply was modified 7 years, 2 months ago by dpowney.
    Thread Starter panzerriegel

    (@panzerriegel)

    perfect, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rating Form Title declared as – change to’ is closed to new replies.