Title: Template
Last modified: August 21, 2016

---

# Template

 *  Resolved [jvhost2013](https://wordpress.org/support/users/jvhost2013/)
 * (@jvhost2013)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/template-20/)
 * Is there a way to populate the textarea with a pre-filled “template” when adding
   a new product? I have the Pro version. The reason we want it is so everyone adding
   a product knows what details they need to provide.
 * Thanks
 * [https://wordpress.org/plugins/wp-catalogue/](https://wordpress.org/plugins/wp-catalogue/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [jvhost2013](https://wordpress.org/support/users/jvhost2013/)
 * (@jvhost2013)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/template-20/#post-4718421)
 * Hi .. I just figured it out:
 * In my theme’s functions.php:
 *  function product_editor_content ( $content, $post) {
    if ($post->post_type==’
   wpcproduct’) $content=’Template for products:’;
 *  return $content;
    }
 *  add_filter(‘default_content’, ‘product_editor_content’,10, 2);

Viewing 1 replies (of 1 total)

The topic ‘Template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-catalogue_adaa98.svg)
 * [WP Catalogue](https://wordpress.org/plugins/wp-catalogue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-catalogue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-catalogue/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-catalogue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-catalogue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-catalogue/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jvhost2013](https://wordpress.org/support/users/jvhost2013/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/template-20/#post-4718421)
 * Status: resolved