How to add Custom PHP code within the Layout?

Hello there,

I need to insert this below code in the single post layout, but seems like there is not a module to inject this type of code, can you please help me how to insert this in the layout builder?

<?php if ( function_exists( 'echo_crp' ) ) { echo_crp(); } ?>

Hello Saswata,

Thanks for writing in! Please be aware that WordPress does not allow PHP codes within the content. You will have to install a 3rd party plugin to be able to do what you have in mind. Perhaps the WordPress repository can answer your question:

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.