Extra variable to page url? (2 posts)

  1. promich
    Posted 3 years ago #

    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.

  2. vtxyzzy
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic