title: How do I put my content in the right place and for all my pages?
body: <p>I need help for something please. I'm working on my structure, but I've some problems...</p>
  
  <p>I created a page called "page-container.php" and the content is:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta charset="UTF-8"&gt;
          &lt;title&gt;&lt;?= $page_title; ?&gt;&lt;/title&gt;
          &lt;link href="css/style.css" rel="stylesheet"&gt;
          &lt;link href="css/fonts/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet"&gt;
          &lt;link href="https://fonts.googleapis.com/css?family=Patrick+Hand" rel="stylesheet"&gt;
      &lt;/head&gt;
      &lt;body id="&lt;?= $page_id; ?&gt;"&gt;
          &lt;?php include "includes/header.php"; ?&gt;
          &lt;div class="wrapper"&gt;
              &lt;div class="page-content"&gt;
                  &lt;?php if(isset($sidebar)): ?&gt;
                  &lt;div class="main-container"&gt;
                      &lt;div class="main-content"&gt;
                  &lt;?php endif; ?&gt;
                  &lt;h1 class="page-title"&gt;&lt;?= $page_title; ?&gt;&lt;/h1&gt;
                  I WANT TO HAVE MY CONTENT HERE FOR ALL MY PAGES
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>You can see the "I WANT TO HAVE MY CONTENT HERE FOR ALL MY PAGES".</p>
  
  <p>What I mean is that when I write the content in my other pages (for example, my registration page), I want that all the content is placed at this location, like this:</p>
  
  <p><a href="http://prntscr.com/a3oz5k" rel="nofollow">http://prntscr.com/a3oz5k</a></p>
  
  <p>All my other pages are like this (exemple with index.php):</p>
  
  <pre><code>&lt;?php
  
  $page_title = "Home";
  $page_id = "home";
  
  ?&gt;
  
  &lt;?php require "includes/page-container.php"; ?&gt;
  </code></pre>
  
  <p>If I want to write some content in this page, I need to do like this:</p>
  
  <pre><code>&lt;?php
  
  $page_title = "Home";
  $page_id = "home";
  
  ?&gt;
  
  &lt;?php require "includes/page-container.php"; ?&gt;
  
  &lt;div id="mycontent"&gt;
  &lt;p&gt;Heellloo&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But look the result: <a href="http://prntscr.com/a3p32y" rel="nofollow">http://prntscr.com/a3p32y</a></p>
  
  <p>In the code source this is not normal... <a href="http://prntscr.com/a3p3kg" rel="nofollow">http://prntscr.com/a3p3kg</a></p>
  
  <p>My content is below the html and body tag and I want it to be placed just below my h3 title. How can I do please?</p>