Title: Problems Creating posts
Last modified: August 20, 2016

---

# Problems Creating posts

 *  [Gaby77](https://wordpress.org/support/users/gaby77/)
 * (@gaby77)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problems-creating-posts/)
 * I have installed the plugin and it works ok, but I don’t understand where to 
   put this code to be able to add new post.
 * <?php fee_inject_dummy_post( ‘post’, false ); ?>
 * <?php while ( have_posts() ) : the_post(); ?>
    <article id=”post-<?php the_ID();?
   >” <?php post_class(); ?>> <?php the_title(); ?>
 *  …
    </article> <?php endwhile; ?>
 * It says in the home.php template file, but in the directory of my theme there
   isn’t a home.php file. I tried writing it in index.php file but it doesn’t work.
 * Please Help!
    Sorry for my english.
 * [http://wordpress.org/extend/plugins/front-end-editor/](http://wordpress.org/extend/plugins/front-end-editor/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [houseofstrauss](https://wordpress.org/support/users/houseofstrauss/)
 * (@houseofstrauss)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problems-creating-posts/#post-3275873)
 * I think home.php was used as an example only. It might be more suitable to create
   a new page (ie postform.php as a custom template [see here](http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates)
   and place the code to render the form (as your post above) in that custom page.
   Usually, I would use the existing page.php as the base of the new page postform.
   php and follow the instructions as for custom page templates.
 * Basically page.php would be copied, post form code added and renamed to postform.
   php Then in the code at the top of the page add
 *     ```
       <?php
       /*
       Template Name: postform
       */
       ?>
       ```
   
 * save all and upload postform.php to your server theme files
 * If this form is just for you, or your editors, don’t place it in the site menus
   and call it manually any time you want to create a post from the front end. The
   post form will appear only in that new page, that should do it. AS always experiment
   on a test site first.
 *  Thread Starter [Gaby77](https://wordpress.org/support/users/gaby77/)
 * (@gaby77)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problems-creating-posts/#post-3275874)
 * Thank you for your answer. I’ll try it.
 *  [kisshomaru](https://wordpress.org/support/users/kisshomaru/)
 * (@kisshomaru)
 * [13 years ago](https://wordpress.org/support/topic/problems-creating-posts/#post-3275919)
 * Why isn’t there a shortcode for this to add it on any page? A template? really?
   and create it myself?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problems Creating posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/front-end-editor.svg)
 * [Front-end Editor](https://wordpress.org/plugins/front-end-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-editor/reviews/)

## Tags

 * [new-post](https://wordpress.org/support/topic-tag/new-post/)

 * 3 replies
 * 3 participants
 * Last reply from: [kisshomaru](https://wordpress.org/support/users/kisshomaru/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/problems-creating-posts/#post-3275919)
 * Status: not resolved