Before you ask please READ THIS

Row ID missing in vc_row template

edited July 2016 in Blame Posts: 1
Hi there,

First of all, great theme and great job.

I have found a small issue in the newest version of Blame theme. The vc_row template located in vc_templates directory is missing $el_id section so no Row ID's are rendered on the page.

To fix this issue it is necessary to:

1) add the following snippet in vc_templates/vc_row.php in line 45:
if ( strlen( $el_id ) ) {
$html_id = 'id="' . esc_attr( $el_id ) . '"';
}
2) and replace the line:
$output .= '<div class="a13_row_container'.esc_attr($block_classes).'"'.$data_attr.$style.'>';
with
$output .= '<div class="a13_row_container'.esc_attr($block_classes).'"'.$data_attr.$style.' '.$html_id.'>';

Thanks,
Przemek
Post edited by Air on

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion