' .
$session_technical_button . $full_article_button . $questions_button .
// Page Views and File Downloads counters
'
👁️
Views: ' . $views_counter . '
⬇️
Downloads: ' . $downloads_counter . '
' .
'
';
} elseif ($post_type == 'Poster') {
$pdf_addres = 'https://www.sige.ita.br/edicoes-anteriores/' . $ano . '/st/' . $code . '_1.pdf';
$session_technical_button = do_shortcode('[button link="https://www.sige.ita.br/events/st-posters' . $ano . '/" color="blue" newwindow="yes"]Sessão Técnica[/button]');
$download_button = do_shortcode('[button link="' . esc_url($pdf_addres) . '" color="red" newwindow="yes"]Download[/button]');
$questions_button = do_shortcode('[button link="#comments" color="orange" newwindow="yes"]Perguntas![/button]');
$views_counter = do_shortcode('[page_views_counter]');
$downloads_counter = do_shortcode('[file_downloads_counter]');
echo $session_technical_button . $download_button . $questions_button .
'
' .
// Page Views and File Downloads counters
'
👁️
Views: ' . $views_counter . '
⬇️
Downloads: ' . $downloads_counter . '
' .
// Google Docs PDF Embed
'
';
} else {
echo $content;
}
?>
term_id;
}
$atts[] = 'category="' . implode( ',', $ids ) . '"';
}
if ( ! empty( $attributes['tags'] ) ) {
$ids = array();
foreach ( $attributes['tags'] as $tag ) {
$ids[] = $tag->term_id;
}
$atts[] = 'tag="' . implode( ',', $ids ) . '"';
}
$atts[] = 'related="1"';
$atts[] = 'exclude="' . (int) $attributes['id'] . '"';
$atts[] = 'show_count="0"';
$atts[] = 'columns="' . (int) $attributes['columns'] . '"';
$atts[] = 'limit="' . (int) $attributes['limit'] . '"';
$atts[] = 'orderby="' . sanitize_text_field( $attributes['orderby'] ) . '"';
$atts[] = 'order="' . sanitize_text_field( $attributes['order'] ) . '"';
$atts[] = 'show_pagination="' . (int) $attributes['show_pagination'] . '"';
$related_videos = do_shortcode( '[aiovg_videos ' . implode( ' ', $atts ) . ']' );
if ( $related_videos != aiovg_get_message( 'videos_empty' ) ) {
echo $related_videos;
}
}