iframe{
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
$(".navbar .nav-link").click(function(){
var section = $(this).data("section");
$("body").scrollTo(document.getElementById(section)+$(".element").offset(), 800, { easing:'easeInOutExpo' });
});
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
function author_per_page( $query ) {
if( is_author() && !is_admin() && $query->is_main_query() ) {
$query->set( 'posts_per_page', 5 );
}
add_action( 'pre_get_posts', 'author_per_page' );