theme development – Syntax error potentially causing CSS catastrophic failure


brand new to WordPress and StackExchange so excuse my poor etiquette. I am making a custom WordPress theme for a class, and somewhere along the line made an error so tiny neither me nor my professor could find it, but it’s specifically caused my entire CSS page to not load whatsoever. Through troubleshooting, we figured out it’s probably an issue somewhere in the .php files. Does anybody see anything that could be causing such a huge problem? I regret asking so cluelessly for help, but we’re stumped!


<?php get_header(); ?>
<?php get_sidebar(); ?>
  <div id="content1">
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <h1 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
        <?php the_content(); ?>
        <?php wp_link_pages(); ?>
      <?php endwhile; ?>
    <?php endif; ?>
<?php get_footer(); ?>



  <title> Portfolio</title>
  <!-- <link rel="preconnect" href="">
  <link rel="preconnect" href="" crossorigin>
  <link href="" rel="stylesheet">
  <meta name="description" content="Our first page">
  <meta name="keywords" content="html tutorial template"> -->
  <link href="style.css" rel="stylesheet">
  <?php wp_head(); ?>

<body <?php body_class(); ?>>

footer.php, which doesn’t have anything especially important

</div> <!-- close wrapper -->
<?php wp_footer(); ?>

Samantha Banaszak 1 year 2021-11-01T14:20:51-05:00 0 Answers 0 views 0

Leave an answer