vendredi 30 janvier 2015

include statement in index.php does not allow access to $current_user


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