This is how I solved it, this code checks if the url contains a string of /events
. Include this in the functions.php code:
if (stripos($_SERVER['REQUEST_URI'], '/events' )!==false)
include( 'template-parts/footer-menus-widgets.php' );
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…