Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get_grandparent ?!
#4
If I understand correctly, you'd like to have something like:


PHP Code:
<?php if( hasParent('test') || return_page_slug() == 'test'get_component('sidebar-test'); ?>

?
Reply


Messages In This Thread
get_grandparent ?! - by stwneu - 2015-08-27, 17:41:54
RE: get_grandparent ?! - by bluzer - 2015-08-28, 05:41:56
RE: get_grandparent ?! - by stwneu - 2015-09-02, 17:38:35
RE: get_grandparent ?! - by Everyone - 2015-09-02, 18:23:18
RE: get_grandparent ?! - by stwneu - 2015-09-02, 20:25:51
RE: get_grandparent ?! - by Carlos - 2015-09-02, 21:15:47



Users browsing this thread: 1 Guest(s)