Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sidebars for child pages if statement
#2
texaswalker Wrote:Lets say I have a parent page and multiple sub pages, how would I go about to display that same sidebar for each of the sub pages?

Code:
<?php if (return_parent()=='myparent') get_i18n_component('mycomponent'); ?>
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Sidebars for child pages if statement - by mvlcek - 2012-06-10, 16:23:12



Users browsing this thread: 1 Guest(s)