Lost forms styling using conditional statement
-
Hi
I have a little problem with styling. I have create custom post types and in one of my template I have added contact form with some styling and it was looks great.
But now i did some conditional statement
<?php if($name == ‘Artur’){
echo do_shortcode( ‘[contact-form-7 id=”273″ title=”Post name1″]’ );
}elseif($name == ‘Richard’){
echo do_shortcode( ‘[contact-form-7 id=”295″ title=”Post name1″]’ );
}?>
When i did this i have lost all my styling, now forms are displaying in default styling.
How i can fix this.The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Lost forms styling using conditional statement’ is closed to new replies.