• I’m creating a custom theme.
    To link HTML to CSS, with the help of the community, and following https://developer.wordpress.org/reference/functions/wp_enqueue_style/ directions, I created a functions.php file with the following code

    <?php
    wp_enqueue_style ( string style.css, string $src = '', array $deps = array(), string|bool|null $ver = false, string $media = 'all' )
    	?>

    I uploaded the file through BlueHost (my hosting service) File Manager.
    When I went back to my site I got a 505 error.
    I called BlueHost and they just told me to remove the functions.php file to bring the site back.
    The site is back but the HTML and CSS files are not linked.
    Where did I mess up?

    • This topic was modified 7 years, 11 months ago by tothet.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Linking HTML to CSS through functions.php file error’ is closed to new replies.