WordPress.org

Forums

How do I detect the URL on top of browser (3 posts)

  1. xxxxxcata
    Member
    Posted 7 years ago #

    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 ???

  2. xxxxxcata
    Member
    Posted 7 years ago #

    Help please ....

  3. moshu
    Member
    Posted 7 years ago #

    Maybe this helps: Conditional_Tags

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags