Finding all parent pages in WodPress [Code Snippet]

Sometimes we needs to find all parent pages of current page in WordPress. It is useful to create a breadcrumb. Here is a example code snippet to find all parent pages. <ul class=”page-breadcrumbs”> <li><a href=”<?php echo home_url(); ?>”><?php _e( ‘Home’, ‘mondira’ ) ?></a></li> <?php global $post; $parent_id = $post->post_parent; $breadcrumbs = array(); while ( $parent_id[…] Continue Reading

WordPress sidebars fetching on other cms with wordpress xml rpc
how to make windows form application design looks like windows 7 – Enable Visual Styles

how to make windows form application design looks like windows 7 – Enable Visual Styles

If you see any control visual looks is not just what it was looking on interface design mode (or windows style looks) like below 2 images Then It means you are skipping a method call from System.Windows.Forms Namespaces, that is EnableVisualStyles To Enables visual styles or operating system like controls color, fonts and other visual elements[…] Continue Reading

Returning a value to parent form from sub or popup form with C Sharp .net