title: How to edit wordpress plugin .php file
body: <p>I installed the Front-End Publishing plugin on my website, and it displays this menu: 
  <a href="http://i.stack.imgur.com/Oa9wz.png" rel="nofollow">FEP menu</a></p>
  
  <ul>
  <li>I want to remove the 'tags' and 'choose featured image' option from the menu.</li>
  <li>Since I want users to upload <em>media only</em> for the post content, I would also like to prevent users from typing words in the content box.</li>
  </ul>
  
  <p>This is the plugin's submission-form.php What code do I have to edit to achive this? (I tried to put all the code in code format but part of the code refused to be put in the code sample box)</p>
  
  <pre><code>&lt;?php
  $post       = false;
  $post_id    = -1;
  $featured_img_html = '';
  if( isset($_GET['fep_id']) &amp;&amp; isset($_GET['fep_action']) &amp;&amp; $_GET['fep_action'] == 'edit' ){
      $post_id            = $_GET['fep_id'];
      $p                  = get_post($post_id, 'ARRAY_A');
      if($p['post_author'] != $current_user-&gt;ID) return 'You don\'t have permission to edit this post';
      $category           = get_the_category($post_id);
      $tags               = wp_get_post_tags( $post_id, array( 'fields' =&gt; 'names' ) );
      $featured_img       = get_post_thumbnail_id( $post_id );
      $featured_img_html  = (!empty($featured_img))?wp_get_attachment_image( $featured_img, array(200,200) ):'';
      $post               = array(
                              'title'             =&gt; $p['post_title'],
                              'content'           =&gt; $p['post_content'],
                              'about_the_author'  =&gt; get_post_meta($post_id, 'about_the_author', true)
                          );
      if(isset($category[0]) &amp;&amp; is_array($category))
          $post['category']   = $category[0]-&gt;cat_ID;
      if(isset($tags) &amp;&amp; is_array($tags))
          $post['tags']       = implode(', ', $tags);
  }
  ?&gt;
  </code></pre>
  
  This form needs JavaScript to function properly. Please turn on JavaScript and try again!
  
  <pre><code>&lt;div id="fep-new-post"&gt;
  &lt;div id="fep-message" class="warning"&gt;&lt;/div&gt;
  &lt;form id="fep-submission-form"&gt;
      &lt;label for="fep-post-title"&gt;Title&lt;/label&gt;&lt;br/&gt;
      &lt;input type="text" name="post_title" id="fep-post-title" value="&lt;?php echo ($post) ? $post['title']:''; ?&gt;"&gt;&lt;br/&gt;
      &lt;label for="fep-post-content"&gt;Content&lt;/label&gt;&lt;br/&gt;
      &lt;?php
          $enable_media = (isset($fep_roles['enable_media']) &amp;&amp; $fep_roles['enable_media'])?current_user_can($fep_roles['enable_media']):1;
          wp_editor( $post['content'], 'fep-post-content', $settings = array('textarea_name'=&gt;'post_content', 'textarea_rows'=&gt; 7, 'media_buttons'=&gt;$enable_media) );
          wp_nonce_field('fepnonce_action','fepnonce');
      ?&gt;
      &lt;?php if(!$fep_misc['disable_author_bio']): ?&gt;
          &lt;label for="fep-about"&gt;Author Bio&lt;/label&gt;&lt;br/&gt;
          &lt;textarea name="about_the_author" id="fep-about" rows="5"&gt;&lt;?php echo ($post) ? $post['about_the_author']:''; ?&gt;&lt;/textarea&gt;&lt;br/&gt;
      &lt;?php else: ?&gt;
          &lt;input type="hidden" name="about_the_author" id="fep-about" value="-1"&gt;
      &lt;?php endif; ?&gt;
      &lt;label for="fep-category"&gt;Category&lt;/label&gt;&lt;br/&gt;
      &lt;?php wp_dropdown_categories(array('id'=&gt;'fep-category', 'hide_empty' =&gt; 0, 'name' =&gt; 'post_category', 'orderby' =&gt; 'name', 'selected' =&gt; $post['category'], 'hierarchical' =&gt; true, 'show_option_none' =&gt; __('None'))); ?&gt;&lt;br/&gt;
      &lt;label for="fep-tags"&gt;Tags&lt;/label&gt;&lt;br/&gt;
      &lt;input type="text" name="post_tags" id="fep-tags" value="&lt;?php echo ($post) ? $post['tags']:''; ?&gt;"&gt;&lt;br/&gt;
      &lt;div id="fep-featured-image"&gt;
          &lt;div id="fep-featured-image-container"&gt;&lt;?php echo $featured_img_html; ?&gt;&lt;/div&gt;
          &lt;a id="fep-featured-image-link" href="#"&gt;Choose Featured Image&lt;/a&gt;
          &lt;input type="hidden" id="fep-featured-image-id" value="&lt;?php echo (!empty($featured_img))?$featured_img:'-1'; ?&gt;"/&gt;
      &lt;/div&gt;
      &lt;input type="hidden" name="post_id" id="fep-post-id" value="&lt;?php echo $post_id ?&gt;"&gt;
      &lt;button type="button" id="fep-submit-post" class="active-btn"&gt;Submit&lt;/button&gt;&lt;img class="fep-loading-img" src="&lt;?php echo plugins_url( 'static/img/ajax-loading.gif', dirname(__FILE__) ); ?&gt;"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p></p>