WebSite X5Help Center

 
Nigel M.
Nigel M.
User

Show google reviews using php in an html object  en

Autore: Nigel M.
Visite 86, Followers 2, Condiviso 0  
Parole Chiave: php,website x5 pro 2025.3

I’m trying to show Google Reviews on my Website X5 site using PHP. I added the PHP code into an HTML Code Object and set the page extension to PHP. When I upload to IONOS hosting, instead of running the PHP, the code is printed on the page. If I upload the same PHP file directly to my hosting outside Website X5, it works fine. Does Website X5 actually support PHP inside HTML Code Objects, or do I need to embed an external file (e.g. via iframe) to make this work?

Postato il
4 RISPOSTE - 1 UTILE
Nigel M.
Nigel M.
User
Autore

Thanks ive used elfsight but trying to avoid the monthly fee its a good widget though

Leggi di più
Postato il da Nigel M.
Axel  
Axel  
User

Put here your code from  your  html object

Leggi di più
Postato il da Axel  
Giancarlo B.
Giancarlo B.
User
Utente del mese IT

When I upload to IONOS hosting, instead of executing the PHP code, the code is displayed on the page. -->

Are you sure the correct environment and version are active to run PHP on your hosting?

Leggi di più
Postato il da Giancarlo B.