Title: Using PHP Function with Product Page Template?
Last modified: March 16, 2018

---

# Using PHP Function with Product Page Template?

 *  [restalfep](https://wordpress.org/support/users/restalfep/)
 * (@restalfep)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-php-function-with-product-page-template/)
 * We are using Anywhere Elementor for our product pages. How can we add a php function?
   For example, if we want to incorporate Yotpo to the bottom of the page it requires
   us to place “wc_yotpo_show_widget();” where we want the reviews to show. and 
   wc_yotpo_show_buttomline(); where we want to show the star rating (i.e. under
   the price). How can this be done?

The topic ‘Using PHP Function with Product Page Template?’ is closed to new replies.

 * ![](https://ps.w.org/anywhere-elementor/assets/icon-128x128.png?rev=3417069)
 * [Dynific Addons for Elementor (formerly AnyWhere Elementor)](https://wordpress.org/plugins/anywhere-elementor/)
 * [Support Threads](https://wordpress.org/support/plugin/anywhere-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/anywhere-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/anywhere-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/anywhere-elementor/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [restalfep](https://wordpress.org/support/users/restalfep/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/using-php-function-with-product-page-template/)
 * Status: not resolved