Title: Using php insert to manually display
Last modified: August 21, 2016

---

# Using php insert to manually display

 *  [tostrye](https://wordpress.org/support/users/tostrye/)
 * (@tostrye)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/using-php-insert-to-manually-display/)
 * I think this plugin is nifty.
    I want to manually display the plugin, so I go
   to the plugin settings and set ‘Display on’ to ‘Manual’ and insert the php code`
   <?php on_wpec_related() ?>` into `/wp-content/plugins/wp-e-commerce/wpsc-theme/
   wpsc-single_product.php` but I don’t see anything. Am I inserting it in the wrong
   place?
 * [http://wordpress.org/extend/plugins/wpec-related-products/](http://wordpress.org/extend/plugins/wpec-related-products/)

Viewing 1 replies (of 1 total)

 *  [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-php-insert-to-manually-display/#post-3782878)
 * I know it’s an old post but in case anyone else has the same issue… I think you’ve
   moved the WP e-Commerce theme files to your theme folder and should add the code
   there instead.
 * You can check by going to Settings -> Store -> Presentation, look for the ‘Advanced
   Theme Settings’ section which will show if you’ve moved the files.
 * If you have, edit the wpsc-single_product.php file located at
    `/wp-content/themes/
   yourtheme/`

Viewing 1 replies (of 1 total)

The topic ‘Using php insert to manually display’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpec-related-products.svg)
 * [WP e-Commerce Related Products](https://wordpress.org/plugins/wpec-related-products/)
 * [Support Threads](https://wordpress.org/support/plugin/wpec-related-products/)
 * [Active Topics](https://wordpress.org/support/plugin/wpec-related-products/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpec-related-products/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpec-related-products/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ablears](https://wordpress.org/support/users/ablears/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/using-php-insert-to-manually-display/#post-3782878)
 * Status: not resolved