Hi,
How can I achieve this widget(image) in the php code below?
More specifically, how do I select h2 and h3 tags in the php code?
$args = array (
'name' => 'Displayed Everywhere',
'id' => 'av_everywhere',
'description' => '',
'class' => '',
'before_widget' => '<section class="mobile_toc clearfix avia_auto_toc">',
'after_widget' => '<span class="seperator extralight-border"></span></section>',
'before_title' => '',
'after_title' => '',
'widget_id' => 'avia_auto_toc_custom',
'widget_name' => 'Enfold Child Table of Contents2',
);
$instance = array (
'title' => 'Contents',
'exclude' => '',
'style' => '',
'level' => 'h3',
'single_only' => 1,
'indent' => 0,
'smoothscroll' => 1,
);
$toc = new avia_auto_toc;
$toc->widget($args, $instance);
Hey Microserve_,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Victoria