I am trying to call in a carousel. I saved it on its own php file. and am trying to call it in custom page by using
<?php include(ABSPATH . 'carousel.php'); ?>
Not working. Could someone please advs I also tried
And that did not work either.
got the error message:
Warning: include(C:\xampp\htdocs\apdSilencers/carousel.php): failed to open stream: No such file or directory in C:\xampp\htdocs\apdSilencers\wp-content\ hemes\apd\home.php on line 12
Warning: include(): Failed opening 'C:\xampp\htdocs\apdSilencers/carousel.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\apdSilencers\wp-content\ hemes\apd\home.php on line 12