for simple staff list (https://en-ca.wordpress.org/plugins/simple-staff-list/) i made a copy of the page.php and placed it in the childe folder and made it work with the simple staff list code! This is working nice
but how do i choose the widget for this page sidebar? I want to change it from all pages that are being showed to latest entries.
thanks
open the customn page in the child directory
change the line
$avia_config['currently_viewing'] = 'page';
into for example
$avia_config['currently_viewing'] = 'staff';
create a widget called staff
copy sidebar.php into the child directory
add before general shop sidebars
// staff pages sidebars
if ($avia_config['currently_viewing'] == 'staff' && dynamic_sidebar('Staff') ) : $default_sidebar = false; endif;
and yes it is working!