userBarToggle.click(function() {
$('#user-menu').load('wp-content/themes/mytheme/lib/inc/template/user-menu.php');
});
I get 500 Internal Server Error. Any suggestions why?
#user-menu
existsPHP
& HTML
code in itAlso, is there a way to cut off the wp-content/themes/mytheme/
part? I get 404 without it.
If the path is correct, then it should be something wrong with user-menu.php. Did you try erasing everything in that file and return just some text? Also, check the file permissions for it.