Blog

Auto Fill Input Fields for Unique Page Sidebars

When you are developing a website with WordPress and support for Unique Page Sidebars WordPress Plugins then you may noticed when add a sidebar all the widget parameters inputs are empty. Something like the below image Here with this code example you can auto fill the widget parameters. Step 1: include a javascript for WordPress admin[…] Continue Reading →

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

WordPress sidebars fetching on other cms with wordpress xml rpc

Recently I worked on a site which is using wordpress as it’s cms and creloaded as it’s web shop. So the wordpress was top of the shopping cart and then the shopping cart as webshop. So basically I had to develop the site using wordpress and then had to install that creloaded inside woordpress installation.[…] Continue Reading →

wordpress 404 redirect to other url

wordpress 404 redirect to other url

If you are using wordpress as blog of your website blog and you are using other cms as your main website now you want any 404 of wordpress blog will redirect to that other cms 404 page then you use below code example to redirect your wordpress blog 404 page. add_action(‘wp’,’determine_if_fourzerofour_page’); function determine_if_fourzerofour_page(&$arr){ global $wp_query;[…] Continue Reading →

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 →