Libin
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Display current parent and its sub-menu only on sidebarHey,
I had figure out my problem by using the code below. This code will show the parent’s name also as heading.!
<?php if($post->post_parent) { $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); $titlenamer = get_the_title($post->post_parent); } else { $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); $titlenamer = get_the_title($post->ID); } if ($children) { ?> <h2> <?php echo $titlenamer; ?> </h2> <ul> <?php echo $children; ?> </ul> <?php } ?>Once again thank you esmi for helping me.
Forum: Themes and Templates
In reply to: Display current parent and its sub-menu only on sidebarHey Esmi,
Thank you so much for your help.
Now I am working on a child theme and the following code fix my problem.<?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?>But I need to display the current parent as the title for these sub menus. ie, I need the current parent page’s name as heading. Please help me.
Thank you so much for helping me.Forum: Themes and Templates
In reply to: The 3rd level submenu hides my 2nd levelHey alchymyth,
Thank You so much. That code works perfectly.! I had tested it in all browsers and working fine!
Thank you so much…
Forum: Themes and Templates
In reply to: The 3rd level submenu hides my 2nd levelHey alchymyth,
Thanks for your quick reply.
I am sorry that I am the programmer of Digital Labz LLC. This theme is created by myself based on twentyten.
I am not able to figure out the problem. Please help me.
Forum: Themes and Templates
In reply to: encrypted footer codes in bottom of free wordpress themesHey This link will help you to decrypt the footer.
How to Decrypt an Encrypted eval( (str_rot13() data.
How to Decrypt an Encrypted eval( (str_rot13() data.Hope this will help you
Hey,
To decrypted the code check my blog. There I explained it very well.
Hope that will help you.