Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hello!
#1
Hello!

Im new to GS and i was searching some conditional tags! for example IF HOME, or IF INDEX, if page XXXX do this.....

are something similar available?
Reply
#2
suny4you Wrote:Hello!

Im new to GS and i was searching some conditional tags! for example IF HOME, or IF INDEX, if page XXXX do this.....

are something similar available?

It's just php with some functions, e.g. to test for the index page:
Code:
<?php if (return_page_slug() == 'index') { ?> ... <?php } ?>

See the wiki for more information.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply




Users browsing this thread: 1 Guest(s)