| 1 |
<?php |
| 2 |
if( ! is_singular( 'docs' ) ) { |
| 3 |
return; |
| 4 |
} |
| 5 |
?> |
| 6 |
|
| 7 |
<div |
| 8 |
<?php echo $wrapper_attr; ?>> |
| 9 |
<?php |
| 10 |
if( $widget_type != 'blocks' ) { |
| 11 |
betterdocs()->views->get( 'templates/parts/print-icon', [ |
| 12 |
'enable' => (bool) $enable |
| 13 |
] ); |
| 14 |
} |
| 15 |
|
| 16 |
// The Content For A Docs |
| 17 |
$view_object->get( 'templates/parts/content', [ |
| 18 |
'htags' => $htags, |
| 19 |
'enable_toc' => $enable_toc |
| 20 |
] ); |
| 21 |
?> |
| 22 |
</div> |
| 23 |
|