Support » Fixing WordPress » Extra variable to page url?

  • promich

    (@promich)


    Good evening everybody,

    I have a little issue and I need your help. The thing is, that i need to modify page link url from header menu, so I can pass extra variable through it.

    The exact example: When I create a page in wordpress, it’s default url is http://localhost/wordpress/?page_id=2. All I need is to pass extra variable, so when I click o the created page in menu, it opens like this – http://localhost/wordpress/?page_id=2?option=services

    Is there any chance to do that? I made few divs showing up and hiding depending on url variable option.

    Thanks very much.

Viewing 1 replies (of 1 total)
  • If you only want to change the entry in the menu, you can use a Custom Link instead of just the Page, and enter any URL you wish.

Viewing 1 replies (of 1 total)
  • The topic ‘Extra variable to page url?’ is closed to new replies.