When we are using pretty urls, how can we give any conditions which based on page id?
In my site, I am displaying different widget content depending upon page id, so anyone can tell me how we can use this conditions when using pretty urls?
When we are using pretty urls, how can we give any conditions which based on page id?
In my site, I am displaying different widget content depending upon page id, so anyone can tell me how we can use this conditions when using pretty urls?
Are you saying a conditional tag such as is_page('42') is not working?
Related:
* http://wordpress.org/extend/plugins/slayers-custom-widgets
* http://wordpress.org/extend/plugins/widget-logic
* http://wordpress.org/extend/plugins/display-widgets
* http://wordpress.org/extend/plugins/widget-context
* http://wordpress.org/extend/plugins/dynamic-widgets/
* http://wordpress.org/extend/plugins/widgets-on-pages/
Hey thanks Michael!
That was my fault, it was not working because I was using $_GET['page_id'], but now its working.
Thanks for quick reply and to solve my problem.
Arpita
This topic has been closed to new replies.