iam new with php and wordpress. i try to implement a shortcode which should only work for a specific slug for my website. all other sites should do another shortcode.
i tryed this:
<?php
if( is_page( ( 'azubi');
<?php echo do_shortcode( '[contact-form-7 id="274" title="Bewerbungsformular_beruf" ]' ); ?>
else
<?php echo do_shortcode( '[contact-form-7 id="2741" title="Bewerbungsformular_berufe" ]' ); ?>
<?phpendif ?>
but with this i got an error. i thin php syntax is wrong? works this solution for that i want to have?
best regards tom