code-block with php code

function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array() )
{

  if( $context == 'avia_sc_timeline' && is_array( $extra_args ) && in_array( 'date', $extra_args ) )
  {
    $args['heading'] = 'h3';            
    $args['extra_class'] = 'my-timeline-class';   
  }


  if( $context == 'avia_sc_timeline' && is_array( $extra_args ) && in_array( 'title', $extra_args ) )
  {
    $args['heading'] = 'h2';            
    $args['extra_class'] = 'my-timeline-class';   
  } 
  
  return $args;
}
add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );
  • 2016

    Milestone 1

  • 2017

    Milestone 2

    2017

  • 2018

    Milestone 3