how to extend conditional function to sub-sub-pages?
-
Hi everyone!
i want to extend a conditional function tag to sub-sub-pages but i don’t know how (i did before a lot of search but didn’t find nothing). at the moment i have this code that works only at sub-pages:
`if ( (in_category(’29’))||(is_page(‘2007-premiados’)||$post->post_parent==”14″) ) {
echo ‘<div id=”submenu”>
<ul class=”fix”>’;wp_list_cats(‘optioncount=0&child_of=29&orderby=ID’);
echo ‘
</div>’;’how to increase to sub-sub-pages of post_parent==”14″?
thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to extend conditional function to sub-sub-pages?’ is closed to new replies.