How to fix 404 page error on theme

So I think you’re problem is the quotes in the href inside your function. Try escaping them like this and it should be fixed. <p><?php _e(“Sorry but, you are looking for something that isn’t here. <br /><br /> Looking for more web developer jobs, please visit our sister site: <a href=\”http://LAMPjobsLA.com\”>LAMPjobsLA.com</a>”, ‘cleanhome’) ;?></p>

Page not found when trying to link to files in child theme directory

Shouldn’t you be enqueuing that in functions.php instead? function script_enqueueing() { wp_enqueue_script( ‘scripts’, get_stylesheet_directory_uri() . ‘/js/scripts.js’, array(‘jquery’) ); } add_action(‘wp_enqueue_scripts’, ‘script_enqueueing’); Edit to add: if calling directly in header.php, use get_template_directory_uri(); instead.