cancel
Showing results for 
Search instead for 
Did you mean: 

Php in CMS pages

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Php in CMS pages

As far as I've already read, you cannot add php directly to a CMS page, but you can add it to a block then add that to the CMS page.

 

So why when adding it to a static block, would it comment out my code like so?

 

undefined

 

 

 

 

1 REPLY 1

Re: Php in CMS pages

Is there an answer to this question?  I am trying to the same, add php directly to the pages and have it render on the page.  If you can't put it in a page or block, how does one go about adding custom PHP code to their site?