投稿記事をトップページに出力させる

front-page.php

<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>wp-blogのトップページ</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="css/jquery.bxslider.css">
</head>
<body>
<header>
<h1>wp-blogのトップページ</h1>
<p>サイトのキャッチフレーズ</p>
</header>

<main>
<div class="main-visual">
<ul class="bxslider">
<li><img src="img/01.jpg" alt=""></li>
<li><img src="img/02.jpg" alt=""></li>
<li><img src="img/03.jpg" alt=""></li>
<li><img src="img/04.jpg" alt=""></li>
</ul>
</div>

<div class="wp-post-wrapper">
<h2>Blog</h2>
<dl class="post-list">
<dt>2022年04月08日</dt>
<dd><a href="#">ここにブログのタイトルが入ります</a></dd>
<dt>2022年04月07日</dt>
<dd><a href="#">ここにブログのタイトルが入ります</a></dd>
<dt>2022年04月06日</dt>
<dd><a href="#">ここにブログのタイトルが入ります</a></dd>
</dl>
</div><!-- /.wp-post-wrapper -->

</main>

<footer>
<p>サイトのタイトルが入る</p>
</footer>


<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js'></script>
<script src="js/jquery.bxslider.js"></script>
<script>
$(function(){
$('.bxslider').bxSlider({
maxSlides: 4,//横に並べる画像の数
ticker: true,
speed: 40000,
slideWidth: 600,//1枚の画像の幅
shrinkItems: true,
});
});
</script>

</body>
</html>


style.css

@charset "utf-8";

/*
Theme Name:felica-blog
Author:yajima
*/

html{box-sizing:border-box;-webkit-text-size-adjust:100%}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0;box-sizing:border-box;}audio:not([controls]){display:none;height:0}hr{overflow:visible}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}summary{display:list-item}small{font-size:80%}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted;text-decoration:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer}[disabled]{cursor:default}[type=number]{width:auto}[type=search]{-webkit-appearance:textfield}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:0;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,select{text-transform:none}button,input,select,textarea{background-color:transparent;border-style:none;color:inherit}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}img{border-style:none;vertical-align: bottom}progress{vertical-align:baseline}svg:not(:root){overflow:hidden}audio,canvas,progress,video{display:inline-block}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}ul,ol{list-style:none;}a{text-decoration:none;}.wrapper{overflow:hidden;}body{overflow-y:scroll;}img{max-width: 100%;}

header{
text-align: center;
padding: 30px 0;
}
header>h1{
margin-bottom: 20px;
}

.main-visual{
width: 100%;
margin-bottom: 100px;
}
.wp-post-wrapper{
max-width: 800px;
margin: 100px auto;
}
.wp-post-wrapper>h2{
text-align: center;
margin-bottom: 20px;
}
.post-list{
display: flex;
flex-wrap: wrap;
background-color: #e7effa;
}
.post-list>dt{
width: 30%;
padding: 20px;
}
.post-list>dd{
width: 70%;
}
.post-list>dd>a{
display: block;
padding: 20px;
color: #222;
}
.post-list>dd>a:hover{
text-decoration: underline 2px;
}
.post-list>dt:nth-of-type(even),.post-list>dd:nth-of-type(even){
background-color: #c5c5c5;
}

footer{
width: 100%;
height: 100px;
background-color: #5d5d5d;
color: #FFF;
}