php - receive get parameters in url in wordpress -


i make ul menu in wordpress this:

<li><a href="<?php get_page_link(); ?>?show=game" class="android-prim-menu-active">بازی ها</a></li>     <li><a href="<?php get_page_link(); ?>?show=app">app</a></li>     <li><a href="<?php get_page_link(); ?>?show=request">request</a></li>     <li><a href="<?php get_page_link(); ?>?show=report">report</a></li>     <li><a href="<?php get_page_link(); ?>?show=last">live</a></li> 

now, every of these links send get request current page , want handle content received values get request.

how use get method in wordpress? can use $_get["show"] , receive values?

thanks...

use

  $_get["show"]   method , can    echo $_get["show"]    , value 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -