Skip to main content
added 278 characters in body
Source Link

In this line if( is_page( ( 'azubi'); you start but not end the round bracket ["(" OR ")"] and not used semicolon after the if condition used colon like if( is_page('azubi')):

<?php
if( is_page('azubi')):
     echo do_shortcode( '[contact-form-7 id="274" title="Bewerbungsformular_beruf" ]' ); 
else:
     echo do_shortcode( '[contact-form-7 id="2741" title="Bewerbungsformular_berufe" ]' ); 

endif; 
?>

Check this : https://developer.wordpress.org/reference/functions/is_page/

Enter correct page name.

     if( is_page('About Us')):
                 echo do_shortcode('[contact-form-7 id="263" title="Contact form 1"]');
            else:
                 echo do_shortcode('[contact-form-7 id="264" title="Contact form 1_copy"]');

            endif;

In this line if( is_page( ( 'azubi'); you start but not end the round bracket ["(" OR ")"] and not used semicolon after the if condition used colon like if( is_page('azubi')):

<?php
if( is_page('azubi')):
     echo do_shortcode( '[contact-form-7 id="274" title="Bewerbungsformular_beruf" ]' ); 
else:
     echo do_shortcode( '[contact-form-7 id="2741" title="Bewerbungsformular_berufe" ]' ); 

endif; 
?>

In this line if( is_page( ( 'azubi'); you start but not end the round bracket ["(" OR ")"] and not used semicolon after the if condition used colon like if( is_page('azubi')):

<?php
if( is_page('azubi')):
     echo do_shortcode( '[contact-form-7 id="274" title="Bewerbungsformular_beruf" ]' ); 
else:
     echo do_shortcode( '[contact-form-7 id="2741" title="Bewerbungsformular_berufe" ]' ); 

endif; 
?>

Check this : https://developer.wordpress.org/reference/functions/is_page/

Enter correct page name.

     if( is_page('About Us')):
                 echo do_shortcode('[contact-form-7 id="263" title="Contact form 1"]');
            else:
                 echo do_shortcode('[contact-form-7 id="264" title="Contact form 1_copy"]');

            endif;
deleted 102 characters in body
Source Link

In this line if( is_page( ( 'azubi'); you start but not end the round bracket ["(" OR ")"] and not used semicolon after the if condition used colon like if( is_page('azubi')):

Please check this for if else conditions http://php.net/manual/en/control-structures.elseif.php

<?php
if( is_page('azubi')):
     echo do_shortcode( '[contact-form-7 id="274" title="Bewerbungsformular_beruf" ]' ); 
else:
     echo do_shortcode( '[contact-form-7 id="2741" title="Bewerbungsformular_berufe" ]' ); 

endif; 
?>

In this line if( is_page( ( 'azubi'); you start but not end the round bracket ["(" OR ")"] and not used semicolon after the if condition used colon like if( is_page('azubi')):

Please check this for if else conditions http://php.net/manual/en/control-structures.elseif.php

<?php
if( is_page('azubi')):
     echo do_shortcode( '[contact-form-7 id="274" title="Bewerbungsformular_beruf" ]' ); 
else:
     echo do_shortcode( '[contact-form-7 id="2741" title="Bewerbungsformular_berufe" ]' ); 

endif; 
?>

In this line if( is_page( ( 'azubi'); you start but not end the round bracket ["(" OR ")"] and not used semicolon after the if condition used colon like if( is_page('azubi')):

<?php
if( is_page('azubi')):
     echo do_shortcode( '[contact-form-7 id="274" title="Bewerbungsformular_beruf" ]' ); 
else:
     echo do_shortcode( '[contact-form-7 id="2741" title="Bewerbungsformular_berufe" ]' ); 

endif; 
?>
Source Link

In this line if( is_page( ( 'azubi'); you start but not end the round bracket ["(" OR ")"] and not used semicolon after the if condition used colon like if( is_page('azubi')):

Please check this for if else conditions http://php.net/manual/en/control-structures.elseif.php

<?php
if( is_page('azubi')):
     echo do_shortcode( '[contact-form-7 id="274" title="Bewerbungsformular_beruf" ]' ); 
else:
     echo do_shortcode( '[contact-form-7 id="2741" title="Bewerbungsformular_berufe" ]' ); 

endif; 
?>