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
Contact form 7 nice css3 styles

Contact form 7 nice css3 styles

If you are using wordpress and for contact form Contact us 7 plugins then you can use below css3 codes to make that contact form 7 css looks nicer then default one! /*Contact Form 7 CSS Support*/ span.wpcf7-not-valid-tip{display: none !important; } div.wpcf7 .wpcf7-not-valid{ border: 1px solid #F00; margin: 0; } div.wpcf7-validation-errors{ -webkit-box-sizing: border-box; /* Safari/Chrome,[…] Continue Reading

Unique Page Sidebars Is not working
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