title: Editable posts WordPress
body: <p>I'm trying to create my own template in CMS WordPress. I would like to have live editable text on my page <a href="http://restaurant.g6.cz/" rel="nofollow noreferrer">http://restaurant.g6.cz/</a>. I want to create something like posts and edit them from the web, because I can't think of anything better. I tried to paste into (page.php) something like </p>
  
  <pre><code>&lt;?php
      $my_post = get_post(168);
      echo $my_post-&gt;post_content;
  ?&gt;
  </code></pre>
  
  <p>and tried edit the text with plugin Live Editor but I wasn't successful, so I tried to write </p>
  
  <pre><code>&lt;?php query_posts('cat=5&amp;showposts=1'); ?&gt;
  &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
  &lt;?php the_content(); ?&gt;
  &lt;?php endwhile; endif; ?&gt;
  &lt;?php wp_reset_query(); ?&gt;
  </code></pre>
  
  <p>this was editable but every post needed it's own category. Does anyone know, how to do this in PHP or better way without plugins? Thank you all very much :)</p>
  
  <p><a href="https://i.stack.imgur.com/jgfHL.png" rel="nofollow noreferrer">Example</a></p>