Support » Fixing WordPress » How do I detect the URL on top of browser

  • Hy,

    I have a top menu with tabs, I have to detect the curent page because I must put a css class to activate the link from the tab menu. I resolved this with pages but I have also a homepage … How do I detect if my URL is / or /index.php ???

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I detect the URL on top of browser’ is closed to new replies.