I'm having the following issue:
some conditional tags do not work on the functions.php file.
For example I'm trying to do the following:
if ( is_home() ) :
wp_enqueue_script('accordeon_setup', '/wp-content/themes/44db/js/scripts-accordeon.js');
endif;
and although the site produces no error I cannot see the script in the home page.
The same thing happens with the following conditional tag:
if ( $post->post_parent == '12' ) :
Is there something I'm missing?? Both conditional tags run at the bottom of the functions.php
Thank you people !!!