using a child theme index.php allows access to $current_user
index.php has
include get_template_directory_uri() . '-copy/subPages/account.php';
account.php does not access $current_user and get_currentuserinfo(); inside account.php breaks the include statement
Aucun commentaire:
Enregistrer un commentaire