• Resolved motzk

    (@motzk)


    Hi there,

    the Rating Form Title is tagged as an h4-title in HTML. Is there a chance to change this to an normal paragraph?

    I’m using the TOC+ Plugin and the Rating Form Title is included on every site in this table.

    best regards

Viewing 1 replies (of 1 total)
  • Plugin Author dpowney

    (@dpowney)

    Yes you can update rating-form.php template file. See similar instructions for the Pro version here which may help you. The folder is “multi-rating” instead of “multi-rating-pro” of course.

    The code in the rating-form.php template file which you will be interested in is:

    if ( ! empty( $title ) ) {
    		
    		$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";
    	}

    You just need to change $before_title and $after_title. As you can see, you could also use the mr_rating_form_before_title and mr_rating_form_after_title filters to change the h4 tags.

    Daniel

Viewing 1 replies (of 1 total)
  • The topic ‘Rating Form Title – h4 title’ is closed to new replies.