PostHeader

WordPress PostHeader - post top component for WordPress Single Post template data like categories etc. comes from WP Rest API.

PostHeader with some content for WordPress single page template

  <div class="relative">
    <PostHeader
      author={ { firstName: 'Szymon', name: 'CNK' }  }
      lang="en"
      categories={  [{"name":"Tools & garage accessories","uri":"/category/garage/tools-garage-accessories/"}, , {"name":"Lorem Ipsum","uri":"#"}] }
            title="Lorem Ipsum"
      date="2023-07-13T01:35:03"
      image="https://placehold.co/1380x920"
    />
  </div>

PostHeader - only title

Lorem Ipsum

  <div class="relative">
    <PostHeader
      title="Lorem Ipsum"
      lang="en"
      image="https://placehold.co/1380x920"
    />
  </div>