if is_page question in WordPress
Quick question. I'm trying to show content on different pages dynamically using the if is_page option in WordPress.
i.e. if is page = contact, then I want to have a dynamic portion of the page i.e. I will code it from the page template in the theme editor to show different text, video pictures etc than if is_page = about.
So far I'm using the code
<?php if ( is_page('My Page') ) { ?>
Don't know what to put here!!!!
<?php } ?>\ Then show (this text)
I know this is really basic stuff but I'm having trouble finding the answer and what better place than the good ol' warrior forum to get the answer.
Thanks in advance guys and gals
-
kalel1 -
Thanks
{{ DiscussionBoard.errors[4103793].message }} -