Closed Vell61 closed 1 month ago
Tell me how to place PHP code on a specific page, for example contact_form(), display a contact form (plugin) on the Contacts page (/contact)? Works only on Home...
@Vell61
you can use an if statement and echo the contact form there in your template:
<?php if ($Wcms->currentPage == 'yourNewPage') { } else { echo the contact form } ?>
Tell me how to place PHP code on a specific page, for example contact_form(), display a contact form (plugin) on the Contacts page (/contact)? Works only on Home...