<?php if ($current_page == \"gallery\") { ?><link rel=\"stylesheet\" type=\"text/css\" href=\"css/gallery.css\" /><?php } ?>
<?php $current_page = \"gallery\"; ?>
<?php if (is_page()) { ...stufff...<?php } ?>
<?php if (is_single()) { ?> ...stufff...<?php } ?>
<?php if ($current_page == \"gallery\") { ?><link rel=\"stylesheet\" type=\"text/css\" href=\"css/gallery.css\" />
<?php } ?>
And this in the page:
I've tried that but it's not working in wordpress. Any ideas?
<?php if (is_page()) {
...stufff...
<?php } ?>
Here it is for anyone else who wants to know:
<?php if (is_single()) { ?>
...stufff...
<?php } ?>
Thanks a lot Chris.